|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-04 17:30:58
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-05-10 17:41:16
|
|
|
|
|
* @LastEditTime: 2022-05-10 18:06:21
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
<UiButton radius type="red_panel" @click="submit">立即支付</UiButton>
|
|
|
|
|
</div>
|
|
|
|
|
<BsPay :visible.sync="payVisible" :orderId="payOrder.orderId" :timer="payTimerTxt"
|
|
|
|
|
@cancel="cancelPay" @finish="finishPay"/>
|
|
|
|
|
@cancel="cancelPay" @finish="finishPay" :money="orderInfo.payAmount"/>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
@ -145,7 +145,7 @@ export default {
|
|
|
|
|
let minute = parseInt(this.payStartSecondNum / 60);
|
|
|
|
|
let second = parseInt(this.payStartSecondNum % 60);
|
|
|
|
|
this.payTimerTxt = `剩余${minute > 0 ? `${minute}分` : ''} ${second}秒`;
|
|
|
|
|
this.payTimerStop = setTimeout(()=>this.timer(),1000)
|
|
|
|
|
this.payTimerStop = setTimeout(()=>this.timer(),1000);
|
|
|
|
|
},
|
|
|
|
|
cancelPay(){
|
|
|
|
|
this.$router.replace(`/account/order/detail?id=${this.payOrder.orderId}`)
|
|
|
|
|