Commit b332d0dc by kaisa

feat:注释FUSI Firefly自动弹旧火箭页面代码

parent dd9f7d62
...@@ -68,19 +68,19 @@ $(function(){ ...@@ -68,19 +68,19 @@ $(function(){
},60000) },60000)
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/Fishing/pop.html", // popupUrl:$url + "/activeFt/Fishing/pop.html",
height:'0.5', // height:'0.5',
heightR:'80', // heightR:'80',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){ if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
localStorage.fish=(Number(new Date().getTime())+86400000) localStorage.fish=(Number(new Date().getTime())+86400000)
......
...@@ -100,20 +100,20 @@ $(function(){ ...@@ -100,20 +100,20 @@ $(function(){
if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){ if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
localStorage.gardenLayer=(Number(new Date().getTime())+86400000) localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
console.log("弹了",localStorage.gardenLayer) console.log("弹了",localStorage.gardenLayer)
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/garden/pop.html", // popupUrl:$url + "/activeFt/garden/pop.html",
height:'0.5', // height:'0.5',
heightR:'106', // heightR:'106',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
} }
},3000) },3000)
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection"> <meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no"> <meta name="wap-font-scale" content="no">
<title></title> <title></title>
<script src="lib/fsize.js"></script> <script src="lib/fsize.js"></script>
<link rel="stylesheet" href="css/base.css"> <link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css"> <link rel="stylesheet" href="css/layer.css">
<link rel="stylesheet" href="css/daily.css"> <link rel="stylesheet" href="css/daily.css">
<link rel="stylesheet" href="css/index.css?v=2024081501"> <link rel="stylesheet" href="css/index.css?v=2024081501">
<link rel="stylesheet" href="css/liMarquee.css"> <link rel="stylesheet" href="css/liMarquee.css">
<style> <style>
.layui-layer-shade { .layui-layer-shade {
opacity: 0.7 !important; opacity: 0.7 !important;
} }
.yourclass5 {
border-radius: 0rem !important; .yourclass5 {
background: rgba(0, 0, 0, 0) !important; border-radius: 0rem !important;
} background: rgba(0, 0, 0, 0) !important;
.yourclass5 .layui-layer-content { }
border-radius: 0rem !important;
} .yourclass5 .layui-layer-content {
</style> border-radius: 0rem !important;
</head> }
<script src="lib/lottie-player.js"></script> </style>
<body style="background: rgba(0, 0, 0, 0);"> </head>
<div style="display: none;" class="act-room-bg act-room-bg2"> <script src="lib/lottie-player.js"></script>
<p class="act-p1"><i class="en-txt1">主播積分</i>: <span>8000</span></p>
<p class="act-p2"><i class="en-txt2">進度</i>: <span class="act-span2" style="margin-right: 0.5rem;">18%</span> <i class="en-txt3">排名</i>: <span class="act-span3">5</span></p> <body style="background: rgba(0, 0, 0, 0);">
</div> <div style="display: none;" class="act-room-bg act-room-bg2">
</body> <p class="act-p1"><i class="en-txt1">主播積分</i>: <span>8000</span></p>
<script src="lib/jquery-3.1.1.min.js"></script> <p class="act-p2"><i class="en-txt2">進度</i>: <span class="act-span2" style="margin-right: 0.5rem;">18%</span> <i
<script src="layer-v3.1.0/layer/layer.js"></script> class="en-txt3">排名</i>: <span class="act-span3">5</span></p>
<script src="lib/default.js?v='2024061702'"></script> </div>
<script type="text/javascript" src="https://app.ixiulive.com/static/js/socket.io.js"></script> </body>
<script> <script src="lib/jquery-3.1.1.min.js"></script>
$(function(){ <script src="layer-v3.1.0/layer/layer.js"></script>
if(sessionStorage.lang!=2){ <script src="lib/default.js?v='2024061702'"></script>
$("body").addClass("bg-en") <script type="text/javascript" src="https://app.ixiulive.com/static/js/socket.io.js"></script>
// $(".act-room-p1").text("score:") <script>
// $(".act-room-p3").text("goal:") $(function () {
$(".en-txt1").text("score") if (sessionStorage.lang != 2) {
$(".en-txt2").text("PROG") $("body").addClass("bg-en")
$(".en-txt3").text("rank") // $(".act-room-p1").text("score:")
// $(".act-room-p3").text("goal:")
} $(".en-txt1").text("score")
var jump=1 $(".en-txt2").text("PROG")
$(".en-txt3").text("rank")
$(".act-room-bg").on("click",function(){
var obj = { }
"cid": 12, var jump = 1
"reqCode": new Date().getTime(),
"data": { $(".act-room-bg").on("click", function () {
"msg": '跳转集合功能', var obj = {
"jumptype": 3, "cid": 12,
"url": $url + "/activeFt/lucky777/index.html" + location.search+'&jump='+jump+'', "reqCode": new Date().getTime(),
} "data": {
} "msg": '跳转集合功能',
var obj2 = JSON.stringify(obj); "jumptype": 3,
appCollaboration(obj2); "url": $url + "/activeFt/lucky777/index.html" + location.search + '&jump=' + jump + '',
}) }
$(".dew-exc").on("click",function(){ }
var obj2 = JSON.stringify(obj);
}) appCollaboration(obj2);
function view(){ })
$.ajax({ $(".dew-exc").on("click", function () {
url:$ip+'/actLucky777/getRoomPartData.html',
success:function(data){ })
console.log('圖標數據',data) function view() {
if(data.result.userData.signReceive==0){ $.ajax({
$(".act-room-bg").fadeIn(200) url: $ip + '/actLucky777/getRoomPartData.html',
return; success: function (data) {
} console.log('圖標數據', data)
jump=2 if (data.result.userData.signReceive == 0) {
$(".act-room-bg").removeClass("act-room-bg2").fadeIn(200) $(".act-room-bg").fadeIn(200)
$(".act-p1 span").text(data.result.roomData.score) return;
$(".act-span2").text(Math.floor(data.result.roomData.score/15000*100)+'%') }
if(data.result.roomData.rank==-1)$(".act-span3").text('--') jump = 2
else $(".act-span3").text(data.result.roomData.rank) $(".act-room-bg").removeClass("act-room-bg2").fadeIn(200)
} $(".act-p1 span").text(data.result.roomData.score)
}) $(".act-span2").text(Math.floor(data.result.roomData.score / 15000 * 100) + '%')
} if (data.result.roomData.rank == -1) $(".act-span3").text('--')
view() else $(".act-span3").text(data.result.roomData.rank)
setInterval(function(){ }
view() })
},60000) }
setTimeout(function(){ view()
if(sessionStorage.lang==2)return; setInterval(function () {
if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){ view()
localStorage.lucky777=(Number(new Date().getTime())+86400000) }, 60000)
$.ajax({ setTimeout(function () {
url:$ip+'/actSecretGarden/openPopup.html', if (sessionStorage.lang == 2) return;
data:{ // if(localStorage.lucky777==undefined||localStorage.lucky777<new Date().getTime()){
width:'0', // localStorage.lucky777=(Number(new Date().getTime())+86400000)
popupUrl:$url + "/activeFt/lucky777/pop.html", // $.ajax({
height:'0.5', // url:$ip+'/actSecretGarden/openPopup.html',
heightR:'75', // data:{
x:'0', // width:'0',
y:'0.5', // popupUrl:$url + "/activeFt/lucky777/pop.html",
}, // height:'0.5',
success:function(){ // heightR:'75',
// x:'0',
} // y:'0.5',
}) // },
} // success:function(){
},30000)
function getData(roomid) { // }
var opts = { // })
reconnectionDelay: 5000, // }
query: { }, 30000)
'uid': sessionStorage.uid, function getData(roomid) {
'token': sessionStorage.token, var opts = {
'room': sessionStorage.roomId reconnectionDelay: 5000,
} query: {
} 'uid': sessionStorage.uid,
'token': sessionStorage.token,
socket = io.connect(_url3 + '/default', opts); 'room': sessionStorage.roomId
socket.on('connect', function () { }
console.log("连接成功"); }
});
socket = io.connect(_url3 + '/default', opts);
socket.on('RaisingBeautifulGril', function (msg) { socket.on('connect', function () {
var data=JSON.parse(msg) console.log("连接成功");
});
if(data.rank>0){
console.log(data) socket.on('RaisingBeautifulGril', function (msg) {
$(".room-bg1").show() var data = JSON.parse(msg)
$(".room-title").text(titleArr[data.extra.stage])
$(".room-bg-p1 span").text(data.score) if (data.rank > 0) {
var barWidth=Math.floor(data.score/data.extra.stageScore*100) console.log(data)
$(".room-bg-p2 span").text(barWidth+'%') $(".room-bg1").show()
$(".room-bg-p3 span").text(data.rank) $(".room-title").text(titleArr[data.extra.stage])
}else{ $(".room-bg-p1 span").text(data.score)
$(".room-bg1").hide() var barWidth = Math.floor(data.score / data.extra.stageScore * 100)
} $(".room-bg-p2 span").text(barWidth + '%')
}); $(".room-bg-p3 span").text(data.rank)
} else {
socket.on('disconnect', function () { $(".room-bg1").hide()
setTimeout(function(){ }
getData() });
},3000)
console.log("已下线!"); socket.on('disconnect', function () {
}); setTimeout(function () {
getData()
socket.on('connect_error', function (error) { }, 3000)
console.log("链接失败!"); console.log("已下线!");
}); });
} socket.on('connect_error', function (error) {
}) console.log("链接失败!");
</script> });
}
})
</script>
</html> </html>
\ No newline at end of file
...@@ -82,20 +82,20 @@ $(function(){ ...@@ -82,20 +82,20 @@ $(function(){
if(localStorage.luckyLayer==undefined||localStorage.luckyLayer<new Date().getTime()){ if(localStorage.luckyLayer==undefined||localStorage.luckyLayer<new Date().getTime()){
localStorage.luckyLayer=(Number(new Date().getTime())+86400000) localStorage.luckyLayer=(Number(new Date().getTime())+86400000)
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/luckyGod/pop.html", // popupUrl:$url + "/activeFt/luckyGod/pop.html",
height:'0.5', // height:'0.5',
heightR:'124', // heightR:'124',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
} }
},30000) },30000)
function view(){ function view(){
......
...@@ -61,20 +61,20 @@ $(function(){ ...@@ -61,20 +61,20 @@ $(function(){
if(localStorage.luckyLayer==undefined||localStorage.luckyLayer<new Date().getTime()){ if(localStorage.luckyLayer==undefined||localStorage.luckyLayer<new Date().getTime()){
localStorage.luckyLayer=(Number(new Date().getTime())+86400000) localStorage.luckyLayer=(Number(new Date().getTime())+86400000)
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/luckyGod/pop.html", // popupUrl:$url + "/activeFt/luckyGod/pop.html",
height:'0.5', // height:'0.5',
heightR:'124', // heightR:'124',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
} }
},30000) },30000)
if(sessionStorage.lang==2)var titleName=['','新秀出道','閃亮新星','星光熠熠','璀璨佳人','風華絕代','傾國傾城'] if(sessionStorage.lang==2)var titleName=['','新秀出道','閃亮新星','星光熠熠','璀璨佳人','風華絕代','傾國傾城']
...@@ -192,22 +192,22 @@ $(function(){ ...@@ -192,22 +192,22 @@ $(function(){
if(goPop==1){ if(goPop==1){
if(localStorage.newManLayer==undefined||localStorage.newManLayer<new Date().getTime()){ if(localStorage.newManLayer==undefined||localStorage.newManLayer<new Date().getTime()){
localStorage.newManLayer=(Number(new Date().getTime())+86400000) localStorage.newManLayer=(Number(new Date().getTime())+86400000)
setTimeout(function() { // setTimeout(function() {
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'', // popupUrl:$url + "/activeFt/newMan/pop2.html" + location.search+'',
height:'0.5', // height:'0.5',
heightR:'110', // heightR:'110',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
}, 60000); // }, 60000);
} }
} }
......
...@@ -75,22 +75,22 @@ $(function(){ ...@@ -75,22 +75,22 @@ $(function(){
setInterval(function(){ setInterval(function(){
view() view()
},60000) },60000)
setTimeout(function(){ // setTimeout(function(){
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/garden/pop.html", // popupUrl:$url + "/activeFt/garden/pop.html",
height:'0.5', // height:'0.5',
heightR:'106', // heightR:'106',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
},30000) // },30000)
$(".act-room-bg1").on("click",function(){ $(".act-room-bg1").on("click",function(){
var obj = { var obj = {
"cid": 31, "cid": 31,
......
...@@ -175,22 +175,22 @@ $(function(){ ...@@ -175,22 +175,22 @@ $(function(){
}); });
} }
setTimeout(function(){ // setTimeout(function(){
$.ajax({ // $.ajax({
url:$ip+'/actSecretGarden/openPopup.html', // url:$ip+'/actSecretGarden/openPopup.html',
data:{ // data:{
width:'0', // width:'0',
popupUrl:$url + "/activeFt/garden/pop.html", // popupUrl:$url + "/activeFt/garden/pop.html",
height:'0.5', // height:'0.5',
heightR:'106', // heightR:'106',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
}) // })
$(".act-room-bg1").on("click",function(){ $(".act-room-bg1").on("click",function(){
var obj = { var obj = {
"cid": 31, "cid": 31,
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection"> <meta content="telephone=no" name="format-detection">
...@@ -19,17 +19,20 @@ ...@@ -19,17 +19,20 @@
.layui-layer-shade { .layui-layer-shade {
opacity: 0.7 !important; opacity: 0.7 !important;
} }
.yourclass5 { .yourclass5 {
border-radius: 0rem !important; border-radius: 0rem !important;
background: rgba(0, 0, 0, 0) !important; background: rgba(0, 0, 0, 0) !important;
} }
.yourclass5 .layui-layer-content { .yourclass5 .layui-layer-content {
border-radius: 0rem !important; border-radius: 0rem !important;
} }
</style> </style>
</head> </head>
<script src="lib/lottie-player.js"></script> <script src="lib/lottie-player.js"></script>
<body style="background: rgba(0, 0, 0, 0)">
<body style="background: rgba(0, 0, 0, 0)">
<div style="display: none;" class="act-room-bg act-room-bg2"> <div style="display: none;" class="act-room-bg act-room-bg2">
<p class="act-room-p1">主播積分 : <span>80000</span></p> <p class="act-room-p1">主播積分 : <span>80000</span></p>
<p class="act-room-p2">進度 : <span>18%</span></p> <p class="act-room-p2">進度 : <span>18%</span></p>
...@@ -42,125 +45,126 @@ ...@@ -42,125 +45,126 @@
<script src="lib/default.js?v='2024061701'"></script> <script src="lib/default.js?v='2024061701'"></script>
<script type="text/javascript" src="https://app.ixiulive.com/static/js/socket.io.js"></script> <script type="text/javascript" src="https://app.ixiulive.com/static/js/socket.io.js"></script>
<script> <script>
$(function(){ $(function () {
var wsTimer=null var wsTimer = null
if(sessionStorage.lang!=2){ if (sessionStorage.lang != 2) {
$("body").addClass("bg-en") $("body").addClass("bg-en")
} }
var obj = { var obj = {
"cid": 43, "cid": 43,
"reqCode": new Date().getTime(), "reqCode": new Date().getTime(),
"data": { "data": {
"type":1, "type": 1,
// "width":314, // "width":314,
"width":120, "width": 120,
"height":72, "height": 72,
'unit':2, 'unit': 2,
"position":1 "position": 1
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
function view(){
$.ajax({
url:$ip+'/actTheLuckFairy/getRoomPartData.html',
success:function(data){
console.log('圖標數據',data)
if(data.result.userData.signReceive==0){
$(".act-room-bg").addClass("act-room-bg2").show()
return;
}
$(".act-room-bg").removeClass("act-room-bg2").show()
$(".act-room-p1 span").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score/10000*100))
$(".act-room-p3 span").text(data.result.roomData.rank)
} }
}) }
} var obj2 = JSON.stringify(obj);
view() appCollaboration(obj2);
setInterval(function(){
view()
},60000)
setTimeout(function(){
if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/garden/pop.html",
height:'0.5',
heightR:'106',
x:'0',
y:'0.5',
},
success:function(){
function view() {
$.ajax({
url: $ip + '/actTheLuckFairy/getRoomPartData.html',
success: function (data) {
console.log('圖標數據', data)
if (data.result.userData.signReceive == 0) {
$(".act-room-bg").addClass("act-room-bg2").show()
return;
}
$(".act-room-bg").removeClass("act-room-bg2").show()
$(".act-room-p1 span").text(data.result.roomData.score)
$(".act-room-p2 span").text(Math.floor(data.result.roomData.score / 10000 * 100))
$(".act-room-p3 span").text(data.result.roomData.rank)
} }
}) })
} }
},30000) view()
$(".act-room-bg").on("click",function(){ setInterval(function () {
var obj = { view()
"cid": 31, }, 60000)
"reqCode": new Date().getTime(), // setTimeout(function(){
"data": { // if(localStorage.gardenLayer==undefined||localStorage.gardenLayer<new Date().getTime()){
"popupType":2, // localStorage.gardenLayer=(Number(new Date().getTime())+86400000)
// "width":314, // $.ajax({
"url":''+$url+'activeFt/luckyGod/index.html', // url:$ip+'/actSecretGarden/openPopup.html',
"heightR":140, // data:{
"clickBlank":1, // width:'0',
"bottom":'0', // popupUrl:$url + "/activeFt/garden/pop.html",
} // height:'0.5',
} // heightR:'106',
var obj2 = JSON.stringify(obj); // x:'0',
appCollaboration(obj2); // y:'0.5',
}) // },
function getData(roomid) { // success:function(){
var opts = {
reconnectionDelay: 5000, // }
query: { // })
'uid': sessionStorage.uid, // }
'token': sessionStorage.token, // },30000)
'room': sessionStorage.roomId $(".act-room-bg").on("click", function () {
} var obj = {
} "cid": 31,
"reqCode": new Date().getTime(),
"data": {
"popupType": 2,
// "width":314,
"url": '' + $url + 'activeFt/luckyGod/index.html',
"heightR": 140,
"clickBlank": 1,
"bottom": '0',
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
function getData(roomid) {
var opts = {
reconnectionDelay: 5000,
query: {
'uid': sessionStorage.uid,
'token': sessionStorage.token,
'room': sessionStorage.roomId
}
}
socket = io.connect(_url3 + '/default', opts); socket = io.connect(_url3 + '/default', opts);
socket.on('connect', function () { socket.on('connect', function () {
console.log("连接成功"); console.log("连接成功");
}); });
socket.on('RaisingBeautifulGril', function (msg) { socket.on('RaisingBeautifulGril', function (msg) {
var data=JSON.parse(msg) var data = JSON.parse(msg)
if(data.rank>0){ if (data.rank > 0) {
console.log(data) console.log(data)
$(".room-bg1").show() $(".room-bg1").show()
$(".room-title").text(titleArr[data.extra.stage]) $(".room-title").text(titleArr[data.extra.stage])
$(".room-bg-p1 span").text(data.score) $(".room-bg-p1 span").text(data.score)
var barWidth=Math.floor(data.score/data.extra.stageScore*100) var barWidth = Math.floor(data.score / data.extra.stageScore * 100)
$(".room-bg-p2 span").text(barWidth+'%') $(".room-bg-p2 span").text(barWidth + '%')
$(".room-bg-p3 span").text(data.rank) $(".room-bg-p3 span").text(data.rank)
}else{ } else {
$(".room-bg1").hide() $(".room-bg1").hide()
} }
}); });
socket.on('disconnect', function () { socket.on('disconnect', function () {
setTimeout(function(){ setTimeout(function () {
getData() getData()
},3000) }, 3000)
console.log("已下线!"); console.log("已下线!");
}); });
socket.on('connect_error', function (error) { socket.on('connect_error', function (error) {
console.log("链接失败!"); console.log("链接失败!");
}); });
} }
}) })
</script> </script>
</html> </html>
\ No newline at end of file
...@@ -103,19 +103,19 @@ $(function(){ ...@@ -103,19 +103,19 @@ $(function(){
setTimeout(function(){ setTimeout(function(){
if(sessionStorage.lang==2)return; if(sessionStorage.lang==2)return;
$.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:'95', // heightR:'95',
x:'0', // x:'0',
y:'0.5', // y:'0.5',
}, // },
success:function(){ // success:function(){
} // }
}) // })
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){ if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
localStorage.fish=(Number(new Date().getTime())+86400000) localStorage.fish=(Number(new Date().getTime())+86400000)
......
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