dhz
2022-06-22 4d198cd78684d17c849b0bd7d323894009ca17f5
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!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>
<link href="${common_website_static}/static/plugins/validform/css/validform.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${common_website_static}/static/script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${common_website_static}/static/plugins/validform/js/validform.js"></script>
<link href="${common_website_static}/static/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/ui/utilfunc/js/utilfunc.js"></script>
<title>${Constants.company_name}</title>
<style>
  .common{
   height:29px;
   line-height:29px;
   text-align:center;
   padding:0px 6px ;
   background:url(${common_static}/static/images/register_03.gif);
   border:1px solid #d4d4d4;
   display:inline-block;
  }
  .qd_btn{ 
  background:url(${common_static}/static/images/zhpwd_05.gif) no-repeat; 
  width:108px; 
  height:33px; 
  line-height:32px; 
  text-align:center; 
  color:#fff; 
  margin-left:60px; 
  font-size:12px; 
  margin-top:5px;
  float:left;  
  padding:0;  
  cursor:pointer; 
  margin-right:27px; 
  _margin-right:0; 
  border:medium none;
  }
 
</style>
<script type="text/javascript">
var phone='${user.SJHM}';
var email='${user.EMAIL}';
$(function() {
    $("#findPwdform").Validform({tiptype:3,btnSubmit:"#submitBtn"});
    
})
 
function yanzhengPhone(){
   var type = "";
   var typename = "";
        if($("#email").attr("checked")){
            type = "1";
            typename = email;
        }else{
            type = "2";
            typename = phone;
        }
        $("#yzmJzbtn").show();
        $("#yzm").hide();
        caluTime();
        $.post("${base}/business/sendfindpwd.html",{"typename":typename,"type":type},function(data,textStatus) {
            if(data==0) {
               window.top.popupTips("发送成功");
            } else {
                window.top.popupTips("发送失败");
                $("#yzmJzbtn").hide();
                  $("#yzm").show();
            }
        })
            
        
    }
    
var intervalId;
var totalSecond = 120;
var i = totalSecond;
$(function() {
 
$("#timestr").html(totalSecond);
})
function reduceTime() {
  if(i>=1) {
      i = i-1;
  }
  if(i>0) {
      $("#timestr").text(i);
  } else {
        $("#yzmJzbtn").hide();
      $("#yzm").show();
      clearInterval(intervalId);
      $("#timestr").text(totalSecond);
      i = totalSecond;
  }
}
 
function caluTime() {
    intervalId = setInterval("reduceTime()",1000);
}
function clearNum(){
    $("#phoneRandom").val('');
}
</script>
</head>
<body>
<div class="top">
  <div class="logo"><a class="yun_logo" href="#">${Constants.company_name}</a></div>
  <div class="addition">
    <p style="background:url(${base}/static/images/index_dl_06.gif) no-repeat; height:29px; width:189px;margin-top:11px;"></p>
  </div>
</div>
<div class="zhpwd">
<h1><font><a href="${base}/business/login.html">返回登陆页面</a></font>找回密码</h1>
  <div class="zhpwd_cont">
    <ul class="zhpwd_sub">
      <li class="zhpwd_sub_list1"> 1.确认账号 </li>
      <li  class="zhpwd_sub_list2 list2-active ">2.身份验证</li>
      <li  class="zhpwd_sub_list3">3.重置密码</li>
    </ul>
    [#if user.ISEMAIL !=2 &&user.ISPHONE !=2]
    <p>您暂未绑定手机或邮箱地址,请您联系我们的客服!</p>
    [#else]
    <form action="${base}/business/confirmCheck.html" method="post" id="findPwdform">
    <div class="zcuser"> <span>验证方式:</span>
      [#if user.ISEMAIL ==2 ]<input class="sendtype" id="email" name="type" type="radio" value="1" checked/>邮箱[/#if]
    [#if user.ISPHONE ==2 ]<input class="sendtype" id="phone" name="type" type="radio" value="2" [#if user.ISEMAIL !=2 ]checked[/#if]/>手机[/#if]
      </div>
      <div class="zcuser"> <span>验证码:</span>
      <input class="zc_txt" name="checkCode" type="text" datatype="n6-6" nullmsg="请输入验证码" errormsg="验证码不正确" sucmsg="验证通过" ajaxurl="${base}/business/checkfindpwdCode.html"/>
      &nbsp;<a class="common" id="yzm" style="cursor:pointer;" onclick="return yanzhengPhone();">获取验证码</a>
      <a class="common" style="display:none;" id="yzmJzbtn"><lable id="timestr">120</lable>秒后重新获取</a>
      <b style="height:30px; line-height:30px;" class="Validform_checktip" style="width:100px;"></b>
      </div>
      <div class="zcuser">
      <input class="qd_btn" name="" value="确定" type="button" id="submitBtn"/>
      </div>
      </form>
    [/#if]
  </div>
</div>
</body>
</html>