Authored by 梁志锋

update swipe

framework @ 119c247f
1 -Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2 1 +Subproject commit 119c247f5cf929aa1e059e40609bb16dd6b58f05
@@ -148,7 +148,7 @@ function rePosFooter() { @@ -148,7 +148,7 @@ function rePosFooter() {
148 window._ozuid = uid;//暴露ozuid 148 window._ozuid = uid;//暴露ozuid
149 149
150 if (window._yas) { 150 if (window._yas) {
151 - window._yas(1 * new Date(), '1.0.12', 'yohobuy_m', uid, ''); 151 + window._yas(1 * new Date(), '1.0.13', 'yohobuy_m', uid, '');
152 } 152 }
153 }()); 153 }());
154 154
1 {{> home/floor_header_more}} 1 {{> home/floor_header_more}}
2 <div class="goods-category"> 2 <div class="goods-category">
3 {{# big_image}} 3 {{# big_image}}
  4 + {{#if list}}
  5 + <div class="category-swiper">
  6 + <ul class="swiper-wrapper">
  7 + {{# list}}
  8 + <li class="swiper-slide">
  9 + <a href="{{url}}">
  10 + <img class="lazy" data-original="{{img}}" alt="{{title}}">
  11 + </a>
  12 + </li>
  13 + {{/ list}}
  14 + </ul>
  15 + <div class="swiper-pagination">
  16 + <div class="pagination-inner clearfix">
  17 + </div>
  18 + </div>
  19 + </div>
  20 + {{^}}
4 <div class="category-swiper"> 21 <div class="category-swiper">
5 - <ul class="swiper-wrapper">  
6 - {{# list}}  
7 - <li class="swiper-slide">  
8 - <a href="{{url}}">  
9 - <img class="lazy" data-original="{{img}}" alt="{{title}}">  
10 - </a>  
11 - </li>  
12 - {{/ list}}  
13 - </ul>  
14 - <div class="swiper-pagination">  
15 - <div class="pagination-inner clearfix">  
16 - </div>  
17 - </div> 22 + <a href={{url}}>
  23 + <img class="lazy" data-original="{{img}}" alt="{{title}}">
  24 + </a>
18 </div> 25 </div>
  26 + {{/if}}
19 {{/ big_image}} 27 {{/ big_image}}
20 <ul class="category-list clearfix"> 28 <ul class="category-list clearfix">
21 {{# list}} 29 {{# list}}
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 a.async=1; 28 a.async=1;
29 a.src=j; 29 a.src=j;
30 m.parentNode.insertBefore(a,m); 30 m.parentNode.insertBefore(a,m);
31 - })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.12/yas.js','_yas'); 31 + })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.13/yas.js','_yas');
32 </script> 32 </script>
33 {{> layout/use}} 33 {{> layout/use}}
34 {{> layout/analysis}} 34 {{> layout/analysis}}
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 a.async=1; 28 a.async=1;
29 a.src=j; 29 a.src=j;
30 m.parentNode.insertBefore(a,m); 30 m.parentNode.insertBefore(a,m);
31 - })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.12/yas.js','_yas'); 31 + })(window,document,'script','http://cdn.yoho.cn/yas-jssdk/1.0.13/yas.js','_yas');
32 </script> 32 </script>
33 33
34 {{> layout/use}} 34 {{> layout/use}}