Commit ec3c6a62 by kaisa

feat:统一注释FUSI Firefly 直播间弹火箭

parent 686d3cb9
......@@ -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,117 +19,121 @@
.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"></div>
<body style="background: rgba(0, 0, 0, 0);">
<div style="display: none;" class="act-room-bg"></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){
$(".act-room-bg").fadeIn(200)
}
$(".act-room-bg").on("click",function(){
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url": $url + "/activeFt/Fishing/index.html" + location.search+'',
}
$(function () {
if (sessionStorage.lang != 2) {
$(".act-room-bg").fadeIn(200)
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
$(".dew-exc").on("click",function(){
})
function view(){
}
setInterval(function(){
},60000)
setTimeout(function(){
if(sessionStorage.lang==2)return;
if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
localStorage.fish=(Number(new Date().getTime())+43200000)
$.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(){
$(".act-room-bg").on("click", function () {
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url": $url + "/activeFt/Fishing/index.html" + location.search + '',
}
})
}
},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()
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
$(".dew-exc").on("click", function () {
})
function view() {
}
});
socket.on('disconnect', function () {
setTimeout(function(){
getData()
},3000)
console.log("已下线!");
});
setInterval(function () {
}, 60000)
setTimeout(function () {
if (sessionStorage.lang == 2) return;
socket.on('connect_error', function (error) {
console.log("链接失败!");
});
}
})
// if(localStorage.fish==undefined||localStorage.fish<new Date().getTime()){
// localStorage.fish=(Number(new Date().getTime())+43200000)
// $.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(){
// }
// })
// }
}, 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
......@@ -96,26 +96,26 @@ $(function(){
view()
},60000)
//三十秒后弹窗
setTimeout(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(){
// setTimeout(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(){
}
})
}
},30000)
// }
// })
// }
// },30000)
function getData(roomid) {
var opts = {
......
......@@ -90,26 +90,26 @@ $(function(){
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(){
// 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)
// }
// })
// }
// },30000)
function getData(roomid) {
var opts = {
reconnectionDelay: 5000,
......
......@@ -78,26 +78,26 @@ $(function(){
}
//三十秒后弹窗
setTimeout(function(){
if(localStorage.luckyLayer==undefined||localStorage.luckyLayer<new Date().getTime()){
localStorage.luckyLayer=(Number(new Date().getTime())+86400000)
// setTimeout(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)
// }
// })
// }
// },30000)
function view(){
$.ajax({
url:$ip+'/actTheLuckFairy/getRoomPartData.html',
......
......@@ -169,27 +169,27 @@ $(function(){
})
}, 300000);
}
if(goPop==1){
setTimeout(function() {
if(localStorage.newManLayer==undefined||localStorage.newManLayer<new Date().getTime()){
localStorage.newManLayer=(Number(new Date().getTime())+86400000)
$.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(){
// if(goPop==1){
// setTimeout(function() {
// if(localStorage.newManLayer==undefined||localStorage.newManLayer<new Date().getTime()){
// localStorage.newManLayer=(Number(new Date().getTime())+86400000)
// $.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);
// }
}, 3000);
function getData(roomid) {
......
......@@ -75,25 +75,25 @@ $(function(){
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(){
// 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)
// }
// })
// }
// },30000)
$(".act-room-bg1").on("click",function(){
var obj = {
"cid": 31,
......
......@@ -103,22 +103,22 @@ $(function(){
setTimeout(function(){
if(sessionStorage.lang==2)return;
if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
localStorage.fly=(Number(new Date().getTime())+43200000)
$.ajax({
url:$ip+'/actSecretGarden/openPopup.html',
data:{
width:'0',
popupUrl:$url + "/activeFt/luckyFly/pop.html",
height:'0.5',
heightR:'100',
x:'0',
y:'0.5',
},
success:function(){
}
})
}
// if(localStorage.fly==undefined||localStorage.fly<new Date().getTime()){
// localStorage.fly=(Number(new Date().getTime())+43200000)
// $.ajax({
// url:$ip+'/actSecretGarden/openPopup.html',
// data:{
// width:'0',
// popupUrl:$url + "/activeFt/luckyFly/pop.html",
// height:'0.5',
// heightR:'100',
// x:'0',
// y:'0.5',
// },
// success:function(){
// }
// })
// }
},30000)
function getData(roomid) {
var opts = {
......
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