Commit 5c073ba0 authored by wildfirecode13's avatar wildfirecode13

1

parent 5e587227
......@@ -289,7 +289,7 @@ Page({
},
countDowning(end) {
console.log('执行时间count')
// console.log('执行时间count')
if(end.length == 0){
......
......@@ -31,16 +31,16 @@ Page({
},
gotoVipPage() {
let { endTime, startTime } = this.data
API.getVipInfo().then(res => {
let { endTime, startTime } = this.data;
// 判断活动时间
let currentTime = new Date().getTime();
if (currentTime < startTime) {
commonToast('活动未开始');
}
// if (currentTime > endTime) {
// commonToast('活动已结束');
// }
return;
};
API.getVipInfo().then(res => {
if (!res.data.isVip) {
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