Authored by Lynnic

添加为您优选

... ... @@ -17,8 +17,7 @@ var introUrl = $('#introUrl').val(),
end = false;
var sizeSwiper,
refSwiper,
recommendSwiper;
refSwiper;
require('../recommend-for-you.js');
... ... @@ -50,13 +49,13 @@ function search() {
});
//优选
recommendSwiper = new Swiper('#swiper-recommend', {
slidesPerView: 'auto',
grabCursor: true,
slideElement: 'li',
lazyLoading: true,
watchSlidesVisibility: true
});
// recommendSwiper = new Swiper('#swiper-recommend', {
// slidesPerView: 'auto',
// grabCursor: true,
// slideElement: 'li',
// lazyLoading: true,
// watchSlidesVisibility: true
// });
searching = false;
end = true;
... ...
... ... @@ -11,8 +11,7 @@ var goodsSwiper;
require('./desc');
require('./comments-consults');
// require('../recommend-for-you.js');
require('../recommend-for-you.js');
lazyLoad($('img.lazy'));
... ...
... ... @@ -378,6 +378,10 @@ $basicBtnC:#eb0313;
font-size: pxToRem(24px);
}
}
.recommend-for-you{
margin-bottom: pxToRem(120px);
}
}
@import "comments-consults";
@import "product-description";
\ No newline at end of file
... ...
... ... @@ -90,7 +90,7 @@
}
}
margin-top: pxToRem(30px);
margin-bottom: pxToRem(120px);
margin-bottom: pxToRem(30px);
}
.detail-swiper {
.swiper-wrapper {
... ...
... ... @@ -101,7 +101,8 @@
{{/ enterStore}}
<div id="productDesc"></div>
{{> product/recommend-for-you}}
{{#cartInfo}}
<div class="cart-bar">
{{#if numInCart}}
... ...
... ... @@ -130,6 +130,4 @@
{{/list}}
</div>
</div>
{{/productDetail}}
{{> product/recommend-for-you}}
\ No newline at end of file
{{/productDetail}}
\ No newline at end of file
... ...