以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  为什么TabBar的按钮跳转链接必须设定图片路径?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=104853)

--  作者:i4whylg
--  发布时间:2017/8/7 2:17:00
--  为什么TabBar的按钮跳转链接必须设定图片路径?
Select Case e.Path
    Case "addnew.htm",""
        Dim wb As New weui
        wb.AppendHTML("<style>.weui_tabbar_label{font-size:20px}</style>")
        With wb.AddTabBar("", "tb1", 1)
            .AddPage("page1","取证考核申请","")       
            .AddButton("page2","复审考核申请","","/test.htm")  \'这时点击按钮无法跳转;加上图片路径如.AddButton("page2","复审考核申请","./images/button.png","/test.htm") 就能跳转到/test.htm
        End With
End Select


--  作者:有点甜
--  发布时间:2017/8/7 9:58:00
--  

 

.AddButton("page2","复审考核申请","").Attribute="onclick=""location=\'test.htm\'"""