Fix:5850 【礼品集采中心小程序】我的订单-集采中心,商城小程序自建礼品订单详情页,自建礼品关闭礼品价值时隐藏礼品价值

This commit is contained in:
linxi
2026-08-24 11:54:01 +08:00
parent a427cfbb92
commit 007e80bebb
+16 -9
View File
@@ -246,22 +246,29 @@
</view> </view>
<view class="" v-if="getOrderDetailDisplayItems(orderInfo).length && (d === getOrderDetailDisplayItems(orderInfo).length - 1) && orderInfo.isDrawOrder === 0"> <view class="" v-if="getOrderDetailDisplayItems(orderInfo).length && (d === getOrderDetailDisplayItems(orderInfo).length - 1) && orderInfo.isDrawOrder === 0">
<view class="v12-justify-between v12-align-center v12-mt-3 v12-dark-text" v-if="orderInfo.isGiftCardReceiveBlind === 0"> <view class="v12-justify-between v12-align-center v12-mt-3 v12-dark-text" v-if="orderInfo.isGiftCardReceiveBlind === 0">
<view class="v12-font-24 v12-dark-text"> <view class="" v-if="isCustomGiftOrder(orderInfo)">
{{ isCustomGiftOrder(orderInfo) ? '礼品价值' : '商品总价' }} <view class="v12-font-24 v12-dark-text" v-if="orderInfo.customGiftInfo.isShowValue">
{{ '礼品价值' }}
</view> </view>
<view class="v12-text-right"> <view class="v12-text-right" v-if="orderInfo.customGiftInfo.isShowValue">
<text class="v12-font-22">¥</text> <text class="v12-font-22">¥</text>
<text class="v12-font-28" v-if="!orderInfo.customGiftInfo">
{{ force2Decimal(orderInfo.totalPrice) }}
</text>
<text class="v12-font-28" v-if="orderInfo.customGiftInfo && !orderInfo.customGiftInfo.isShowValue">
{{ force2Decimal(orderInfo.totalPrice) }}
</text>
<text class="v12-font-28" v-if="orderInfo.customGiftInfo && orderInfo.customGiftInfo.isShowValue"> <text class="v12-font-28" v-if="orderInfo.customGiftInfo && orderInfo.customGiftInfo.isShowValue">
{{ force2Decimal(orderInfo.customGiftInfo.giftValue) }} {{ force2Decimal(orderInfo.customGiftInfo.giftValue) }}
</text> </text>
</view> </view>
</view> </view>
<view class="" v-else>
<view class="v12-font-24 v12-dark-text">
{{ '商品总价' }}
</view>
<view class="v12-text-right">
<text class="v12-font-22">¥</text>
<text class="v12-font-28">
{{ force2Decimal(orderInfo.totalPrice) }}
</text>
</view>
</view>
</view>
<view class="v12-justify-between v12-align-center v12-mt-3" v-if="orderInfo.payPostage > 0"> <view class="v12-justify-between v12-align-center v12-mt-3" v-if="orderInfo.payPostage > 0">
<view class="v12-font-24 v12-dark-text"> <view class="v12-font-24 v12-dark-text">
运费 运费