Authored by 梁志锋

update home

... ... @@ -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', {
... ...
... ... @@ -21,8 +21,8 @@
align-items:center;
justify-content: center;
img {
max-width: 80%;
max-height: 80%;
max-width: 100%;
max-height: 100%;
}
}
.linkbar {
... ...