修复pc显示促销价格问题
parent
2e5eefc079
commit
1afd1704ab
|
@ -44,15 +44,9 @@
|
||||||
<!-- 商品详细 价格、优惠券、促销 -->
|
<!-- 商品详细 价格、优惠券、促销 -->
|
||||||
<div class="item-detail-price-row">
|
<div class="item-detail-price-row">
|
||||||
<div class="item-price-left">
|
<div class="item-price-left">
|
||||||
<!-- 商品原价 -->
|
|
||||||
<div class="item-price-row" v-if="!skuDetail.promotionPrice">
|
|
||||||
<p>
|
|
||||||
<span class="item-price-title">价 格</span>
|
|
||||||
<span class="item-price">{{ skuDetail.price | unitPrice("¥") }}</span>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<!-- 秒杀价格 -->
|
<!-- 秒杀价格 -->
|
||||||
<div class="item-price-row" v-if="skuDetail.promotionPrice">
|
<div class="item-price-row" v-if="skuDetail.promotionPrice && promotionMap['SECKILL']">
|
||||||
<p>
|
<p>
|
||||||
<span class="item-price-title" v-if="promotionMap['SECKILL']"
|
<span class="item-price-title" v-if="promotionMap['SECKILL']"
|
||||||
>秒 杀 价</span
|
>秒 杀 价</span
|
||||||
|
@ -65,6 +59,13 @@
|
||||||
}}</span>
|
}}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 商品原价 -->
|
||||||
|
<div class="item-price-row" v-else>
|
||||||
|
<p>
|
||||||
|
<span class="item-price-title">价 格</span>
|
||||||
|
<span class="item-price">{{ skuDetail.price | unitPrice("¥") }}</span>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<!-- 优惠券展示 -->
|
<!-- 优惠券展示 -->
|
||||||
<div class="item-price-row" v-if="promotionMap['COUPON'].length">
|
<div class="item-price-row" v-if="promotionMap['COUPON'].length">
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue