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
3739bd2d
Commit
3739bd2d
authored
May 03, 2019
by
季圣华
Browse files
优化注册界面
parent
8eda0141
Changes
5
Hide whitespace changes
Inline
Side-by-side
erp_web/css/css.css
View file @
3739bd2d
...
...
@@ -636,10 +636,10 @@ input.inputstyle:hover{
background
:
#EAF2FD
;
z-index
:
90
;
}
#login_body
{
#login_body
,
#register_body
{
background
:
#93bbe5
url(../images/bg_login.jpg)
top
center
no-repeat
;
}
#login_main
{
#login_main
,
#register_main
{
width
:
459px
;
overflow
:
hidden
;
margin
:
160px
auto
0
auto
;
...
...
@@ -649,7 +649,14 @@ input.inputstyle:hover{
height
:
263px
;
overflow
:
hidden
;
position
:
relative
;
background
:
url(../images/bg_loginmain.jpg)
no-repeat
;
background
:
url(../images/bg_login_main.jpg)
no-repeat
;
}
#register
{
width
:
459px
;
height
:
300px
;
overflow
:
hidden
;
position
:
relative
;
background
:
url(../images/bg_register_main.jpg)
no-repeat
;
}
#login
.login_btn
{
float
:
left
;
...
...
@@ -657,13 +664,13 @@ input.inputstyle:hover{
height
:
50px
;
margin
:
160px
auto
0
120px
;
}
#
login
.register_btn
{
#
register
.register_btn
{
float
:
left
;
width
:
230px
;
height
:
50px
;
margin
:
2
1
8px
auto
0
120px
;
margin
:
2
2
8px
auto
0
px
120px
;
}
#login_signal
{
#login_signal
,
#register_signal
{
position
:
absolute
;
left
:
63px
;
top
:
19px
;
...
...
erp_web/images/bg_loginmain.jpg
→
erp_web/images/bg_login
_
main.jpg
View file @
3739bd2d
File moved
erp_web/images/bg_register_main.jpg
0 → 100644
View file @
3739bd2d
6.81 KB
erp_web/pages/common/main.html
View file @
3739bd2d
...
...
@@ -105,9 +105,12 @@
});
$
(
'
#loginOut
'
).
click
(
function
()
{
if
(
confirm
(
"
确认要退出系统吗?
"
))
sessionStorage
.
removeItem
(
"
userId
"
);
location
.
href
=
'
/user/logout
'
;
$
.
messager
.
confirm
(
"
提示
"
,
"
确认要退出系统吗?
"
,
function
(
r
){
if
(
r
)
{
sessionStorage
.
removeItem
(
"
userId
"
);
location
.
href
=
'
/user/logout
'
;
}
});
})
//IE下禁止选中
document
.
body
.
onselectstart
=
document
.
body
.
ondrag
=
function
()
{
...
...
erp_web/register.html
View file @
3739bd2d
...
...
@@ -12,10 +12,10 @@
<script
type=
"text/javascript"
src=
"/js/md5/md5.js"
></script>
<script
type=
"text/javascript"
src=
"/js/gVerify.js"
></script>
</head>
<body
id=
"
login
_body"
>
<div
id=
"
login
_main"
>
<div
id=
"
login
"
>
<p
id=
"
login
_signal"
><img
src=
"/images/register_tip.jpg"
width=
"108"
height=
"29"
alt=
"login"
/></p>
<body
id=
"
register
_body"
>
<div
id=
"
register
_main"
>
<div
id=
"
register
"
>
<p
id=
"
register
_signal"
><img
src=
"/images/register_tip.jpg"
width=
"108"
height=
"29"
alt=
"login"
/></p>
<p
id=
"txt_username"
>
<label
for=
"user_name"
>
用户名:
</label>
</p>
...
...
@@ -73,7 +73,8 @@
}),
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
)
{
alert
(
"
注册成功!
"
);
alert
(
"
注册成功,请进行登录!
"
);
location
.
href
=
"
login.html
"
;
}
else
{
alert
(
res
.
msg
);
}
...
...
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