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
Rock Zhang
9 years ago
Commit
21aeeaf8c317b1d39a908665940a8331da6df5aa
2 parents
aab01a2e
5222cb9d
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Conflicts: library/Api/Yohobuy.php
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
14 deletions
static/sass/home/_trend-topics.scss
static/sass/me/_coupons.scss
static/sass/me/_personal-details.scss
static/sass/me/_suggest.scss
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
template/m.yohobuy.com/actions/index/home/personal-details.phtml
template/m.yohobuy.com/actions/index/home/suggest.phtml
static/sass/home/_trend-topics.scss
View file @
21aeeaf
...
...
@@ -23,8 +23,9 @@
width
:
16rem
/
$pxConvertRem
;
height
:
16rem
/
$pxConvertRem
;
margin
:
0
(
8rem
/
$pxConvertRem
);
background
:
#
efefef
;
background
:
#
f0f0f0
;
border-radius
:
50%
;
opacity
:
1
;
}
span
.swiper-pagination-bullet-active
{
...
...
@@ -85,4 +86,4 @@
}
}
}
}
\ No newline at end of file
}
...
...
static/sass/me/_coupons.scss
View file @
21aeeaf
...
...
@@ -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 @
21aeeaf
...
...
@@ -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
;
...
...
static/sass/me/_suggest.scss
View file @
21aeeaf
...
...
@@ -31,7 +31,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
//意见反馈主体
.suggest-content
{
border-top
:
pxToRem
(
30px
)
solid
#fff
;
border-top
:
1px
solid
#e0e0e0
;
.suggest-item
{
width
:
100%
;
...
...
@@ -76,6 +76,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
&
.suggest-active
{
>
div
{
width
:
50%
;
height
:
100%
;
float
:
left
;
text-align
:
left
;
padding-left
:
pxToRem
(
128px
);
...
...
@@ -135,8 +136,29 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
line-height
:
pxToRem
(
88px
);
text-align
:
center
;
font-size
:
pxToRem
(
30px
);
border-top
:
1px
solid
#e0e0e0
;
border-bottom
:
1px
solid
#e0e0e0
;
//border-top: 1px solid #e0e0e0;
//border-bottom: 1px solid #e0e0e0;
border-top
:
pxToRem
(
30px
)
solid
#f0f0f0
;
border-bottom
:
pxToRem
(
30px
)
solid
#f0f0f0
;
position
:
relative
;
&
:after
{
content
:
''
;
width
:
100%
;
height
:
1px
;
border-top
:
1px
solid
#e0e0e0
;
position
:
absolute
;
left
:
0
;
top
:
0
;
}
&
:before
{
content
:
''
;
width
:
100%
;
height
:
1px
;
border-bottom
:
1px
solid
#e0e0e0
;
position
:
absolute
;
left
:
0
;
bottom
:
0
;
}
a
{
color
:
#444
;
...
...
template/m.yohobuy.com/actions/index/home/coupon_list.phtml
View file @
21aeeaf
{
{#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 @
21aeeaf
{
{>
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>
...
...
template/m.yohobuy.com/actions/index/home/suggest.phtml
View file @
21aeeaf
...
...
@@ -6,6 +6,12 @@
我们希望了解您的意见和建议
</h
2
>
<div
class=
"create-new-suggest"
>
<a
href=
"./suggestSub"
>
反馈问题<span>(功能意见,界面意见)</span>
</a>
</div>
<div
class=
"suggest-content"
id=
"suggest-content"
>
{
{#
suggestContent
}
}
<div
class=
"suggest-item"
data-id=
"{{suggest_id}}"
>
...
...
@@ -46,11 +52,6 @@
{
{/
suggestContent
}
}
</div>
<div
class=
"create-new-suggest"
>
<a
href=
"./suggestSub"
>
反馈问题<span>(功能意见,界面意见)</span>
</a>
</div>
{
{/
suggest
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment