以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- [求助]WeUI中的List问题,可扩展性较小 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=115461) |
||||
-- 作者:黄训良 -- 发布时间:2018/3/7 15:38:00 -- [求助]WeUI中的List问题,可扩展性较小 WeUI中的List问题,可扩展性小,问题见红字体! 例子:
Select Case e.Path Case "","logon.htm" Dim wb As New WeUI With wb.AddListGroup("", "lsg2", "增加图标的列表") \'如何设置标题"增加图标的列表"的样式?? \' .Attribute = "style=\'color:blue;" With .Add("ls3","新浪主页", "163.com","http://www.foxtable.com/","/images/bit06.gif") \'如何设置这个图标的大小(与字体大小相适应)? .Attribute = "style=\'color:blue;font-size:10px;" \'加上这个样式,跳转连接就失效!!! End With With .Add("ls4","网易主页", "sina.com","http://www.foxtable.com/","/images/bit06.gif") \' .Attribute = "style=\'color:blue;font-size:10px;" End With End With e.WriteString(wb.Build) End Select
|
||||
-- 作者:有点甜 -- 发布时间:2018/3/7 16:10:00 -- Dim wb As New weui End With |
||||
-- 作者:黄训良 -- 发布时间:2018/3/7 17:19:00 -- 谢谢! 要是在weui.me.js中修改,增加weui_cell_hd、 weui_cell_bd、weui_cell_fd的Attribute,Foxtable的代码就简洁了!
|