Commit b36eeadd by libai

ft活动上线

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