cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${common_static}/static/ui/bind/css/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="${common_static}/static/ui/utilfunc/css/utilfunc.css" />
<script type="text/javascript" src="${common_static}/static/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${common_static}/static/ui/utilfunc/js/utilfunc.js"></script>
<title>微信账号绑定</title>
<script type="text/javascript">
    [#if err??]
        var err = '${err}';
        $(function() {
            window.top.popupTips(err);
        });
    [/#if]
 
    function checkForm(){
           var username = document.getElementById("username");
           var name = username.value;
           if(name.length == 0) {window.top.popupTips("请输入用户名");username.select();return; }
           
           var rwPwd = document.getElementById("rePwd").value;
           if(rwPwd.length == 0){ window.top.popupTips("请输入密码!");rwPwd.select();return; }
           document.getElementById('myform').submit();
       }
       
       $(function() {
             $(document).keyup(function(event) {
          if(event.keyCode==13) {
             checkForm();
          }
    });
       })
</script>
</head>
 
<body>
<div class="binding_top_wrap">
<div class="binding_top">
<a><img src="${common_static}/static/ui/bind/images/find-password-logo.gif" width="247" height="48" alt=""/></a>
<div class="sub-name">微信绑定</div>
</div>     
</div>
<div class="binding_content">
<div class="prompt">绑定微信账号可以使用第三方微信号直接登录我们的系统,可以让您更加方便、快捷!</div>
<form action="${base}/business/wechatBind.html" method="post" id="myform"> 
<input type="hidden" name="openid" value="${openid}"/>
<input type="hidden" name="nickname" value="${nickname}"/>
<div class="enter-box"><label>微信昵称:</label>
 <span>${nickname}<span>
</div>
<div class="enter-box"><label>用户名:</label>
 <span><input type="text" name="username" id="username" value="${username}"/><span>
</div>
<div class="enter-box"><label>密 码:</label>
 <span><input type="password" name="password" id="rePwd" value="${password}" /><span>
</div>
<input type="button" value="绑定微信" class="binding-buttom" onclick="checkForm();"/>
</form>
</div>
[#include "/business/pages/include/bindFooter.html" ]
 
 
</body>
</html>