以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  苹果手机AddSelect显示问题  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=132784)

--  作者:nblwar
--  发布时间:2019/3/29 16:13:00
--  苹果手机AddSelect显示问题
苹果手机AddSelect显示问题

图片点击可在新窗口打开查看此主题相关图片如下:苹果垃圾.jpg
图片点击可在新窗口打开查看

列表不会自动换行,后面的看不到



--  作者:有点甜
--  发布时间:2019/3/29 16:41:00
--  

参考到代码

 

Select Case e.Path
    Case "test.htm", ""
        Dim wb As New weui
        wb.AddForm("","form1","test.htm")
        With wb.AddInputGroup("form1","ipg1","列表项目")
            .AddSelect("os","操作系统","test1|iOS|Windo都爱速度覅uasidasdiuf扩大偶isdiufaosdifasdifuws|Andriod|test2")
            \'.AddSelect("bw","浏览器","Chorme|[Edge]|Firefox|Internet Explorer")
        End With
        \'wb.InsertHTML("<Select class=\'weui_select\'><optgroup><option value=\'0\'>全部</option><option value=\'1\' title=\'\'>s\'d\'k\'fo\'a\'su\'di\'fo\'a\'su\'dfia\'usdo啊送到123 啊啥都发啊送抵付啊ask大家覅速度发ad\'ku\'fia\'s\'du\'f </option></optgroup></Select>")
        With wb.AddButtonGroup("form1","btg1",True)
            .Add("btn1", "确定", "submit")
        End With
        Dim str As String = wb.build
        str = str.replace("<option>test1</option>", "<optgroup>").replace("<option>test2</option>", "</optgroup>")
        e.WriteString(str) \'生成网页
End Select