Commit b183c164 authored by wildfirecode13's avatar wildfirecode13

1

parent 3af34f83
...@@ -100,12 +100,17 @@ Page({ ...@@ -100,12 +100,17 @@ Page({
// my.redirectTo({ url: '/pages/pagehuo_dong_ye/pagehuo_dong_ye?data=' + JSON.stringify({endTime}) }); // my.redirectTo({ url: '/pages/pagehuo_dong_ye/pagehuo_dong_ye?data=' + JSON.stringify({endTime}) });
} }
} else { } else {
//设置状态 if (isEnd(endTime) &&
this.setData({ (openPrizeStatus == OPEN_PRIZE_STATUS.SUCCESS || openPrizeStatus == OPEN_PRIZE_STATUS.NOT_OPEN) ) {//活动结束,开奖成功or不开奖
myPrizeBtnVisible: true, my.redirectTo({ url: '/pages/pagejie_shu_ye/pagejie_shu_ye?data=' + JSON.stringify({ isShowPrize:false }) });
startBtnVisible: true, } else {
ruleModalBtnVisible: true //设置状态
}) this.setData({
myPrizeBtnVisible: true,
startBtnVisible: true,
ruleModalBtnVisible: true
})
}
}; };
this.setData({ this.setData({
......
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