Showing
2 changed files
with
9 additions
and
8 deletions
@@ -8,6 +8,7 @@ var $ = require('yoho.zepto'), | @@ -8,6 +8,7 @@ var $ = require('yoho.zepto'), | ||
8 | lazyLoad = require('yoho.zeptolazyload'), | 8 | lazyLoad = require('yoho.zeptolazyload'), |
9 | bannerSwiper, | 9 | bannerSwiper, |
10 | recommendSwiper, | 10 | recommendSwiper, |
11 | + hotBrandsSwiper, | ||
11 | trendTopicSwiper, | 12 | trendTopicSwiper, |
12 | goodsSwiper; | 13 | goodsSwiper; |
13 | 14 | ||
@@ -93,12 +94,12 @@ if ($('.banner-swiper').find('li').size() > 1) { | @@ -93,12 +94,12 @@ if ($('.banner-swiper').find('li').size() > 1) { | ||
93 | } | 94 | } |
94 | 95 | ||
95 | //热门品牌滑动 | 96 | //热门品牌滑动 |
96 | -// hotBrandsSwiper = new Swiper('.brands-swiper', { | ||
97 | -// grabCursor: true, | ||
98 | -// slidesPerView: 'auto', | ||
99 | -// wrapperClass: 'brands-list', | ||
100 | -// slideElement: 'li' | ||
101 | -// }); | 97 | +hotBrandsSwiper = new Swiper('.brands-swiper', { |
98 | + grabCursor: true, | ||
99 | + slidesPerView: 'auto', | ||
100 | + wrapperClass: 'brands-list', | ||
101 | + slideElement: 'li' | ||
102 | +}); | ||
102 | 103 | ||
103 | //推荐搭配滑动 | 104 | //推荐搭配滑动 |
104 | recommendSwiper = new Swiper('.recommend-swiper', { | 105 | recommendSwiper = new Swiper('.recommend-swiper', { |
-
Please register or login to post a comment