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

This commit is contained in:
linxi
2026-08-24 11:54:01 +08:00
parent a427cfbb92
commit 007e80bebb
+20 -13
View File
@@ -246,20 +246,27 @@
</view>
<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-font-24 v12-dark-text">
{{ isCustomGiftOrder(orderInfo) ? '礼品价值' : '商品总价' }}
<view class="" v-if="isCustomGiftOrder(orderInfo)">
<view class="v12-font-24 v12-dark-text" v-if="orderInfo.customGiftInfo.isShowValue">
{{ '礼品价值' }}
</view>
<view class="v12-text-right" v-if="orderInfo.customGiftInfo.isShowValue">
<text class="v12-font-22"></text>
<text class="v12-font-28" v-if="orderInfo.customGiftInfo && orderInfo.customGiftInfo.isShowValue">
{{ force2Decimal(orderInfo.customGiftInfo.giftValue) }}
</text>
</view>
</view>
<view class="v12-text-right">
<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">
{{ force2Decimal(orderInfo.customGiftInfo.giftValue) }}
</text>
<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">