Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
xuqi
2015-10-08 21:05:17 +0800
Commit
758578eed8c7525549bf59935caec1110add1338
1 parent
a3c822d6
show login
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
4 deletions
static/js/passport/login/login.js
static/sass/index.scss
static/sass/passport/_login.scss
template/m.yohobuy.com/actions/passport/login/index.phtml
template/m.yohobuy.com/partials/passport/header.phtml
static/js/passport/login/login.js
View file @
758578e
...
...
@@ -10,7 +10,7 @@ var $account = $('#account'),
$loginBtn
=
$
(
'#btn-login'
),
$mask
=
$
(
'#retrive-pwd-mask'
),
$ways
=
$
(
'#retrive-ways'
),
$ways
=
$
(
'#retrive-
pwd-
ways'
),
accPass
=
false
,
pwdPass
=
false
;
...
...
static/sass/index.scss
View file @
758578e
...
...
@@ -8,6 +8,8 @@ $pxConvertRem: 40;
html
,
body
{
font-family
:
helvetica
,
Arial
,
"黑体"
;
width
:
100%
;
font-size
:
12px
;
line-height
:
1
.4
;
}
.clearfix
:before
,
...
...
@@ -37,4 +39,10 @@ img {
margin
:
0
auto
;
}
a
{
text-decoration
:
none
;
outline
:
none
;
color
:
#000
;
}
@import
"passport/index"
;
\ No newline at end of file
...
...
static/sass/passport/_login.scss
View file @
758578e
.login-page
{
.yoho-log
{
.yoho-log
o
{
position
:
absolute
;
height
:
31px
;
width
:
26px
;
...
...
@@ -9,6 +9,10 @@
left
:
15px
;
}
.acc-container
{
padding-left
:
45px
;
}
.op-container
{
position
:
relative
;
width
:
100%
;
...
...
@@ -88,7 +92,7 @@
color
:
#d8d8d8
;
margin
:
15px
0
;
.info
{
.info
-icon
{
display
:
inline-block
;
height
:
12px
;
width
:
12px
;
...
...
template/m.yohobuy.com/actions/passport/login/index.phtml
View file @
758578e
{
{>
layout/header
}
}
<div
class=
"login-page passport-page yoho-page"
>
{
{>
passport/header
}
}
<div
class=
"content"
>
...
...
@@ -40,3 +41,4 @@
</ul>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/passport/header.phtml
View file @
758578e
...
...
@@ -5,7 +5,7 @@
</a>
{{/if}}
{{#if showHeaderImg}}
<img
src
="img-header" src="http://static.dev.yohobuy.com/img/passport/yoho-family.png">
<img
class
="img-header" src="http://static.dev.yohobuy.com/img/passport/yoho-family.png">
{{/if}}
{{#if showHeaderText}}
<p class="title">{{../headerText}}</p>
...
...
Please
register
or
login
to post a comment