Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
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
biao
2015-12-31 14:17:26 +0800
Commit
38c68c0a248c4a04c9c6c01581644c5b98d618c7
1 parent
452ca5f9
update to add good name for recommend-for-you. code review by HongFei
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 @
38c68c0
...
...
@@ -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 @
38c68c0
...
...
@@ -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