Authored by 梁志锋

update home

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