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
Plain Diff
Browse Files
Authored by
fei.hong
2015-12-31 14:22:24 +0800
Commit
e79093fbe2983969d3668dfba981d284319df8a7
2 parents
452ca5f9
38c68c0a
Merge branch 'feature/updateRMFY' into 'develop'
为你优选加入商品名称 See merge request !89
Show 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 @
e79093f
...
...
@@ -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 @
e79093f
...
...
@@ -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