Commit b332d0dc by kaisa

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

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