Select Case e.Path
Case "logon.htm"
Functions.Execute("logon", e)
Case "check.htm"
Functions.Execute("check", e)
Case "exit.htm" '退出登录
Functions.Execute("exit", e)
Case "default.htm", "" '首页
Functions.Execute("default", e)
Case "addnew.htm"
Functions.Execute("addnew", e) '分页显示
Case "renamecx.htm"
Functions.Execute("renamecx", e) '分页显示
Case "getsr.htm"
Functions.Execute("getsr", e) '分页显示
Case "renamecx_name.htm"
Functions.Execute("renamecx_name", e) '分页显示
Case "del.htm"
Functions.Execute("del", e)
Case "zdzs.htm"
Functions.Execute("zdzs", e)
Case "ksfilter.htm"
Functions.Execute("ksfilter", e)
Case "kslist.htm"
Functions.Execute("kslist", e)
Case "fzfilter.htm"
Functions.Execute("fzfilter", e)
Case "fzlist.htm"
Functions.Execute("fzlist", e)
Case "receive.htm"
Functions.Execute("receive", e)
Case "changepassword.htm"
Functions.Execute("changepassword", e)
Case "zd_qiye.htm"
Functions.Execute("zd_qiye", e)
Case "zd_guanyuan.htm"
Functions.Execute("zd_guanyuan", e)
Case "zd_denglunyaoqiu.htm"
Functions.Execute("zd_denglunyaoqiu", e)
Case "submit.htm"
Functions.Execute("submit", e)
Case "fagui.htm" '法规展示用 与原系统无关
Functions.Execute("fagui", e)
Case "tongji.htm"
Functions.Execute("tongji", e)
Case "renamecx_name_out.htm"
Functions.Execute("renamecx_name_out", e)
End Select
以下是logon函数:
Dim e As RequestEventArgs = args(0)
Dim wb As New weui
wb.AddPageTitle("", "pageheader", "入出境船舶卫生检疫智能云享平台")
wb.InsertHTML("<style>.fox_page_header{background-color: SteelBlue;}</style>") '设置页面颜色
wb.InsertHTML("<style>.fox_page_subtitle{color:white;}</style>") '设置项目信息化管理系统字体颜色
'wb.InsertHTML("<style>.fox_page_subtitle{font-size:16px;}</style>") '设置项目信息化管理系统字体大小
wb.InsertHTML("<h3 align='center' style='margin-top:5px'>用户登录</h3>") '增加用户登录Lable
wb.AddForm("", "form1", "check.htm")
With wb.AddInputGroup("form1", "ipg1")
.Attribute = "style='margin-top:0.3em'" '调整顶端距离
.AddInput("用户账号", "用户账号", "text")
.AddInput("用户密码", "用户密码", "password")
End With
With wb.AddButtonGroup("form1", "btg1", False) 'True) 'False为水平排列
.Add("btn1", "登录", "submit")
End With
e.WriteString(wb.Build)