Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:标签页DataUrl 问题

1楼
shyilin 发表于:2024/12/29 10:58:00
wb.AppendHTML("<link rel='stylesheet' href='./weui/exweui.css'/>", True)
wb.AppendHTML("<script src='./weui/exweui.js' ></script>", True)
With wb.AddButtonGroup("", "btg2", False)
    .Add("btnAdd1", "返回首页", "", "default.htm")
End With

With ExWeUI.WebUI.AddTabsGroup("", "tg01")
    .Attribute = "style = 'line-height: 45px;background-color:#1485ee;color:#fff'"
    .ActiveColor = "red"
    With .AddPage("tab01", "库存查询", True)  '进入页面时候这个网页不显示,选择了下面这个页面后这个页面才显示
        .DataUrl = "xy_getkucx.htm"
    End With
   
    With .AddPage("tab02", "检测查询")
        .DataUrl = "xy_getjccx.htm"     
    End With 
    
    wb.InsertHTML(.BuildHtml)
End With
wb.AppendHTML("<script src='./lib/htht.js'></script>")
wb.AppendHTML("<script src='./lib/xy_kcjccx.js'></script>")
wb.AppendHTML("<script>initExWeUI();</script>")'引入脚本文件
e.WriteString(wb.Build)
2楼
有点蓝 发表于:2024/12/29 20:12:00
方法1、需要默认显示的tab,直接设置Content 属性
2、调用js函数设置显示页面
wb.AppendHTML("<script>initExWeUI();ex_tabClick('tab01')</script>") 
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .01563 s, 2 queries.