验证失败后重置验证码
This commit is contained in:
@@ -714,7 +714,7 @@ input.inputstyle:hover{
|
|||||||
border:none;
|
border:none;
|
||||||
font-family:Arial, Helvetica, sans-serif;
|
font-family:Arial, Helvetica, sans-serif;
|
||||||
background:url(../images/bg_logininout.jpg) no-repeat;
|
background:url(../images/bg_logininout.jpg) no-repeat;
|
||||||
left: 118px;
|
left: 120px;
|
||||||
top: 84px;
|
top: 84px;
|
||||||
}
|
}
|
||||||
#user_pwd{
|
#user_pwd{
|
||||||
@@ -726,7 +726,7 @@ input.inputstyle:hover{
|
|||||||
border:none;
|
border:none;
|
||||||
font-family:Arial, Helvetica, sans-serif;
|
font-family:Arial, Helvetica, sans-serif;
|
||||||
background:url(../images/bg_logininout.jpg) no-repeat;
|
background:url(../images/bg_logininout.jpg) no-repeat;
|
||||||
left: 118px;
|
left: 120px;
|
||||||
top: 118px;
|
top: 118px;
|
||||||
}
|
}
|
||||||
#user_pwd_repeat{
|
#user_pwd_repeat{
|
||||||
@@ -738,7 +738,7 @@ input.inputstyle:hover{
|
|||||||
border:none;
|
border:none;
|
||||||
font-family:Arial, Helvetica, sans-serif;
|
font-family:Arial, Helvetica, sans-serif;
|
||||||
background:url(../images/bg_logininout.jpg) no-repeat;
|
background:url(../images/bg_logininout.jpg) no-repeat;
|
||||||
left: 118px;
|
left: 120px;
|
||||||
top: 152px;
|
top: 152px;
|
||||||
}
|
}
|
||||||
#user_captcha{
|
#user_captcha{
|
||||||
@@ -750,7 +750,7 @@ input.inputstyle:hover{
|
|||||||
border:none;
|
border:none;
|
||||||
font-family:Arial, Helvetica, sans-serif;
|
font-family:Arial, Helvetica, sans-serif;
|
||||||
background:url(../images/bg_logininout.jpg) no-repeat;
|
background:url(../images/bg_logininout.jpg) no-repeat;
|
||||||
left: 118px;
|
left: 120px;
|
||||||
top: 186px;
|
top: 186px;
|
||||||
}
|
}
|
||||||
#imgCaptcha{
|
#imgCaptcha{
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<input type="password" id="user_pwd"/>
|
<input type="password" id="user_pwd"/>
|
||||||
<input type="password" id="user_pwd_repeat"/>
|
<input type="password" id="user_pwd_repeat"/>
|
||||||
<input type="text" id="user_captcha"/>
|
<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_username" style="display: none"><span class="error_input">用户名不正确</span></p>
|
||||||
<p id="tip_userpwd" style="display: none">密码不能为空</p>
|
<p id="tip_userpwd" style="display: none">密码不能为空</p>
|
||||||
<div class="register_btn">
|
<div class="register_btn">
|
||||||
@@ -77,6 +77,7 @@
|
|||||||
location.href = "login.html";
|
location.href = "login.html";
|
||||||
} else {
|
} else {
|
||||||
alert(res.msg);
|
alert(res.msg);
|
||||||
|
verifyCode.refresh(); //刷新
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//此处添加错误处理
|
//此处添加错误处理
|
||||||
|
|||||||
Reference in New Issue
Block a user