Fix:3985 【商城小程序】待支付礼包订单提示修改

This commit is contained in:
LinCyJang
2025-07-09 00:26:57 +08:00
parent 180bc0c0ad
commit e1a9600565
+4 -3
View File
@@ -157,15 +157,16 @@
</view>
</view>
<view class="bottom" v-else>
<view class="v12-font-24 v12-grey tips-text" v-if="getGiftTips(order.giftCardInfo) && Number(order._status._type) !== 0 && Number(order._status._type) !== 9">
{{ getGiftTips(order.giftCardInfo) }}
<view class="v12-font-24 v12-grey tips-text" >
{{ Number(order.status) === 0 ? '待支付' : Number(order.status) === 9 ? '已取消' : getGiftTips(order.giftCardInfo) }}
</view>
<view class="flex jc-between ai-center">
<view class="bnt btn-service flex jc-center ai-center v12-font-24" @click="goRoom(order)"
v-if="order.merName">联系商家
</view>
<view class="v12-align-center">
<button v-if="Number(order._status._type) !== 0 && getGiftTips(order.giftCardInfo) && order.giftCardInfo.giftCardStatus !== 2 && order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum" open-type="share" @click="shareGift(order)" class="gift-btn service v12-primary-text v12-primary-border" >送给朋友</button>
<button v-if="Number(order.status) !== 0 && getGiftTips(order.giftCardInfo) && order.giftCardInfo.giftCardStatus !== 2 && order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum" open-type="share" @click="shareGift(order)" class="gift-btn service v12-primary-text v12-primary-border" >送给朋友</button>
<button v-if="Number(order.status) === 0 " @click="subscribePay(order)" class="gift-btn service v12-primary-text v12-primary-border" >立即支付</button>
<!-- 查看详情 -->
<view class="bnt service v12-primary-text v12-primary-border" @click="goOrderDetails(order)">查看详情</view>
</view>