Commit 42f9165f authored by Edwise's avatar Edwise 🍷

添加活动未开始页面

parent 6d2f4799
...@@ -39,7 +39,7 @@ Page({ ...@@ -39,7 +39,7 @@ Page({
recallCatInfo: {}, recallCatInfo: {},
taskModalVisible: 0, taskModalVisible: 0,
messageModalVisible: false, messageModalVisible: false,
endModalVisible: true, endModalVisible: false,
messageModalData: {}, messageModalData: {},
ruleModalVisible: false, ruleModalVisible: false,
levelupModalVisible: 0, levelupModalVisible: 0,
...@@ -375,7 +375,14 @@ Page({ ...@@ -375,7 +375,14 @@ Page({
this.setData({ this.setData({
activityBaseInfo: data activityBaseInfo: data
}) })
this.initCanvas(); if(new Date().getTime() < data.startTime){
this.setData({
endModalVisible:true
})
}else{
this.initCanvas();
}
} }
}, },
/**页面显示登录 */ /**页面显示登录 */
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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