Authored by Lynnic

添加为您优选

@@ -17,8 +17,7 @@ var introUrl = $('#introUrl').val(), @@ -17,8 +17,7 @@ var introUrl = $('#introUrl').val(),
17 end = false; 17 end = false;
18 18
19 var sizeSwiper, 19 var sizeSwiper,
20 - refSwiper,  
21 - recommendSwiper; 20 + refSwiper;
22 21
23 require('../recommend-for-you.js'); 22 require('../recommend-for-you.js');
24 23
@@ -50,13 +49,13 @@ function search() { @@ -50,13 +49,13 @@ function search() {
50 }); 49 });
51 50
52 //优选 51 //优选
53 - recommendSwiper = new Swiper('#swiper-recommend', {  
54 - slidesPerView: 'auto',  
55 - grabCursor: true,  
56 - slideElement: 'li',  
57 - lazyLoading: true,  
58 - watchSlidesVisibility: true  
59 - }); 52 + // recommendSwiper = new Swiper('#swiper-recommend', {
  53 + // slidesPerView: 'auto',
  54 + // grabCursor: true,
  55 + // slideElement: 'li',
  56 + // lazyLoading: true,
  57 + // watchSlidesVisibility: true
  58 + // });
60 59
61 searching = false; 60 searching = false;
62 end = true; 61 end = true;
@@ -11,8 +11,7 @@ var goodsSwiper; @@ -11,8 +11,7 @@ var goodsSwiper;
11 11
12 require('./desc'); 12 require('./desc');
13 require('./comments-consults'); 13 require('./comments-consults');
14 -  
15 -// require('../recommend-for-you.js'); 14 +require('../recommend-for-you.js');
16 15
17 lazyLoad($('img.lazy')); 16 lazyLoad($('img.lazy'));
18 17
@@ -378,6 +378,10 @@ $basicBtnC:#eb0313; @@ -378,6 +378,10 @@ $basicBtnC:#eb0313;
378 font-size: pxToRem(24px); 378 font-size: pxToRem(24px);
379 } 379 }
380 } 380 }
  381 +
  382 + .recommend-for-you{
  383 + margin-bottom: pxToRem(120px);
  384 + }
381 } 385 }
382 @import "comments-consults"; 386 @import "comments-consults";
383 @import "product-description"; 387 @import "product-description";
@@ -90,7 +90,7 @@ @@ -90,7 +90,7 @@
90 } 90 }
91 } 91 }
92 margin-top: pxToRem(30px); 92 margin-top: pxToRem(30px);
93 - margin-bottom: pxToRem(120px); 93 + margin-bottom: pxToRem(30px);
94 } 94 }
95 .detail-swiper { 95 .detail-swiper {
96 .swiper-wrapper { 96 .swiper-wrapper {
@@ -101,7 +101,8 @@ @@ -101,7 +101,8 @@
101 {{/ enterStore}} 101 {{/ enterStore}}
102 102
103 <div id="productDesc"></div> 103 <div id="productDesc"></div>
104 - 104 + {{> product/recommend-for-you}}
  105 +
105 {{#cartInfo}} 106 {{#cartInfo}}
106 <div class="cart-bar"> 107 <div class="cart-bar">
107 {{#if numInCart}} 108 {{#if numInCart}}
@@ -130,6 +130,4 @@ @@ -130,6 +130,4 @@
130 {{/list}} 130 {{/list}}
131 </div> 131 </div>
132 </div> 132 </div>
133 -{{/productDetail}}  
134 -  
135 -{{> product/recommend-for-you}}  
  133 +{{/productDetail}}