Fix:5452 【商城小程序】收礼方申请退款被商家拒绝后,礼包订单详情显示“立即评价”按钮
This commit is contained in:
@@ -571,7 +571,11 @@
|
|||||||
<view class="v12-justify-between ">
|
<view class="v12-justify-between ">
|
||||||
|
|
||||||
<view class="bnt v12-dark-text v12-dark-border cancel" @click="buyAgin">再买一单</view>
|
<view class="bnt v12-dark-text v12-dark-border cancel" @click="buyAgin">再买一单</view>
|
||||||
<view class="bnt v12-primary-text v12-primary-border" @click="routerGo(orderInfo.cartInfo[0])">立即评价</view>
|
<view
|
||||||
|
v-if="!isGiftOrder(orderInfo)"
|
||||||
|
class="bnt v12-primary-text v12-primary-border"
|
||||||
|
@click="routerGo(orderInfo.cartInfo[0])"
|
||||||
|
>立即评价</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -1057,6 +1061,9 @@ export default {
|
|||||||
}
|
}
|
||||||
return imgUrl;
|
return imgUrl;
|
||||||
},
|
},
|
||||||
|
isGiftOrder(order = {}) {
|
||||||
|
return Number(order.isGiftCardSend || 0) === 1 || Number(order.isGiftCardReceive || 0) === 1
|
||||||
|
},
|
||||||
subscribePay() {
|
subscribePay() {
|
||||||
uni.requestSubscribeMessage({
|
uni.requestSubscribeMessage({
|
||||||
tmplIds: settings.SubscribeMessageTmplIds,
|
tmplIds: settings.SubscribeMessageTmplIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user