Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
赵彪
2015-12-03 13:49:34 +0800
Commit
54b8d8a5ea9951bdd8fb78b2e27048fbc3f7ccd3
2 parents
571fb38a
98121865
Merge branch 'feature/xieweiguang' into 'develop'
Feature/xieweiguang See merge request !11
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
static/sass/me/_coupons.scss
static/sass/me/_personal-details.scss
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
template/m.yohobuy.com/actions/index/home/personal-details.phtml
static/sass/me/_coupons.scss
View file @
54b8d8a
...
...
@@ -32,7 +32,9 @@
height
:
180rem
/
$pxConvertRem
;
overflow
:
hidden
;
margin
:
20rem
/
$pxConvertRem
auto
;
background
:
image-url
(
'me/employ/employ.jpg'
)
top
center
no-repeat
;
background-image
:
image-url
(
'me/employ/employ.jpg'
);
background-position
:
top
center
;
background-repeat
:no-repeat
;
background-size
:
100%
100%
;
color
:
#fff
;
position
:
relative
;
...
...
static/sass/me/_personal-details.scss
View file @
54b8d8a
...
...
@@ -35,6 +35,9 @@
font-size
:
48em
/
$pxConvertRem
;
margin-right
:
8%
;
float
:
left
;
text-overflow
:ellipsis
;
white-space
:nowrap
;
overflow
:hidden
;
.head-portrait
{
width
:
90rem
/
$pxConvertRem
;
height
:
90rem
/
$pxConvertRem
;
...
...
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
View file @
54b8d8a
{
{#coupons
}
}
<div
class=
"employ-main"
style=
"background:url('{{coupon_pic}}')"
>
<div
class=
"employ-main"
style=
"background
-image
:url('{{coupon_pic}}')"
>
<span>
{
{
money
}
}</span>
<p
class=
"coupon-name"
>
{
{
coupon_name
}
}</p>
<p>
{
{
couponValidity
}
}</p>
<p>
有效期:
{
{
couponValidity
}
}</p>
{
{#
used
}
}<i></i>
{
{/
used
}
}
</div>
{
{/coupons
}
}
...
...
template/m.yohobuy.com/actions/index/home/personal-details.phtml
View file @
54b8d8a
{
{>
layout/header
}
}
<div
class=
"personal-details"
>
<ul>
<li><span>头像</span><span><i
class=
"head-portrait
"
><img
class=
"user-avatar"
src=
"{{ head_ico
}}"
></i></span></li>
<li><span>头像</span><span><i
class=
"head-portrait
user-avatar"
data-avatar=
"{{head_ico
}}"
></i></span></li>
<li><span>昵称</span><span>
{
{
nickname
}
}</span></li>
<li><span>性别</span><span>
{
{
gender
}
}</span></li>
<li><span>生日</span><span>
{
{
birthday
}
}</span></li>
...
...
Please
register
or
login
to post a comment