...
|
...
|
@@ -8,6 +8,7 @@ var $ = require('yoho.zepto'), |
|
|
lazyLoad = require('yoho.zeptolazyload'),
|
|
|
bannerSwiper,
|
|
|
recommendSwiper,
|
|
|
hotBrandsSwiper,
|
|
|
trendTopicSwiper,
|
|
|
goodsSwiper;
|
|
|
|
...
|
...
|
@@ -93,12 +94,12 @@ if ($('.banner-swiper').find('li').size() > 1) { |
|
|
}
|
|
|
|
|
|
//热门品牌滑动
|
|
|
// hotBrandsSwiper = new Swiper('.brands-swiper', {
|
|
|
// grabCursor: true,
|
|
|
// slidesPerView: 'auto',
|
|
|
// wrapperClass: 'brands-list',
|
|
|
// slideElement: 'li'
|
|
|
// });
|
|
|
hotBrandsSwiper = new Swiper('.brands-swiper', {
|
|
|
grabCursor: true,
|
|
|
slidesPerView: 'auto',
|
|
|
wrapperClass: 'brands-list',
|
|
|
slideElement: 'li'
|
|
|
});
|
|
|
|
|
|
//推荐搭配滑动
|
|
|
recommendSwiper = new Swiper('.recommend-swiper', {
|
...
|
...
|
|