Fix:Bug

用例
测试单
报告
套件
3984 【商城小程序】未支付1h后自动取消的订单,将礼包订单提示“undefined”改为“订单已取消”,删除【送给朋友】按钮
This commit is contained in:
LinCyJang
2025-07-06 22:36:20 +08:00
parent 26cf65ee50
commit b767f4193f
+2 -2
View File
@@ -157,7 +157,7 @@
</view>
</view>
<view class="bottom" v-else>
<view class="v12-font-24 v12-grey tips-text">
<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>
<view class="flex jc-between ai-center">
@@ -165,7 +165,7 @@
v-if="order.merName">联系商家
</view>
<view class="v12-align-center">
<button v-if="order.giftCardInfo.giftCardStatus !== 2 && order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum" open-type="share" @click="shareGift(item)" class="gift-btn service v12-primary-text v12-primary-border" >送给朋友</button>
<button v-if="Number(order._status._type) !== 0 && Number(order._status._type) !== 9 && getGiftTips(order.giftCardInfo) && order.giftCardInfo.giftCardStatus !== 2 && order.giftCardInfo.giftNum !== order.giftCardInfo.receiveNum" open-type="share" @click="shareGift(item)" 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>