Authored by Lynnic

fixed bugs in goods detail page

... ... @@ -19,7 +19,6 @@ lazyLoad($('img.lazy'));
goodsSwiper = new Swiper('.banner-swiper', {
lazyLoading: true,
lazyLoadingInPrevNext: true,
loop: true,
paginationClickable: true,
pagination: '.banner-top .pagination-inner',
nextButton: '.my-swiper-button-next',
... ...
... ... @@ -111,10 +111,17 @@ $basicBtnC:#eb0313;
display: table-cell;
padding: pxToRem(16px) pxToRem(12px);
width: 50%;
border: 1px solid #fff;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
font-size: pxToRem(24px);
background-color: $tableCellC;
float: left;
&:last-child{
border-bottom: none;
}
&:nth-child(even){
border-right: none;
}
}
// }
}
... ... @@ -185,7 +192,6 @@ $basicBtnC:#eb0313;
padding-left: pxToRem(28px);
padding-right: pxToRem(28px);
border-bottom: 1px solid $borderC;
margin-bottom: pxToRem(30px);
background-color: #f4f4f4;
}
.price-date {
... ...
... ... @@ -13,11 +13,14 @@
&.table .inner-container{
background-color: $tableCellC;
}
margin-bottom: 1px;
}
.desc-text {
font-size: pxToRem(24px);
padding: pxToRem(16px) pxToRem(12px);
margin-bottom: pxToRem(20px);
color: $mainFontC;
background-color: $tableCellC;
}
}
.tips {
... ... @@ -47,6 +50,9 @@
font-size: pxToRem(24px);
overflow: hidden;
}
&:last-child{
border-bottom: none;
}
}
}
// .material-type {
... ...
... ... @@ -39,8 +39,8 @@
<div class="price-date">
{{# goodsPrice}}
<div class="goodsPrice">
<h1 class="currentPrice">{{currentPrice}}</h1>
<h1 class="previousPrice">{{previousPrice}}</h1>
<h1 class="currentPrice"{{currentPrice}}</h1>
<h1 class="previousPrice"{{previousPrice}}</h1>
</div>
{{/ goodsPrice}}
... ... @@ -57,7 +57,6 @@
{{# list}}
<li class="icons-item">
<span class="vip-img" style="background-size:cover;">
<!-- <div class="img" alt="" style="background-size:cover;"></div> -->
</span>
<span class="vip-price">{{text}}</span>
</li>
... ... @@ -65,17 +64,6 @@
</ul>
{{/vipLevel}}
<!-- {{# vipLevel}}
<div class="vipLevel">
{{# list}}
<span class="vip-img">
<div class="img" alt="" style="background-size:cover;"></div>
</span>
<span class="vip-price">{{text}}</span>
{{/ list}}
</div>
{{/ vipLevel}} -->
{{# goodsDiscount}}
<div class="goodsDiscount">
{{# list}}
... ... @@ -117,7 +105,8 @@
</div>
{{/ enterStore}}
<div id="productDesc"></div>
<!-- <div id="productDesc"></div> -->
{{> product/product-description}}
{{> product/recommend-for-you}}
{{#cartInfo}}
... ...
... ... @@ -59,7 +59,7 @@
<span class="iconfont">&#xe63c;</span>暂无咨询
</div>
<div class="consult-content-footer">
<a href="/consultform">
<a href="/product/detail/consultform">
我要咨询
<span class="iconfont">&#xe604;</span></a>
</div>
... ...
... ... @@ -67,7 +67,12 @@
{{#list}}
{{#if @first}}
<div class="swiper-slide first-group" >
{{#params}}
{{#if @first}}
{{else}}
<img class="avatar lazy" data-original="{{param}}" alt="">
{{/if}}
{{/params}}
</div>
{{else}}
<div class="swiper-slide" >
... ...