Foxtable(狐表)用户栏目专家坐堂 → 为什么TabBar的按钮跳转链接必须设定图片路径?


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

主题:为什么TabBar的按钮跳转链接必须设定图片路径?

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


加好友 发短信
等级:童狐 帖子:279 积分:3155 威望:0 精华:0 注册:2014/2/19 10:32:00
为什么TabBar的按钮跳转链接必须设定图片路径?  发帖心情 Post By:2017/8/7 2:17:00 [只看该作者]

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


 回到顶部
帅哥哟,离线,有人找我吗?
有点甜
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2017/8/7 9:58:00 [只看该作者]

 

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


 回到顶部