Commit 43578968 authored by 季圣华's avatar 季圣华
Browse files

验证失败后重置验证码

parent 3739bd2d
......@@ -714,7 +714,7 @@ input.inputstyle:hover{
border:none;
font-family:Arial, Helvetica, sans-serif;
background:url(../images/bg_logininout.jpg) no-repeat;
left: 118px;
left: 120px;
top: 84px;
}
#user_pwd{
......@@ -726,7 +726,7 @@ input.inputstyle:hover{
border:none;
font-family:Arial, Helvetica, sans-serif;
background:url(../images/bg_logininout.jpg) no-repeat;
left: 118px;
left: 120px;
top: 118px;
}
#user_pwd_repeat{
......@@ -738,7 +738,7 @@ input.inputstyle:hover{
border:none;
font-family:Arial, Helvetica, sans-serif;
background:url(../images/bg_logininout.jpg) no-repeat;
left: 118px;
left: 120px;
top: 152px;
}
#user_captcha{
......@@ -750,7 +750,7 @@ input.inputstyle:hover{
border:none;
font-family:Arial, Helvetica, sans-serif;
background:url(../images/bg_logininout.jpg) no-repeat;
left: 118px;
left: 120px;
top: 186px;
}
#imgCaptcha{
......
......@@ -32,7 +32,7 @@
<input type="password" id="user_pwd"/>
<input type="password" id="user_pwd_repeat"/>
<input type="text" id="user_captcha"/>
<div id="imgCaptcha"></div>
<div id="imgCaptcha" title="点击刷新验证码"></div>
<p id="tip_username" style="display: none"><span class="error_input">用户名不正确</span></p>
<p id="tip_userpwd" style="display: none">密码不能为空</p>
<div class="register_btn">
......@@ -77,6 +77,7 @@
location.href = "login.html";
} else {
alert(res.msg);
verifyCode.refresh(); //刷新
}
},
//此处添加错误处理
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment