|
|
@@ -30,7 +30,7 @@
|
|
|
<div class="countdown" v-if="product.info.end_time - product.info.start_time > 0">
|
|
|
<div class="flex">
|
|
|
<img src="@/assets/images/trade/clock.png" alt="" class="clock" />
|
|
|
- <span style="white-space: nowrap;">{{ $t('lang54') }}</span>
|
|
|
+ <span style="white-space: nowrap">{{ $t('lang54') }}</span>
|
|
|
</div>
|
|
|
<van-count-down class="count" :time="product.info.end_time - product.info.start_time">
|
|
|
<template #default="timeData">
|
|
|
@@ -168,7 +168,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-popup>
|
|
|
- <van-popup v-model="loading" round>
|
|
|
+ <van-popup v-model="loading" round class="loading-popup">
|
|
|
<div class="loading">
|
|
|
<van-loading type="spinner" />
|
|
|
</div>
|
|
|
@@ -314,7 +314,6 @@ export default {
|
|
|
// .catch(() => {
|
|
|
// // on cancel
|
|
|
// });
|
|
|
- console.log(this.areaId);
|
|
|
|
|
|
if (!this.areaId) {
|
|
|
return Notify({ type: 'warning', message: this.$t('lang69') });
|
|
|
@@ -327,6 +326,11 @@ export default {
|
|
|
this.areaId = '';
|
|
|
Toast({ message: res.msg });
|
|
|
this.$router.push('assets');
|
|
|
+ } else if (res.code == 15000) {
|
|
|
+ this.loading = false;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$router.push('recharge');
|
|
|
+ }, 300);
|
|
|
} else {
|
|
|
this.loading = false;
|
|
|
}
|
|
|
@@ -712,6 +716,9 @@ export default {
|
|
|
border: none;
|
|
|
background-color: rgba(#353535, 1);
|
|
|
}
|
|
|
+.loading-popup {
|
|
|
+ background-color: rgba(#353535, 0);
|
|
|
+}
|
|
|
</style>
|
|
|
|
|
|
|