Commit aff1bea7 by kaisa

feat:更新

parent 27bc255b
...@@ -85,28 +85,28 @@ $(function(){ ...@@ -85,28 +85,28 @@ $(function(){
setInterval(function(){ setInterval(function(){
view() view()
},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()){ // if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
localStorage.fly=(Number(new Date().getTime())+43200000) // 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:'100', // // heightR:'100',
// x:'0', // // x:'0',
// y:'0.5', // // y:'0.5',
// }, // // },
// success:function(){ // // success:function(){
// } // // }
// }) // // })
} // }
},60000) // },60000)
function getData(roomid) { function getData(roomid) {
var opts = { var opts = {
reconnectionDelay: 5000, reconnectionDelay: 5000,
......
...@@ -101,8 +101,8 @@ $(function(){ ...@@ -101,8 +101,8 @@ $(function(){
}) })
} }
setTimeout(function(){ // setTimeout(function(){
if(sessionStorage.lang==2)return; // if(sessionStorage.lang==2)return;
// if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){ // if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
// localStorage.fly=(Number(new Date().getTime())+43200000) // localStorage.fly=(Number(new Date().getTime())+43200000)
// $.ajax({ // $.ajax({
...@@ -119,7 +119,8 @@ $(function(){ ...@@ -119,7 +119,8 @@ $(function(){
// } // }
// }) // })
// } // }
},30000) // },30000)
function getData(roomid) { function getData(roomid) {
var opts = { var opts = {
reconnectionDelay: 5000, reconnectionDelay: 5000,
......
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