Foxtable(狐表)用户栏目专家坐堂 → [求助]WeUI中的List问题,可扩展性较小


  共有2059人关注过本帖树形打印复制链接

主题:[求助]WeUI中的List问题,可扩展性较小

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2018/3/7 16:10:00 [显示全部帖子]

        Dim wb As New weui
        With wb.AddListGroup("", "lsg2", "<label style='color:red'>增加图标的列表</label>")    '如何设置标题"增加图标的列表"的样式??
            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")

            End With
        End With
        wb.InsertHTML("<script>var img = document.querySelectorAll('#ls3 img')[0];img.setAttribute('width', '10px');img.setAttribute('height', '10px')</script>")
        e.WriteString(wb.Build)


 回到顶部