以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  移动开发- 其他按钮  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=113410)

--  作者:一笑
--  发布时间:2018/1/15 16:31:00
--  移动开发- 其他按钮
根据帮助文档,WeUI框架下按钮样式基本固定,请教可否设置其他类型按钮,比如后退箭头按钮,按钮可否透明和加入图标等,谢谢!
--  作者:有点甜
--  发布时间:2018/1/15 16:40:00
--  

你可以任意的添加图片的如

 

Select Case e.Path
    Case "test.htm",""
       Dim wb As New WeUI
        wb.AddForm("","form1","addnew.htm")
        With wb.AddInputGroup("form1","ipg1","新增订单")
            .AddSelect("cp","产品","PD01|PD02|PD03|PD04|PD05")
            .AddInput("gy","雇员","text")
            .AddInput("kh","客户","text")
            .AddInput("dj","单价","number")
            .AddInput("zk","折扣","number")
            .AddInput("sl","数量","number")
            .AddInput("rq","日期","date")
        End With
        wb.InsertHTML("form1","<center><img src=\'./images/001.jpg\' width=\'50px\' height=\'50px\' onclick=\'form1.submit()\'></img></center>")

        e.WriteString(wb.Build)
End Select