修复pc显示促销价格问题

master
paulGao 2022-01-04 09:21:00 +08:00
parent 2e5eefc079
commit 1afd1704ab
1 changed files with 9 additions and 8 deletions

View File

@ -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"> &nbsp;&nbsp;&nbsp;&nbsp;</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']"
> &nbsp;&nbsp;</span > &nbsp;&nbsp;</span
@ -65,6 +59,13 @@
}}</span> }}</span>
</p> </p>
</div> </div>
<!-- 商品原价 -->
<div class="item-price-row" v-else>
<p>
<span class="item-price-title"> &nbsp;&nbsp;&nbsp;&nbsp;</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>