问题修复

This commit is contained in:
2025-11-07 16:21:45 +08:00
parent ab350ccc14
commit bfdd099840
7 changed files with 21 additions and 16 deletions

View File

@@ -376,7 +376,7 @@
:class="'c' + (index1 + 1)"
>TOP{{ index1 + 1 }}</view
>
<view class="limitDiscount" v-else-if="showLimitDiscount(item1)"
<view class="limitDiscount" v-else-if="item1.is_time_discount"
>限时折扣</view
>
<view class="goods_right" style="overflow: hidden">
@@ -1962,7 +1962,7 @@ const totalPrices = computed(() => {
}
});
}
if (limitTimeDiscountRes.value && limitTimeDiscountRes.value.id) {
if (limitTimeDiscountRes.value && limitTimeDiscountRes.value.id && item.is_time_discount==1) {
//限时折扣
const price = orderUtils.returnPrice({
goods: item,