@@ -30,7 +30,7 @@
<template slot="footer">
<view class="footer-btn-group">
- <u-button text="取消订单" @click="cancelOrder"></u-button>
+ <u-button v-if="detail.ifCancel" text="取消订单" @click="cancelOrder"></u-button>
<u-button text="扫码支付" type="primary" @click="scanCode"></u-button>
</view>
</template>