Commit a6f59b1a by libai

ft活动上线

parent 240d13c0
Showing with 23 additions and 32 deletions
...@@ -78,6 +78,7 @@ $(function(){ ...@@ -78,6 +78,7 @@ $(function(){
} }
},30000) },30000)
var titleName=['','新秀出道','閃亮新星','星光熠熠','璀璨佳人','風華絕代','傾國傾城'] var titleName=['','新秀出道','閃亮新星','星光熠熠','璀璨佳人','風華絕代','傾國傾城']
var goPop=0
function view(){ function view(){
$.ajax({ $.ajax({
url:$ip+'/actStarSearchTour/getRoomPartData.html', url:$ip+'/actStarSearchTour/getRoomPartData.html',
...@@ -138,22 +139,7 @@ $(function(){ ...@@ -138,22 +139,7 @@ $(function(){
appCollaboration(obj2); appCollaboration(obj2);
}) })
if(data.result.userData.isBuyMonthlyCard==0){ if(data.result.userData.isBuyMonthlyCard==0){
setTimeout(function() { goPop=1
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
height:'0.5',
heightR:'110',
x:'0',
y:'0.5',
},
success:function(){
}
})
}, 10000);
} }
} }
...@@ -173,22 +159,7 @@ $(function(){ ...@@ -173,22 +159,7 @@ $(function(){
appCollaboration(obj2); appCollaboration(obj2);
}) })
if(data.result.userData.isBuyMonthlyCard==0){ if(data.result.userData.isBuyMonthlyCard==0){
setTimeout(function() { goPop=1
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
height:'0.5',
heightR:'110',
x:'0',
y:'0.5',
},
success:function(){
}
})
}, 10000);
} }
...@@ -203,7 +174,27 @@ $(function(){ ...@@ -203,7 +174,27 @@ $(function(){
setInterval(function(){ setInterval(function(){
view() view()
},60000) },60000)
setTimeout(function() {
if(goPop==1){
setTimeout(function() {
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
height:'0.5',
heightR:'110',
x:'0',
y:'0.5',
},
success:function(){
}
})
}, 10000);
}
}, 3000);
function getData(roomid) { function getData(roomid) {
var opts = { var opts = {
......
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