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)
......
...@@ -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