Foxtable(狐表)用户栏目专家坐堂 → page页面html


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

主题:page页面html

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


加好友 发短信
等级:五尾狐 帖子:1068 积分:7624 威望:0 精华:0 注册:2009/6/24 9:44:00
page页面html  发帖心情 Post By: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中?

 回到顶部