Foxtable(狐表)用户栏目专家坐堂 → weui框架下如何收藏图片


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

主题:weui框架下如何收藏图片

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


加好友 发短信
等级:超级版主 帖子:110669 积分:563259 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/6/18 13:36:00 [显示全部帖子]

换一种思路,比如:

Select Case e.Path
    Case "test.htm"
        Dim wb As New weui
        wb.AddForm("","form1","test.htm")
        With wb.AddInputGroup("form1","ipg1","")
            .Attribute = "style=""margin-top:0px"""
            .AddSwitch("i1","收藏图片1")
        End With
        With wb.AddArticle("form1","ar1")
            .AddImage("./images/001.jpg")
        End With
        With wb.AddInputGroup("form1","ipg2","")
            .Attribute = "style=""margin-top:0px"""
            .AddSwitch("i2","收藏图片2")
        End With
        With wb.AddArticle("form1","ar2")
            .AddImage("./images/003.jpg")
        End With
        With wb.AddButtonGroup("form1","btg1",True)
            .Add("btn1", "确定", "submit")
        End With
        e.WriteString(wb.Build) '生成网页
End Select

 回到顶部