Commit 5c073ba0 authored by wildfirecode13's avatar wildfirecode13

1

parent 5e587227
...@@ -289,7 +289,7 @@ Page({ ...@@ -289,7 +289,7 @@ Page({
}, },
countDowning(end) { countDowning(end) {
console.log('执行时间count') // console.log('执行时间count')
if(end.length == 0){ if(end.length == 0){
......
...@@ -31,16 +31,16 @@ Page({ ...@@ -31,16 +31,16 @@ Page({
}, },
gotoVipPage() { gotoVipPage() {
let { endTime, startTime } = this.data let { endTime, startTime } = this.data;
API.getVipInfo().then(res => {
// 判断活动时间 // 判断活动时间
let currentTime = new Date().getTime(); let currentTime = new Date().getTime();
if (currentTime < startTime) { if (currentTime < startTime) {
commonToast('活动未开始'); commonToast('活动未开始');
} return;
// if (currentTime > endTime) { };
// commonToast('活动已结束');
// } API.getVipInfo().then(res => {
if (!res.data.isVip) { if (!res.data.isVip) {
commonToast('立即加入会员,即可开始盖楼') commonToast('立即加入会员,即可开始盖楼')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment