Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
309a128b
Commit
309a128b
authored
Jun 17, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
81f5b8f1
af5a9f97
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
234 additions
and
34 deletions
+234
-34
summaryLogin.css
src/assets/css/summaryLogin.css
+202
-0
elephant.gif
src/assets/img/elephant.gif
+0
-0
summary.jpg
src/assets/img/summary.jpg
+0
-0
Login.vue
src/components/Login.vue
+32
-34
No files found.
src/assets/css/summaryLogin.css
0 → 100644
View file @
309a128b
.newSummaryLogin
.item
img
{
width
:
100%
;
}
.Summary_login_Div
{
width
:
480px
;
height
:
420px
;
position
:
absolute
;
text-align
:
center
;
background
:
#fff
;
border-radius
:
12px
;
-webkit-box-shadow
:
1px
-1px
25px
rgba
(
249
,
7
,
32
,
0.2
);
box-shadow
:
1px
-1px
25px
rgba
(
249
,
7
,
32
,
0.2
);
z-index
:
2018
;
margin
:
auto
;
top
:
0
;
left
:
0
;
bottom
:
0
;
right
:
0
;
float
:
right
;
margin-right
:
165px
;
}
.newSummaryLogin
.error-msg
{
color
:
#cccccc
;
font-size
:
12px
;
text-align
:
left
;
width
:
300px
;
margin
:
0
auto
0
;
height
:
20px
;
padding-left
:
16px
;
}
.newSummaryLogin
.error-msg
img
{
position
:
relative
;
top
:
3px
;
margin
:
0
10px
0
5px
;
}
.Summary_login_Div
.sumMainTitle
{
font-size
:
28px
;
padding-top
:
40px
;
color
:
#111111
;
margin-bottom
:
40px
;
font-weight
:
bold
;
}
.Summary_login_Div
.littTitle
{
font-size
:
18px
;
color
:
#333333
;
}
.Summary_login_Div
.icon-login-name
,
.icon-login-password
{
width
:
16px
;
height
:
15px
;
display
:
inline-block
;
position
:
absolute
;
top
:
10px
;
color
:
#000000
}
.Summary_login_Div
.login-commonBotm
{
width
:
260px
;
position
:
relative
;
margin
:
10px
auto
0
;
}
.Summary_login_Div
.login-commonBotm
img
{
float
:
left
;
margin-top
:
14px
;
}
.Summary_login_Div
input
.input
{
width
:
260px
;
height
:
40px
;
outline
:
none
;
padding-left
:
30px
;
border
:
none
;
border-bottom
:
1px
solid
#CCCCCC
;
color
:
#333333
;
caret-color
:
#E95252
;
}
.Summary_login_Div
input
::-webkit-input-placeholder
{
color
:
#999999
;
font-size
:
12px
;
}
.newSummaryLogin
.sumPhone
{
width
:
100%
;
text-align
:
center
;
color
:
#333
;
margin-bottom
:
10px
;}
.Summary_login_Div
input
:-webkit-autofill
,
.Summary_login_Div
textarea
:-webkit-autofill
,
.Summary_login_Div
select
:-webkit-autofill
{
-webkit-text-fill-color
:
#ededed
!important
;
-webkit-box-shadow
:
0
0
0px
1000px
transparent
inset
!important
;
background-color
:
transparent
;
background-image
:
none
;
transition
:
background-color
50000s
ease-in-out
0s
;
}
.Summary_login_Div
.sLoginBtn
{
margin-top
:
30px
;
width
:
300px
;
height
:
40px
;
background
:
#EE4454
;
border-radius
:
20px
;
outline
:
none
;
border
:
none
;
color
:
#fff
;
transition
:
all
linear
0.5s
;
}
.Summary_login_Div
.sLoginBtn
:hover
{
opacity
:
.8
;
cursor
:
pointer
;
background-color
:
#E95252
;
color
:
#FFFFFF
}
.Summary_login_Div
.validatCode
{
color
:
#333333
;
}
.newSummaryLogin
.msgTips
p
{
color
:
#333333
!important
;
}
.newSummaryLogin
.msgTips
p
,
.newSummaryLogin
.msgTips
h2
{
color
:
#333333
!important
;
}
.newSummaryLogin
.bindTitle
{
margin-bottom
:
10px
;}
.newSummaryLogin
.changeBtn
{
margin-top
:
10px
;
}
.login-box
.forgetPw
{
width
:
300px
;
height
:
40px
;
text-align
:
right
;
margin
:
auto
;
color
:
#999999
;
font-size
:
12px
;
text-align
:
right
;
line-height
:
40px
;
}
.forgetPw
span
{
cursor
:
pointer
;
}
.newSummaryLogin
.login-box
.forgetPw
span
:hover
{
color
:
#E95252
;
}
.newSummaryLogin
.login-way
{
width
:
300px
;
height
:
40px
;
margin
:
25px
auto
;
font-size
:
12px
;
color
:
#CCCCCC
;
display
:
none
;
line-height
:
40px
;
}
.newSummaryLogin
.wayLeft
{
float
:
left
;
}
.newSummaryLogin
.icon-login-qqicon
{
width
:
16px
;
height
:
15px
;
display
:
inline-block
;
position
:
relative
;
top
:
3px
;
background
:
url(../img/qqIco.png)
no-repeat
;
}
.newSummaryLogin
.icon-login-wechaticon
{
width
:
19px
;
height
:
15px
;
display
:
inline-block
;
position
:
relative
;
top
:
3px
;
background
:
url(../img/wechatIco.png)
no-repeat
;
}
.newSummaryLogin
.wayRight
{
float
:
right
;
}
.newSummaryLogin
.validatCode
{
position
:
absolute
;
right
:
0
;
top
:
13px
;
padding-left
:
10px
;
color
:
#333
;
font-size
:
12px
;
letter-spacing
:
2px
;
border-left
:
1px
solid
#cccccc
;
}
.newSummaryLogin
.validatCode
span
:first-child
{
cursor
:
pointer
;}
.newSummaryLogin
.btValidate
{
margin-top
:
30px
;
}
.newSummaryLogin
.login_elephant
{
position
:
absolute
;
left
:
-15px
;
top
:
-80px
;
}
.newSummaryLogin
.homepage-hero-module
,
.video-container
{
position
:
relative
;
height
:
100vh
;
overflow
:
hidden
;
}
.newSummaryLogin
.name_bline_left
{
position
:
absolute
;
right
:
115px
;
bottom
:
0
;
width
:
0
;
height
:
2px
;
background-color
:
#E95252
;
transition
:
all
linear
0.5s
;}
.newSummaryLogin
.name_bline_right
{
position
:
absolute
;
left
:
115px
;
bottom
:
0
;
width
:
0
;
height
:
2px
;
background-color
:
#E95252
;
transition
:
all
linear
0.5s
;}
.newSummaryLogin
.pwd_bline_left
{
position
:
absolute
;
right
:
115px
;
bottom
:
0
;
width
:
0
;
height
:
2px
;
background-color
:
#E95252
;
transition
:
all
linear
0.5s
;}
.newSummaryLogin
.pwd_bline_right
{
position
:
absolute
;
left
:
115px
;
bottom
:
0
;
width
:
0
;
height
:
2px
;
background-color
:
#E95252
;
transition
:
all
linear
0.5s
;}
.newSummaryLogin
.login-Div
input
:-webkit-autofill
,
.login-Div
textarea
:-webkit-autofill
,
.login-Div
select
:-webkit-autofill
{
-webkit-text-fill-color
:
#ededed
!important
;
-webkit-box-shadow
:
0
0
0px
1000px
transparent
inset
!important
;
background-color
:
transparent
;
background-image
:
none
;
transition
:
background-color
50000s
ease-in-out
0s
;
}
.newSummaryLogin
._bline_w
{
width
:
145px
;}
src/assets/img/elephant.gif
0 → 100644
View file @
309a128b
408 KB
src/assets/img/summary.jpg
0 → 100644
View file @
309a128b
211 KB
src/components/Login.vue
View file @
309a128b
<
style
>
@import
"../assets/css/login.css"
;
@import
"../assets/css/summaryLogin.css"
;
</
style
>
<
style
>
</
style
>
<
template
>
<div
class=
"login-box"
>
<div
class=
"login-box
newSummaryLogin
"
>
<div
class=
"homepage-hero-module"
>
<!--
<div
class=
"video-container"
>
-->
<!--
<div
:style=
"fixStyle"
class=
"filter"
></div>
-->
<!--
<video
:style=
"fixStyle"
autoplay
loop
class=
"fillWidth"
v-on:canplay=
"canplay"
ref=
"audio"
>
-->
<!--
<source
src=
"/static/video/wt3.mp4"
type=
"video/mp4"
/>
-->
<!--浏览器不支持 video 标签,建议升级浏览器。-->
<!--
</video>
-->
<!--
<div
class=
"poster hidden"
v-if=
"!vedioCanPlay"
>
-->
<!--
<img
:style=
"fixStyle"
alt=
""
>
-->
<!--
</div>
-->
<!--
</div>
-->
<div
class=
"silder-box"
ref=
'box'
:style=
"
{'height':'100vh'}" v-show="height>0">
<div
class=
"item"
v-for=
"(item,index) in imgs"
:key=
"index"
>
<img
:style=
"
{'height':'100vh'}" :class="index==crtIndex?'active':''" ref="swiper" :src="item">
<div
:style=
"
{'height':'100vh'}">
<div
class=
"item"
>
<img
:style=
"
{'height':'100vh'}" src="../assets/img/summary.jpg" />
</div>
</div>
<!--
<img
src=
"../assets/img/login_bg_1.jpg"
alt=
""
>
-->
</div>
<div
class=
"cover"
></div>
<form
class=
"login-Div"
>
</div>
<form
class=
"Summary_login_Div"
>
<div
v-if=
"isShow==1"
>
<div
class=
"
m
ainTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"login-commonBotm
T1
"
>
<div
class=
"
sumM
ainTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"login-commonBotm"
>
<i
class=
"icon-login-name iconfont icon-user11"
></i>
<input
class=
"input"
@
focus=
"name_bline=true"
@
blur=
"name_bline=false"
maxlength=
"20"
autocomplete=
"new-password"
v-model=
"userInfo.name"
style=
"background-color:transparent !important;"
type=
"text"
:placeholder=
"$t('login.login_account')"
@
keyup
.
enter=
"doLogin"
/>
<div
class=
"name_bline_left"
:class=
"name_bline==true?'_bline_w':''"
></div>
...
...
@@ -45,7 +35,7 @@
<div
class=
"error-msg"
>
<div
v-show=
"passwordIsShow"
><img
src=
"../assets/img/login-error-tips.png"
/>
{{
passwordErrorMsg
}}
</div>
</div>
<button
type=
"button"
class=
"
l
oginBtn"
:class=
"
{'loginIng':loginState==1}" :disabled="loginState==1" @click="doLogin">
{{
loginState
==
1
?
'登录中...'
:
'登录'
}}
</button>
<button
type=
"button"
class=
"
sL
oginBtn"
:class=
"
{'loginIng':loginState==1}" :disabled="loginState==1" @click="doLogin">
{{
loginState
==
1
?
'登录中...'
:
'登录'
}}
</button>
<div
class=
"forgetPw"
>
<span
@
click=
"updatePwd"
>
{{
$t
(
'login.login_forgetpwd'
)
}}
?
</span>
</div>
...
...
@@ -61,9 +51,9 @@
</div>
</div>
<div
v-if=
"isShow==2"
class=
"phoneLogin"
>
<div
class=
"
m
ainTitle bindTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"
bind
Phone"
>
绑定手机号
</div>
<div
class=
"login-commonBotm
T1
"
>
<div
class=
"
sumM
ainTitle bindTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"
sum
Phone"
>
绑定手机号
</div>
<div
class=
"login-commonBotm"
>
<i
class=
"icon-login-name iconfont icon-phone1"
></i>
<input
class=
"input"
@
focus=
"name_bline=true"
@
blur=
"name_bline=false"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"11"
autocomplete=
"new-password"
v-model=
"mobileNumber"
style=
"background-color:transparent !important;"
type=
"text"
placeholder=
"请输入手机号"
/>
<div
class=
"name_bline_left"
:class=
"name_bline==true?'_bline_w':''"
></div>
...
...
@@ -85,13 +75,13 @@
<div
class=
"error-msg"
>
<div
v-show=
"passwordIsShow"
><img
src=
"../assets/img/login-error-tips.png"
/>
{{
passwordErrorMsg
}}
</div>
</div>
<input
type=
"button"
class=
"
l
oginBtn"
@
click=
"doBind"
value=
"确认绑定"
/>
<input
type=
"button"
class=
"
sL
oginBtn"
@
click=
"doBind"
value=
"确认绑定"
/>
</div>
<div
v-if=
"isShow==3"
class=
"phoneLogin"
>
<div
class=
"
m
ainTitle bindTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"
bind
Phone"
>
修改密码
</div>
<div
class=
"login-commonBotm
T1
"
>
<div
class=
"
sumM
ainTitle bindTitle"
>
{{
groupModel
.
GroupName
?
groupModel
.
GroupName
:
''
}}
</div>
<div
class=
"
sum
Phone"
>
修改密码
</div>
<div
class=
"login-commonBotm"
>
<i
class=
"icon-login-name iconfont icon-phone1"
></i>
<input
class=
"input"
@
focus=
"name_bline=true"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"11"
@
blur=
"name_bline=false"
autocomplete=
"new-password"
v-model=
"mobileNumber"
style=
"background-color:transparent !important;"
type=
"text"
placeholder=
"请输入手机号"
/>
<div
class=
"name_bline_left"
:class=
"name_bline==true?'_bline_w':''"
></div>
...
...
@@ -118,13 +108,14 @@
</div>
</div>
<div
class=
"forgetPw"
>
<div
class=
"error-msg"
style=
"float:left;width:auto;"
>
<div
v-show=
"passwordIsShow"
><img
src=
"../assets/img/login-error-tips.png"
/>
{{
passwordErrorMsg
}}
</div>
</div>
<span
@
click=
"goLogin"
>
去登录
</span>
</div>
<div
class=
"error-msg"
>
<div
v-show=
"passwordIsShow"
><img
src=
"../assets/img/login-error-tips.png"
/>
{{
passwordErrorMsg
}}
</div>
</div>
<input
type=
"button"
class=
"loginBtn changeBtn"
@
click=
"changePwd"
value=
"确认修改"
/>
<input
type=
"button"
class=
"sLoginBtn changeBtn"
@
click=
"changePwd"
value=
"确认修改"
/>
</div>
<img
class=
"login_elephant"
src=
"../assets/img/elephant.gif"
alt=
""
/>
</form>
</div>
</
template
>
...
...
@@ -431,6 +422,13 @@ export default {
this
.
apipost
(
"user_change_password_by_mobileNumber"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isShow
=
1
;
this
.
$notify
.
success
({
title
:
"提示"
,
customClass
:
"msgTips"
,
message
:
res
.
data
.
message
,
showClose
:
false
,
duration
:
3000
});
}
else
{
this
.
$notify
.
error
({
title
:
"提示"
,
...
...
Write
Preview
Markdown
is supported
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