Commit 97a04c93 by libai

ft活动上线

parent 622d8b60
Showing with 4 additions and 4 deletions
...@@ -421,12 +421,12 @@ $(function(){ ...@@ -421,12 +421,12 @@ $(function(){
} }
//儲值抽獎 //儲值抽獎
clearInterval(userRegTimer) clearInterval(userRegTimer)
if(data.result.welfareList[0].status==0){ if(data.result.welfareList[0].status==-1){
userRegTimer=setInterval(function(){ userRegTimer=setInterval(function(){
checkReg() checkReg()
},5000) },5000)
$(".turn-reg-box").unbind("click").on("click",function(){ $(".turn-reg-box").unbind("click").on("click",function(){
var obj = { var obj = {
"cid": 12, "cid": 12,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
...@@ -440,13 +440,13 @@ $(function(){ ...@@ -440,13 +440,13 @@ $(function(){
appCollaboration(obj2); appCollaboration(obj2);
}) })
} }
else if(data.result.welfareList[0].status==1){ else if(data.result.welfareList[0].status==0){
$(".turn-reg-box").addClass("turn-reg-box2") $(".turn-reg-box").addClass("turn-reg-box2")
$(".turn-reg-box").unbind("click").on("click",function(){ $(".turn-reg-box").unbind("click").on("click",function(){
lottery() lottery()
}) })
} }
else if(data.result.welfareList[0].status==2){ else if(data.result.welfareList[0].status==1){
$(".turn-reg-box").addClass("turn-reg-box3") $(".turn-reg-box").addClass("turn-reg-box3")
$(".turn-reg-box").unbind("click").on("click",function(){ $(".turn-reg-box").unbind("click").on("click",function(){
......
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 sign in to comment