Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
uedxwg
9 years ago
Commit
ea1dba065599c7ab8d49d210625a553d423ce394
1 parent
39c50e85
个人中心-个人信息
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
4 deletions
static/js/product/newsale/hot-rank.js
static/sass/me/_index.scss
static/sass/me/_personal-details.scss
template/m.yohobuy.com/actions/index/home/personal-details.phtml
static/js/product/newsale/hot-rank.js
View file @
ea1dba0
var
$
=
require
(
'jquery'
),
Hammer
=
require
(
'yoho.hammer'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
\ No newline at end of file
static/sass/me/_index.scss
View file @
ea1dba0
@import
"home"
,
"vip-grade"
,
"order"
;
\ No newline at end of file
@import
"home"
,
"vip-grade"
,
"order"
,
"personal-details"
;
\ No newline at end of file
...
...
static/sass/me/_personal-details.scss
0 → 100644
View file @
ea1dba0
.personal-details
{
width
:
100%
;
height
:
auto
;
overflow
:
hidden
;
background-color
:
#fff
;
border-bottom
:
1px
solid
#e0e0e0
;
ul
{
width
:
95%
;
height
:
auto
;
overflow
:
hidden
;
float
:right
;
li
{
&
:first-of-type
{
height
:
100rem
/
$pxConvertRem
;
line-height
:
100rem
/
$pxConvertRem
;
}
height
:
80rem
/
$pxConvertRem
;
border-bottom
:
1px
solid
#e0e0e0
;
span
{
&
:first-of-type
{
color
:
#444
;
line-height
:
100rem
/
$pxConvertRem
;
}
width
:
42%
;
height
:
100%
;
line-height
:
80rem
/
$pxConvertRem
;
font-size
:
48em
/
$pxConvertRem
;
margin-right
:
8%
;
float
:
left
;
.head-portrait
{
width
:
90rem
/
$pxConvertRem
;
height
:
90rem
/
$pxConvertRem
;
float
:
right
;
border-radius
:
50%
;
background
:
#000
;
}
.grade
{
width
:
85rem
/
$pxConvertRem
;
height
:
30rem
/
$pxConvertRem
;
overflow
:
hidden
;
display
:
inline-block
;
margin-top
:
25rem
/
$pxConvertRem
;
@include
rem-sprite
(
$vip
,
vip-1
);
}
&
:last-of-type
{
color
:
#b0b0b0
;
text-align
:
right
;
}
}
&
:last-of-type
{
border-bottom
:none
;
}
}
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/personal-details.phtml
0 → 100644
View file @
ea1dba0
{
{>
layout/header
}
}
{
{
#personalDetails
}
}
<div
class=
"personal-details"
>
<ul>
<li><span>头像</span><span><i
class=
"head-portrait"
></i></span></li>
<li><span>昵称</span><span>
{
{
name
}
}</span></li>
<li><span>性别</span><span>
{
{
sex
}
}</span></li>
<li><span>生日</span><span>
{
{
time
}
}</span></li>
<li><span>会员等级</span><span><i
class=
"grade"
></i>></span></li>
</ul>
</div>
{
{
/personalDetails
}
}
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment