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
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
d87c699d39047f00dbabd19196b0eede6b8b887f
1 parent
cf97d1a6
解决问题: 1. 购物车点击物品勾选框时容易点到图片。 2.替换为你优选的人民币符号。code review by XWG
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
static/sass/cart/_good.scss
template/m.yohobuy.com/partials/cart/good.phtml
template/m.yohobuy.com/partials/product/recommend-content.phtml
static/sass/cart/_good.scss
View file @
d87c699
...
...
@@ -3,6 +3,14 @@
position
:
relative
;
padding-left
:
16rem
/
$pxConvertRem
;
.prevent-img-click
{
width
:
0
.5rem
;
height
:
5rem
;
position
:
absolute
;
background-color
:
transprent
;
z-index
:
99
;
}
.checkbox
{
position
:
absolute
;
top
:
50%
;
...
...
template/m.yohobuy.com/partials/cart/good.phtml
View file @
d87c699
...
...
@@ -8,6 +8,7 @@
{{/if}}
<div class="info">
<div class="prevent-img-click"></div>
<a href="{{link}}">
<img class="thumb lazy" data-original="{{thumb}}">
</a>
...
...
template/m.yohobuy.com/partials/product/recommend-content.phtml
View file @
d87c699
...
...
@@ -5,11 +5,11 @@
<a class="swiper-slide" href="{{url}}">
<img class="swiper-lazy img-box" data-src="{{thumb}}">
<div class="price">
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}<span class="old-price">¥{{.}}</span>{{/price}}
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}<span class="old-price">¥{{.}}</span>{{/price}}
</div>
<div class="swiper-lazy-preloader"></div>
</a>
{{/recommendList}}
</div>
</div>
\ No newline at end of file
</div>
...
...
Please
register
or
login
to post a comment