适配重构促销

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 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 class="goods-price-promotionShow goods-price-bigshow">{{
@ -160,7 +160,11 @@ export default {
buyMask: {
type: Boolean,
default: false,
},
},
isGroup: {
type: Boolean,
default: false,
},
goodsDetail: {
default: "",
type: null,

View File

@ -343,7 +343,8 @@
@closeBuy="closePopupBuy"
@queryCart="cartCount()"
:goodsDetail="goodsDetail"
:goodsSpec="goodsSpec"
:goodsSpec="goodsSpec"
:isGroup="isGroup"
:id="productId"
v-if="goodsDetail.id"
:pointDetail="pointDetail"