Authored by Lynnic

update

... ... @@ -17,7 +17,10 @@ var introUrl = $('#introUrl').val(),
end = false;
var sizeSwiper,
refSwiper;
refSwiper,
recommendSwiper;
require('../recommend-for-you.js');
function search() {
if (searching || end) {
... ... @@ -46,6 +49,15 @@ function search() {
slidesPerView: 'auto'
});
//优选
recommendSwiper = new Swiper('#swiper-recommend', {
slidesPerView: 'auto',
grabCursor: true,
slideElement: 'li',
lazyLoading: true,
watchSlidesVisibility: true
});
searching = false;
end = true;
loading.hideLoadingMask();
... ...
... ... @@ -12,6 +12,8 @@ var goodsSwiper;
require('./desc');
require('./comments-consults');
// require('../recommend-for-you.js');
lazyLoad($('img.lazy'));
//顶部swiper
... ...
... ... @@ -6,6 +6,7 @@
margin-top: pxToRem(22px);
}
.detail{
background-color: $tableCellC;
&.table .inner-container{
background-color: $tableCellC;
}
... ...
... ... @@ -2,8 +2,6 @@
<div class="good-detail-page yoho-page">
<div class="banner-container">
<div class="tag-container">
<p class="good-tag new-tag">NEW</p>
<p class="good-tag renew-tag">再到着</p>
{{# tags}}
{{# is_new}}
<p class="good-tag new-tag">NEW</p>
... ... @@ -104,8 +102,6 @@
<div id="productDesc"></div>
<!-- {{>product/product-description}} -->
{{#cartInfo}}
<div class="cart-bar">
{{#if numInCart}}
... ...
... ... @@ -131,3 +131,5 @@
</div>
</div>
{{/productDetail}}
{{> product/recommend-for-you}}
\ No newline at end of file
... ...