Commit 673f9dd4 by libai

ft活动上线

parent efb36222
...@@ -97,8 +97,9 @@ $(function(){ ...@@ -97,8 +97,9 @@ $(function(){
},60000) },60000)
//三十秒后弹窗 //三十秒后弹窗
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){ if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000) localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
console.log("弹了",localStorage.gardenLayer)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
...@@ -114,7 +115,7 @@ $(function(){ ...@@ -114,7 +115,7 @@ $(function(){
} }
}) })
} }
},30000) },3000)
function getData(roomid) { function getData(roomid) {
var opts = { var opts = {
......
...@@ -76,8 +76,8 @@ $(function(){ ...@@ -76,8 +76,8 @@ $(function(){
view() view()
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){ if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000) localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
......
...@@ -76,8 +76,8 @@ $(function(){ ...@@ -76,8 +76,8 @@ $(function(){
view() view()
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){ if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000) localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
......
...@@ -176,8 +176,8 @@ $(function(){ ...@@ -176,8 +176,8 @@ $(function(){
} }
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.gardenLayer==undefined||sessionStorage.gardenLayer<new Date().getTime()){ if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
sessionStorage.gardenLayer=(Number(new Date().getTime())+86400000) localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({ $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', url:$ip+'/actSecretGarden/openPopup.html',
data:{ data:{
......
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