|
|
@@ -72,9 +72,11 @@
|
|
|
|
|
|
<view class="detail_btn-row-box">
|
|
|
<view class="detail_btn-row">
|
|
|
- <view class="btn cancel-btn" @tap="toCancel" v-if="orderInfo.pay_status === 0">取消订单</view>
|
|
|
- <view class="btn topay-btn" @tap="toPay" v-if="orderInfo.pay_status === 0">立即支付</view>
|
|
|
- <view class="btn topay-btn" @tap="toTake" v-if="[0, 1].includes(orderInfo.order_status)">确认收货</view>
|
|
|
+ <template v-if="orderInfo.order_status != 5">
|
|
|
+ <view class="btn cancel-btn" @tap="toCancel" v-if="[0,1].includes(orderInfo.order_status)">取消订单</view>
|
|
|
+ <view class="btn topay-btn" @tap="toPay" v-if="[0,2].includes(orderInfo.pay_status)">立即支付</view>
|
|
|
+ <view class="btn topay-btn" @tap="toTake" v-if="[0, 1].includes(orderInfo.order_status)&&[1].includes(orderInfo.pay_status)">确认收货</view>
|
|
|
+ </template>
|
|
|
<view class="btn cancel-btn" @tap="goBack">返回</view>
|
|
|
</view>
|
|
|
</view>
|