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
hf
2015-12-31 15:16:07 +0800
Commit
c1f8d1ff1dcde52e39bb3b8cae19a49b39de7a6d
2 parents
32762774
e79093fb
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
static/sass/product/_recommend-for-you.scss
template/m.yohobuy.com/partials/product/recommend-content.phtml
static/sass/product/_recommend-for-you.scss
View file @
c1f8d1f
...
...
@@ -37,10 +37,18 @@
}
}
}
.sale-name
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
100%
;
white-space
:
nowrap
;
margin-top
:
pxToRem
(
20px
);
color
:
gray
;
}
.price
{
position
:
relative
;
margin-top
:
pxToRem
(
20
px
);
margin-top
:
pxToRem
(
8
px
);
font-size
:
pxToRem
(
24px
);
line-height
:
1
;
...
...
template/m.yohobuy.com/partials/product/recommend-content.phtml
View file @
c1f8d1f
...
...
@@ -4,6 +4,9 @@
{{#recommendList}}
<a class="swiper-slide" href="{{url}}">
<img class="swiper-lazy img-box" data-src="{{thumb}}">
<div class="sale-name">
{{name}}
</div>
<div class="price">
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}<span class="old-price">¥{{.}}</span>{{/price}}
...
...
Please
register
or
login
to post a comment