Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
eee7820bbdfe1e416014704235d38056a03cd65c
1 parent
945e1534
登录页面修改
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
21 deletions
apps/passport/controllers/login.js
apps/passport/views/action/login.hbs
apps/passport/views/partial/passport/header.hbs
public/scss/passport/_common.css
public/scss/passport/_login.css
apps/passport/controllers/login.js
View file @
eee7820
...
...
@@ -121,7 +121,8 @@ const local = {
emailRetriveUrl
:
'/passport/back/email'
,
// 通过邮箱找回密码的URL链接
module
:
'passport'
,
page
:
'login'
,
title
:
'登录'
title
:
'登录'
,
reg
:
true
});
},
international
:
(
req
,
res
)
=>
{
...
...
apps/passport/views/action/login.hbs
View file @
eee7820
<div
class=
"login-page passport-page yoho-page"
>
{{>
passport
/
header
}}
<div
class=
"login-tip"
>
<div
class=
"info-icon"
></div>
Yoho!Family账号可登录Yoho!Buy有货
</div>
<div
class=
"content"
>
<div
class=
"acc-container input-container row has-clear"
>
<div
class=
"yoho-logo"
></div>
...
...
@@ -11,8 +15,9 @@
<div
id=
"js-img-check"
{{#
captchaShow
}}
data-init
{{/
captchaShow
}}
></div>
<span
id=
"btn-login"
class=
"btn btn-login disable"
>
登录
</span>
<p
class=
"op-container"
>
<a
class=
"sms-login"
href=
{{
smsLoginUrl
}}
>
手机号码快捷登录</a
>
<span
id=
"forget-pwd"
class=
"forget-pwd"
>
忘记密码
</span>
<a
class=
"op-item internat"
href=
{{
internationalUrl
}}
>
海外手机</a
>
<a
class=
"op-item sms-login"
href=
{{
smsLoginUrl
}}
>
快速登录</a
>
<span
id=
"forget-pwd"
class=
"op-item forget-pwd"
>
忘记密码
</span>
</p>
<div
class=
"third-party-login"
>
<div
class=
"tp-link"
>
...
...
@@ -22,15 +27,8 @@
<a
class=
"alipay"
href=
{{
aliLoginUrl
}}
>
</a
>
</div>
</div>
<a
class=
"international"
href=
{{
internationalUrl
}}
>
International
Customer
</
a
>
<div
class=
"go-register"
>
<i
class=
"iconfont"
>

</i>
<a
href=
{{
registerUrl
}}
>
注册Yoho!Family</a
>
</div>
<div
class=
"login-tip"
>
<div
class=
"info-icon"
></div>
Yoho!Family账号可登录Yoho!Buy有货
</div>
<div
id=
"retrive-pwd-mask"
class=
"mask"
></div>
<ul
id=
"retrive-pwd-ways"
class=
"retrive-pwd-ways"
>
<li>
...
...
apps/passport/views/partial/passport/header.hbs
View file @
eee7820
...
...
@@ -6,4 +6,7 @@
{{#
headerText
}}
<p
class=
"title"
>
{{
.
}}
</p>
{{/
headerText
}}
{{#
reg
}}
<a
href=
"
{{
registerUrl
}}
"
class=
"opts register"
>
注册
</a>
{{/
reg
}}
</div>
\ No newline at end of file
...
...
public/scss/passport/_common.css
View file @
eee7820
...
...
@@ -67,6 +67,22 @@ body.passport-body {
background-size
:
100%
100%
;
margin
:
0
auto
;
}
.opts
{
display
:
block
;
background
:
transparent
;
border
:
solid
1
PX
#fff
;
width
:
auto
;
height
:
30
PX
;
line-height
:
28
PX
;
border-radius
:
30
PX
;
color
:
#fff
;
padding-left
:
15
PX
;
padding-right
:
15
PX
;
position
:
absolute
;
right
:
0
;
top
:
5
PX
;
}
}
.input-container
,
...
...
public/scss/passport/_login.css
View file @
eee7820
...
...
@@ -17,19 +17,21 @@
position
:
relative
;
width
:
100%
;
margin
:
20
PX
0
;
text-align
:
left
;
text-align
:
center
;
font-size
:
16
PX
;
display
:
flex
;
.sms-login
{
text-decoration
:
underline
;
color
:
#858585
;
.op-item
{
flex
:
1
;
color
:
#fff
;
}
.internat
{
text-align
:
left
;
}
.forget-pwd
{
position
:
absolute
;
right
:
0
;
text-decoration
:
underline
;
color
:
#858585
;
text-align
:
right
;
}
}
...
...
@@ -96,7 +98,7 @@
}
.login-tip
{
font-size
:
1
6
PX
;
font-size
:
1
4
PX
;
position
:
relative
;
color
:
#d8d8d8
;
margin
:
15
PX
0
;
...
...
Please
register
or
login
to post a comment