Commit efb36222 by libai

ft活动上线

parent 56137357
...@@ -97,6 +97,8 @@ $(function(){ ...@@ -97,6 +97,8 @@ $(function(){
},60000) },60000)
//三十秒后弹窗 //三十秒后弹窗
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
...@@ -111,7 +113,9 @@ $(function(){ ...@@ -111,7 +113,9 @@ $(function(){
} }
}) })
}) }
},30000)
function getData(roomid) { function getData(roomid) {
var opts = { var opts = {
reconnectionDelay: 5000, reconnectionDelay: 5000,
......
...@@ -76,6 +76,8 @@ $(function(){ ...@@ -76,6 +76,8 @@ $(function(){
view() view()
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
...@@ -90,6 +92,7 @@ $(function(){ ...@@ -90,6 +92,7 @@ $(function(){
} }
}) })
}
},30000) },30000)
$(".act-room-bg1").on("click",function(){ $(".act-room-bg1").on("click",function(){
var obj = { var obj = {
......
...@@ -76,6 +76,8 @@ $(function(){ ...@@ -76,6 +76,8 @@ $(function(){
view() view()
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
...@@ -90,6 +92,7 @@ $(function(){ ...@@ -90,6 +92,7 @@ $(function(){
} }
}) })
}
},30000) },30000)
$(".act-room-bg1").on("click",function(){ $(".act-room-bg1").on("click",function(){
var obj = { var obj = {
......
...@@ -176,6 +176,8 @@ $(function(){ ...@@ -176,6 +176,8 @@ $(function(){
} }
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
...@@ -190,6 +192,7 @@ $(function(){ ...@@ -190,6 +192,7 @@ $(function(){
} }
}) })
}
},30000) },30000)
$(".act-room-bg2").on("click",function(){ $(".act-room-bg2").on("click",function(){
var obj = { var obj = {
......
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