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}}
4 <div class="category-swiper"> 5 <div class="category-swiper">
5 <ul class="swiper-wrapper"> 6 <ul class="swiper-wrapper">
6 {{# list}} 7 {{# list}}
@@ -16,6 +17,13 @@ @@ -16,6 +17,13 @@
16 </div> 17 </div>
17 </div> 18 </div>
18 </div> 19 </div>
  20 + {{^}}
  21 + <div class="category-swiper">
  22 + <a href={{url}}>
  23 + <img class="lazy" data-original="{{img}}" alt="{{title}}">
  24 + </a>
  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}}