Commit 958cb736 by 谭新宇

特殊逻辑控制

parent 456bb728
......@@ -595,6 +595,17 @@ function visitorNoVoteDialogBind(){
$('#html-template-7 .vote-btn-1').off("click").on('click',function(){
$('#html-template-7').fadeOut();
var _t = getToken();
var _votingStartTime = _settings.szRule.votingStartTime.replace(/-/g,'/');
var _cTime = currentTime.replace(/-/g, '/');
var endTime = new Date(_votingStartTime).getTime() - new Date(_cTime).getTime();
// 2019-12-9 跳转特殊处理金港镇晒照活动,投票开始时候不能报名
if(activityCode === 'HD1191209101728' && endTime/1000 < 0) {
alert('当前活动投票已经开始,不可再报名!');
return
}
// 跳转到报名
transPage('2',activityCode,_t);
});
......
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