|
@@ -31,8 +31,13 @@
|
|
|
<template slot="footer">
|
|
|
<view class="footer-btn-group">
|
|
|
<u-button v-if="detail.ifCancel" text="取消订单" @click="cancelOrder"></u-button>
|
|
|
- <!-- <u-button text="扫码支付" type="primary" @click="scanCode"></u-button> -->
|
|
|
- <u-button text="线下支付" type="primary" @click="scanCodeXX"></u-button>
|
|
|
+ <u-button
|
|
|
+ v-if="detail.greeOrderId && detail.payType == 'WECHAT'"
|
|
|
+ text="扫码支付"
|
|
|
+ type="primary"
|
|
|
+ @click="scanCode"
|
|
|
+ ></u-button>
|
|
|
+ <u-button v-else text="线下支付" type="primary" @click="scanCodeXX"></u-button>
|
|
|
</view>
|
|
|
</template>
|
|
|
</zj-page-layout>
|