Commit b36eeadd by libai

ft活动上线

parent a38c6c71
...@@ -87,23 +87,23 @@ $(function(){ ...@@ -87,23 +87,23 @@ $(function(){
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/luckyFly/pop.html",
height:'0.5',
heightR:'100',
x:'0',
y:'0.5',
},
success:function(){
}
})
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
localStorage.fish=(Number(new Date().getTime())+86400000)
if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
localStorage.fly=(Number(new Date().getTime())+43200000)
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/luckyFly/pop.html",
height:'0.5',
heightR:'100',
x:'0',
y:'0.5',
},
success:function(){
}
})
} }
},30000) },30000)
function getData(roomid) { function getData(roomid) {
......
...@@ -103,23 +103,21 @@ $(function(){ ...@@ -103,23 +103,21 @@ $(function(){
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
$.ajax({ if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
url:$ip+'/actSecretGarden/openPopup.html', localStorage.fly=(Number(new Date().getTime())+43200000)
data:{ $.ajax({
width:'0', url:$ip+'/actSecretGarden/openPopup.html',
popupUrl:$url + "/activeFt/luckyFly/pop.html", data:{
height:'0.5', width:'0',
heightR:'95', popupUrl:$url + "/activeFt/luckyFly/pop.html",
x:'0', height:'0.5',
y:'0.5', heightR:'100',
}, x:'0',
success:function(){ y:'0.5',
} },
}) success:function(){
}
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){ })
localStorage.fish=(Number(new Date().getTime())+86400000)
} }
},30000) },30000)
function getData(roomid) { function getData(roomid) {
......
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