Foxtable(狐表)用户栏目专家坐堂 → weui动态浏览图片五张只显示一张。


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

主题:weui动态浏览图片五张只显示一张。

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


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

代码没有问题,或者试试

Dim dr As DataRow = DataTables("表1").DataRows(0)
Dim Multi As List(of String) = dr.Lines("单据图片")
Select Case e.Path
    Case "test.htm"
        Dim wb As New weui
        wb.AddForm("","form1","test.htm")
        With wb.AddInputGroup("form1","ipg1","客户资料")
            .AddInput("姓名","姓名","text").value = "舒淇"
            .AddInput("地点","地点","text").Value = "蒙古草原"
            .AddInput("日期","日期","date").value = #10/12/2012#
            With .AddUploader("up1","",True)
                .AllowAdd = False '关闭文件上传功能
                For Each file As String In Multi
                    msgbox(file)
                    .AddImage("./images/" & file )
                Next
            End With
        End With
        e.WriteString(wb.Build) '生成网页
End Select

 回到顶部