This commit is contained in:
gyq
2025-11-18 11:18:09 +08:00
parent 9904c044c3
commit 9441a3c6d8
9 changed files with 81 additions and 921 deletions

View File

@@ -119,14 +119,16 @@
</div>
</div>
<div v-else>
<div v-if="useVipPrice && vipAllPrice * 1 != allPrice * 1">
<div v-if="useVipPrice && vipAllPrice * 1 != allPrice * 1 && item.lowMemberPrice <= 0">
¥{{ to2(vipAllPrice) }}
</div>
<div :class="{
'free-price': useVipPrice && vipAllPrice != allPrice,
}">
<span class="onderline" v-if="cartStore.useVipPrice && item.memberPrice !== item.salePrice">¥{{
to2(item.salePrice) }}</span>
<span class="onderline"
v-if="cartStore.useVipPrice && item.memberPrice !== item.salePrice && item.lowMemberPrice > 0">
¥{{ to2(item.salePrice) }}
</span>
<span>¥{{ to2(allPrice) }}</span>
</div>
</div>

View File

@@ -15,7 +15,7 @@
<span class="sale_price">{{ item.time_discount_price }}</span>
</div>
<div class="limit_wrap" v-else>
<template v-if="cartStore.useVipPrice && item.lowPrice !== item.lowMemberPrice">
<template v-if="cartStore.useVipPrice && item.lowMemberPrice > 0">
<span class="o_price">{{ item.lowPrice }}</span>
<span>{{ item.lowMemberPrice }}</span>
</template>

View File

@@ -68,7 +68,7 @@
<div class="u-flex u-col-center u-m-t-20 no-wrap">
<span class="u-font-14 font-bold u-m-r-20">优惠券</span>
<div
v-if="carts.orderCostSummary.fullReduction.usedThreshold !== undefined && carts.orderCostSummary.fullReduction.usedThreshold.activityId"
v-if="carts.orderCostSummary.fullReduction !== undefined && carts.orderCostSummary.fullReduction.actualAmount > 0"
style="font-size: 14px;color: #555;">参与满减活动不可用优惠券</div>
<div class="u-flex my-select" @click="openCoupon" v-else>
<span class="u-m-r-10">选择优惠券</span>