Commit 673f9dd4 by libai

ft活动上线

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