Commit d8808fd9 by libai

ft活动上线

parent 380daaaa
...@@ -137,6 +137,7 @@ $(function(){ ...@@ -137,6 +137,7 @@ $(function(){
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
appCollaboration(obj2); appCollaboration(obj2);
}) })
if(data.result.userData.isBuyMonthlyCard==0){
setTimeout(function() { setTimeout(function() {
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
...@@ -154,6 +155,7 @@ $(function(){ ...@@ -154,6 +155,7 @@ $(function(){
}) })
}, 10000); }, 10000);
} }
}
}else{ }else{
$(".act-room-bg").fadeIn(200).removeClass("act-room-bg2") $(".act-room-bg").fadeIn(200).removeClass("act-room-bg2")
...@@ -170,6 +172,7 @@ $(function(){ ...@@ -170,6 +172,7 @@ $(function(){
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
appCollaboration(obj2); appCollaboration(obj2);
}) })
if(data.result.userData.isBuyMonthlyCard==0){
setTimeout(function() { setTimeout(function() {
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
...@@ -186,6 +189,8 @@ $(function(){ ...@@ -186,6 +189,8 @@ $(function(){
} }
}) })
}, 10000); }, 10000);
}
} }
$(".act-title").text(titleName[data.result.roomData.level]) $(".act-title").text(titleName[data.result.roomData.level])
......
...@@ -92,7 +92,7 @@ $(function(){ ...@@ -92,7 +92,7 @@ $(function(){
layer.open({ layer.open({
type: 1, type: 1,
title: false, title: false,
shadeClose: true, shadeClose: false,
skin: "yourclass5", skin: "yourclass5",
area: ["9.58rem", "6.56rem"], area: ["9.58rem", "6.56rem"],
content: $(".layer-card-ok"), content: $(".layer-card-ok"),
...@@ -104,6 +104,15 @@ $(function(){ ...@@ -104,6 +104,15 @@ $(function(){
} }
}) })
} }
$(".btn-ok").on("click",function(){
var obj = {
"cid": 14,
"reqCode": new Date().getTime(),
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
}
})
function task(){ function task(){
$.ajax({ $.ajax({
url:$ip+'/actStarSearchTour/getUserTaskData.html', url:$ip+'/actStarSearchTour/getUserTaskData.html',
......
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