Commit d8808fd9 by libai

ft活动上线

parent 380daaaa
...@@ -137,22 +137,24 @@ $(function(){ ...@@ -137,22 +137,24 @@ $(function(){
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
appCollaboration(obj2); appCollaboration(obj2);
}) })
setTimeout(function() { if(data.result.userData.isBuyMonthlyCard==0){
$.ajax({ setTimeout(function() {
url:$ip+'/actSecretGarden/openPopup.html', $.ajax({
data:{ url:$ip+'/actSecretGarden/openPopup.html',
width:'0', data:{
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'', width:'0',
height:'0.5', popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
heightR:'110', height:'0.5',
x:'0', heightR:'110',
y:'0.5', x:'0',
}, y:'0.5',
success:function(){ },
success:function(){
}
}) }
}, 10000); })
}, 10000);
}
} }
}else{ }else{
...@@ -170,22 +172,25 @@ $(function(){ ...@@ -170,22 +172,25 @@ $(function(){
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
appCollaboration(obj2); appCollaboration(obj2);
}) })
setTimeout(function() { if(data.result.userData.isBuyMonthlyCard==0){
$.ajax({ setTimeout(function() {
url:$ip+'/actSecretGarden/openPopup.html', $.ajax({
data:{ url:$ip+'/actSecretGarden/openPopup.html',
width:'0', data:{
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'', width:'0',
height:'0.5', popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
heightR:'110', height:'0.5',
x:'0', heightR:'110',
y:'0.5', x:'0',
}, y:'0.5',
success:function(){ },
success: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