Commit efb36222 by libai

ft活动上线

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