Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
43578968
Commit
43578968
authored
May 03, 2019
by
季圣华
Browse files
验证失败后重置验证码
parent
3739bd2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/css/css.css
View file @
43578968
...
...
@@ -714,7 +714,7 @@ input.inputstyle:hover{
border
:
none
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
background
:
url(../images/bg_logininout.jpg)
no-repeat
;
left
:
1
18
px
;
left
:
1
20
px
;
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
:
1
18
px
;
left
:
1
20
px
;
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
:
1
18
px
;
left
:
1
20
px
;
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
:
1
18
px
;
left
:
1
20
px
;
top
:
186px
;
}
#imgCaptcha
{
...
...
erp_web/register.html
View file @
43578968
...
...
@@ -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
();
//刷新
}
},
//此处添加错误处理
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment