Authored by xuqi

售价与市场价一致时不显示售价

... ... @@ -76,7 +76,6 @@ module.exports = function(flag) {
thumb: 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
name: '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',
isLike: false,
price: 589,
salePrice: 148,
isSale: false,
isFew: false,
... ...
... ... @@ -80,6 +80,9 @@
.sale-price {
color: #d62927;
}
.sale-price.no-price {
color: #000;
}
.market-price {
margin: 0 0 0 (5rem / $pxConvertRem);
color: #b0b0b0;
... ...
... ... @@ -30,8 +30,10 @@
<a href="{{url}}">{{name}}</a>
</div>
<div class="price">
<span class="sale-price">¥{{salePrice}}</span>
<span class="market-price">¥{{price}}</span>
<span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
{{#price}}
<span class="market-price">¥{{.}}</span>
{{/price}}
</div>
</div>
</div>
\ No newline at end of file
... ...