Authored by ccbikai

为您优选 修改

... ... @@ -10,7 +10,8 @@ var Swiper = require('yoho.iswiper');
var recommendSwiper;
recommendSwiper = new Swiper('.swiper-recommend', {
lazyLoading: true,
lazyLoadingInPrevNext: true,
// lazyLoading: true,
// lazyLoadingInPrevNext: true,
slidesPerView: 'auto'
});
\ No newline at end of file
... ...
... ... @@ -2,17 +2,17 @@
<div class="recommend-for-you">
<div class="title">为您优选新品</div>
<div class="swiper-recommend">
<div class="swiper-wrapper">
<ul class="swiper-wrapper">
{{#recommendList}}
<div class="swiper-slider">
<li class="swiper-slider">
<img class="img-box" src="{{thumb}}">
<div class="price">
<span class="sale-price"{{salePrice}}</span>
<span class="old-price"{{price}}</span>
</div>
</div>
</li>
{{/recommendList}}
</div>
</ul>
</div>
</div>
{{/ recommendForYou}}
\ No newline at end of file
... ...