Foxtable(狐表)用户栏目专家坐堂 → 网页不显示


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

主题:网页不显示

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:107813 积分:548416 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/7/25 11:00:00 [显示全部帖子]

……
'开始生成网页
Select Case e.path
    Case "logon.htm" '登录页面
        wb.AddPageTitle("","pageheader","数据系统","有限公司")
        If e.PostValues.ContainsKey("username") AndAlso e.PostValues.ContainsKey("password")  Then '判断是否是验证失败后的重新登录
            wb.AddTopTips("","toptip1","用户名或密码错误!").msec = 2000 '如果用户通过登录按钮访问,则给用户一个2秒的提示.
        End If
        wb.AddForm("","form1","logon.htm")
        With wb.AddInputGroup("form1","ipg1")
            .AddInput("username","户名","text")
            .AddInput("password","密码","password")
        End With
        With wb.AddButtonGroup("form1","btg1",True)
            .Add("btn1", "登录", "submit")
        End With
        e.WriteString(wb.Build) '生成网页
    Case "exit.htm" '退出登录
        wb.DeleteCookie("username") '清除cookie中原来的用户名和密码
        wb.DeleteCookie("password")
        wb.InsertHTML("<meta http-equiv='Refresh' c>") '然后直接跳转到登录页面
        e.WriteString(wb.Build) '生成网页
    Case "", "default.htm" '首页
        wb.AddPageTitle("","pageheader","房产数据系统","有好房实业(惠州)有限公司")
        With wb.AddGrid("","g1")
            .Add("c1","房源管理", "./images/button.png", "fylb.htm")
            .Add("c2","房源添加", "./images/cell.png", "fyxz.htm")
            .Add("c3","销售统计", "./images/toast.png").Attribute = ""
            .Add("c4","客户管理", "./images/dialog.png", "khlb.htm")
            .Add("c5","客户添加", "./images/progress.png", "xzkh.htm")
            .Add("c6","跟进情况", "./images/msg.png", "khlb.htm")
            .Add("c12","退出", "./images/exit.png", "exit.htm") '退出登录
        End With
        e.WriteString(wb.Build) '生成网页
    Case "xzkh.htm"
        Functions.Execute("xzkh",e)
    Case "xgkh.htm"
        Functions.Execute("xgkh",e)
    Case "xzgj.htm"
        Functions.Execute("xzgj",e)
    Case "zd.htm"
        Functions.Execute("zd",e)
    Case "qxzd.htm"
        Functions.Execute("qxzd",e)
    Case "khlb.htm"
        Functions.Execute("khlb",e)
    Case "fyxz.htm"
        Functions.Execute("fyxz",e)
    Case "fylb.htm"
        Functions.Execute("fylb",e)
End Select


 回到顶部