<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BindUser.aspx.cs" Inherits="eFrameWork.WeChat.BindUser" %><!DOCTYPE html>
<html>
<head>
    <title><%=eConfig.ApplicationTitle(eBase.getSiteID()) %></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0,uc-fitscreen=yes" />
    <meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/>  
    <link href="../Plugins/Theme/default/mobile/base.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" /><!-- 移动端基础样式-->
    <link href="../Plugins/eControls/default/mobile/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" /><!-- eFrameWork控件样式-->
    <link href="../Plugins/Theme/default/mobile/style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" /><!--移动端样式-->
    <link href="style.css?ver=<%=Common.Version %>" rel="stylesheet" type="text/css" /><!--移动端样式-->
    <script src="../Scripts/jquery.js?ver=<%=Common.Version %>" type="text/javascript"></script>
    <script src="../Plugins/layui226/layui.all.js" type="text/javascript"></script>
    <script src="../Scripts/eketeam.js?ver=<%=Common.Version %>" type="text/javascript"></script>
    <script src="../Plugins/Theme/default/mobile/layout.js?ver=<%=Common.Version %>" type="text/javascript"></script>
    <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
</head>
<script>
    function getrnd(type) {
        if (type == 0 && document.getElementById("rndpic").src.indexOf("none.gif") == -1) {
            return;
        }
        document.getElementById("rndpic").src = "../Plugins/RndPic.aspx?t=" + now();
    };
</script>
<style>
.info {  height: 120px;}
.wapper .title {font-size: 18px;}
.ctrltitle {line-height:50px;color:#666;font-size:16px;}
.ctrlbody input {border: 1px solid #cccccc;border-radius:5px;appearance: none;outline: none;background-color: #fff;width:100%;overflow: hidden;padding:1px 5px 1px 5px;height: 36px;line-height: 36px;font-size: 16px;}
.ctrlbody input:hover{border: 1px solid #40a9ff;-webkit-box-shadow: 0 0 0 2px rgba(24,144,255,0.2);box-shadow: 0 0 0 2px rgba(24,144,255,0.2);}
.btn{width: 100%;height: 40px;line-height: 40px;padding: 0 12px;border-radius: 4px;box-sizing: border-box;text-align: center;border-color: #b5d3fe;background-color: #b5d3fe;color: #fff;font-size: 18px;font-weight: bold;cursor: pointer;border:none;background-image: linear-gradient(45deg, #0082f0 0%, #47b1fa 100%);color: #fff;}
.btn2{background:none;background-color: #eee;color: #666;}
</style>
<body>
<asp:Literal id="litMsg" runat="server" />
<%if (Session["WeChat_UserInfo"] != null)
      { %>
<div class="wapper">
<div class="title"><%=eConfig.CompanyName() %></div>
</div>
<div class="info">
<img class="face" src="../images/head.png" onerror="this.src='images/touch-icon.png';">
<div class="name" style="margin-top:10px;">绑定已有帐号</div>
</div>

<div style="width:90%;background-color:#fff;border-radius: 9px;margin:0 auto;">
    <div style="margin-top:25px;padding:15px;">      
        <form name="form1" method="post" action="" onSubmit="return checkfrm(this);">
        <div class="ctrltitle">登陆帐号</div>
        <div class="ctrlbody"><input type="text"  name="yhm"  id="yhm" notnull="true" fieldname="登陆帐号" autocomplete="off" ></div>
        <div class="ctrltitle">登录密码</div>
        <div class="ctrlbody"><input type="password"  name="mm"  id="mm" notnull="true" fieldname="登录密码" autocomplete="new-password" ></div>
        <div class="ctrltitle">验证码</div>
        <div class="ctrlbody">
            <input type="tel"  name="yzm" id="yzm"  style="width:93px;vertical-align:middle;" notnull="true" fieldname="验证码" onFocus="getrnd(0);" autocomplete="off" >
             <img id="rndpic" style="cursor:pointer;" onClick="getrnd(1);" height="23" src="../images/none.gif"  align="absMiddle" border="0">
        </div>
        <div style="margin:30px 0px 0px 0px;"><input type="submit" name="Submit" class="btn" value="绑定帐号"></div>
        <div style="margin:30px 0px 0px 0px;"><a class="btn btn2" href="BindChoose.aspx?fromURL=<%=HttpUtility.UrlEncode(_fromURL) %>">返回</a></div>
        </form>        
    </div>
</div>
<%} %>
</body>
</html>