Rss & SiteMap

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

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

标题:page页面html

1楼
ycs5801 发表于:2024/7/11 14:30:00
Dim e As Object = args(0)
Dim wb As New weui

wb.AppendHTML("<link rel='stylesheet' href='./weui/exweui.css'/>", True) 
wb.AppendHTML("<script src='./weui/exweui.js' ></script>", True)


With wb.AddTabBar("", "tb1", 0) 
    .AddPage("page1", "欢迎选课").Attribute = "style='height:100%'" '这个style必须设置,不然无法返回页面
    .AddPage("page2", "个人信息")

End With
wb.AddForm("page1", "form1", "select.htm")

With wb.AddButtonGroup("form1", "btn", False)
    With .Add("btn1", "团课", "button") '自定义按钮
        .Attribute = """
    End With   
    With .Add("btn2", "精品课", "button")
        .FormAction = ""
        .Attribute = """
    End With
    With .Add("btn3", "私教课", "button")
        .FormAction = ""
        .Attribute = """
    End With 
End With


'wb.InsertHTML("form1", "<h5 style='margin-top: 0px;line-height: 40px;font-size:14px;font-weight:300'>&emsp;排课日期</h5>") '增加用户登录Lable
'*********************************以下为日历控件*****************************
Dim s As String = FileSys.ReadAllText(ProjectPath & "web\lib\yuwen.txt")
wb.InsertHTML("form1", s)
'*********************************以上为日历控件*****************************
wb.AppendHTML("<div id='p1' style='margin:0.5em'></div>") '插入一个div,用于显示返回的课程表

  


wb.AppendHTML("<script src='./lib/anniu.js'></script>") '引入脚本文件
wb.AppendHTML("<script>autoclick()</script>") '自动运行js函数
wb.AppendHTML("<script>initExWeUI();</script>") 
e.WriteString(wb.Build)

怎样将黄色部分的“p1”加入到page1中?
2楼
有点蓝 发表于:2024/7/11 14:32:00
http://www.foxtable.com/mobilehelp/topics/0097.htm

wb.InsertHTML("page1","<div id='p1' style='margin:0.5em'></div>")
共2 条记录, 每页显示 10 条, 页签: [1]

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

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