|
@@ -104,9 +104,10 @@
|
|
|
...mapState(['isbuy1'])
|
|
...mapState(['isbuy1'])
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
- if (!this.isbuy1) {
|
|
|
|
|
- this.isDjs();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!this.isbuy1) {
|
|
|
|
|
+ // this.isDjs();
|
|
|
|
|
+ // }
|
|
|
|
|
+ this.isDjs();
|
|
|
this.loadData();
|
|
this.loadData();
|
|
|
this.loadDataNext();
|
|
this.loadDataNext();
|
|
|
},
|
|
},
|
|
@@ -142,6 +143,8 @@
|
|
|
}) => {
|
|
}) => {
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
this.canbuy = data.time;
|
|
this.canbuy = data.time;
|
|
|
|
|
+ // this.canbuy = 1699492500;
|
|
|
|
|
+
|
|
|
let day = getTime(this.canbuy * 1000).split(' ');
|
|
let day = getTime(this.canbuy * 1000).split(' ');
|
|
|
this.time = day[1];
|
|
this.time = day[1];
|
|
|
this.counTime();
|
|
this.counTime();
|
|
@@ -178,11 +181,11 @@
|
|
|
//显示动态时间效果
|
|
//显示动态时间效果
|
|
|
if (s < 10) {
|
|
if (s < 10) {
|
|
|
return (this.countdown_time = `${m}:0${s}`);
|
|
return (this.countdown_time = `${m}:0${s}`);
|
|
|
- this.timers = setTimeout(this.counTime, 1000);
|
|
|
|
|
|
|
+ // this.timers = setTimeout(this.counTime, 1000);
|
|
|
}
|
|
}
|
|
|
if (m < 10) {
|
|
if (m < 10) {
|
|
|
return (this.countdown_time = `0${m}:${s}`);
|
|
return (this.countdown_time = `0${m}:${s}`);
|
|
|
- this.timers = setTimeout(this.counTime, 1000);
|
|
|
|
|
|
|
+ // this.timers = setTimeout(this.counTime, 1000);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|