适配重构促销

master
paulGao 2021-12-13 19:31:48 +08:00
parent b4c8be3e63
commit f22e7b9fcb
2 changed files with 8 additions and 3 deletions

View File

@ -23,7 +23,7 @@
</view> </view>
<view class="goods-skus"> <view class="goods-skus">
<!-- 有活动商品价格 --> <!-- 有活动商品价格 -->
<view class="goods-price" v-if="goodsDetail.promotionPrice"> <view class="goods-price" v-if="goodsDetail.promotionPrice && ((isGroup && buyType === 'PINTUAN') || !isGroup)">
<span v-if="goodsDetail.promotionPrice && !pointDetail"> <span v-if="goodsDetail.promotionPrice && !pointDetail">
<span class="goods-price-promotionShow goods-price-bigshow">{{ <span class="goods-price-promotionShow goods-price-bigshow">{{
@ -161,6 +161,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
isGroup: {
type: Boolean,
default: false,
},
goodsDetail: { goodsDetail: {
default: "", default: "",
type: null, type: null,

View File

@ -344,6 +344,7 @@
@queryCart="cartCount()" @queryCart="cartCount()"
:goodsDetail="goodsDetail" :goodsDetail="goodsDetail"
:goodsSpec="goodsSpec" :goodsSpec="goodsSpec"
:isGroup="isGroup"
:id="productId" :id="productId"
v-if="goodsDetail.id" v-if="goodsDetail.id"
:pointDetail="pointDetail" :pointDetail="pointDetail"