Foxtable(狐表)用户栏目专家坐堂 → AddListGroup”不是“ExWeUI.WebUI”的成员


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

主题:AddListGroup”不是“ExWeUI.WebUI”的成员

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


加好友 发短信
等级:九尾狐 帖子:2482 积分:22932 威望:0 精华:0 注册:2011/3/29 17:14:00
AddListGroup”不是“ExWeUI.WebUI”的成员  发帖心情 Post By:2022/5/3 12:21:00 [显示全部帖子]

 ---------------------------
错误
---------------------------
编译错误:“AddListGroup”不是“ExWeUI.WebUI”的成员。错误代码:With ExWeUI.WebUI.AddListGroup("","lst01",1)
---------------------------
确定

Dim wb As New WeUI '定义一个基于weui框架的网页生成器
wb.AppendHTML("<link rel='stylesheet' href='./weui/exweui.css'/>",True)
wb.AppendHTML("<script src='./weui/exweui.js' ></script>",True)

With ExWeUI.WebUI.AddListGroup("","lst01",1)
    For i As Integer = 1 To 4
        With .AddList("数据管理","http://www.itcasa.cn/pic/zxsgpic/ZY-B木作展厅\ZY-B木作展厅\MZ2A-02.jpg")
            With  .LeftFooter
                .AddFoot("¥49.00").Attribute = "style='color:red;font-size:15px'"
                .AddFoot("¥99.00").Attribute = "style='font-size:12px;text-decoration: line-through;'"
            End With
            .RightFooter.AddFoot("加入购物车").Attribute = " style='color:blue;'"
        End With
    Next
    
    wb.InsertHTML(.BuildHtml)
End With
wb.AppendHTML("<script src='./weui/exweui.js' ></script>")
e.WriteString(wb.Build) 


其他用 exweui 是OK的

 回到顶部