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