以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]Panel 只能显示两行文字  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=126719)

--  作者:eauacqua
--  发布时间:2018/10/27 9:34:00
--  [求助]Panel 只能显示两行文字
用weui开发,想用Panel显示通知或公告之类的文字信息,但是只能显示两行文字,请问怎么修改显示多行文字?
或者有其他比较好方式?

--  作者:有点蓝
--  发布时间:2018/10/27 10:05:00
--  
1、使用article:http://www.foxtable.com/mobilehelp/scr/0079.htm

2、改一下样式

        Dim wb As New WeUI
        wb.AppendHTML("<style>.weui_media_box .weui_media_desc{display: block;}</style>",True)
        Dim txt As String = "由各种物质组成的巨型球状天体,叫做星组成的巨型球状天体,叫做星球.."
        With wb.AddPanelGroup("","pg1","图文组合列表")
            .Add("pn1","标题一",txt,"./images/button.png","http://www.foxtable.com")
            
            With .Add("pn2","标题二",txt,"./images/search.png") \'带子链接
                .AddFoot("文字来源")
                .AddFoot("时间")
                .AddFoot("|其他信息","http://www.foxtable.com")
            End With
        End With

--  作者:eauacqua
--  发布时间:2018/10/27 10:54:00
--  
搞定,感谢甜版