|
@@ -157,8 +157,8 @@
|
|
|
|
|
|
<van-popup v-model="orderPayStatus" position='bottom'>
|
|
|
<!-- <van-count-down :time='time' /> -->
|
|
|
- <p class="countDownContent">恭喜您抢占席位成功,请您在(<van-count-down format="ss" @finish="finished" :time='time' />秒)内完成支付!</p>
|
|
|
- <iframe class="iframe" src="./orderpay.html" width="100%" height="100%" frameborder="0" scrolling='auto' seamless></iframe>
|
|
|
+ <p class="countDownContent">恭喜您抢占席位成功,请您在<span style="color: #F00"><van-count-down format="ss" @finish="finished" :time='time' />秒</span>内完成支付!</p>
|
|
|
+ <iframe class="iframe" id="iframe" src="./orderpay.html" width="100%" height="100%" frameborder="0" scrolling='auto' seamless></iframe>
|
|
|
</van-popup>
|
|
|
|
|
|
<!-- <van-overlay :show="true" @click="show = false" >
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
// 初始化计算金额
|
|
|
this.calcPrice()
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
auxiliarie(index) {
|
|
@@ -385,6 +385,10 @@ export default {
|
|
|
axios.post('/yqpay/toPay', qs.stringify(resultParams)).then((res) => {
|
|
|
let result = res.data
|
|
|
this.clickBtnCount = true
|
|
|
+ // if(!window.history && history.pushState) {
|
|
|
+ // history.pushState(null, null, 'https://www.baidu.com/')
|
|
|
+ // }
|
|
|
+
|
|
|
if(result.code == 403) {
|
|
|
this.loadingOrderStatus = true
|
|
|
this.loadingOrderText = result.msg
|
|
@@ -427,7 +431,6 @@ export default {
|
|
|
that.loadingOrderText = '加载中...'
|
|
|
if(result.data) {
|
|
|
that.form = result.data
|
|
|
- console.log(result.data)
|
|
|
that.orderPayStatus = true
|
|
|
sessionStorage.setItem('orderForm', JSON.stringify(result.data))
|
|
|
} else {
|
|
@@ -829,6 +832,7 @@ export default {
|
|
|
border-bottom: .01rem solid #ccc;
|
|
|
.van-count-down {
|
|
|
display: inline;
|
|
|
+ color: #f00;
|
|
|
}
|
|
|
}
|
|
|
.loadingOrder {
|