Commit 1179f73a by libai

ft活动上线

parent 3a7dc53e
...@@ -414,7 +414,10 @@ var scoreRankTxt="嘉年華積分" ...@@ -414,7 +414,10 @@ var scoreRankTxt="嘉年華積分"
$(".mc-box").hide() $(".mc-box").hide()
$(".user-box").fadeIn(200) $(".user-box").fadeIn(200)
task() task()
setTimeout(function(){
$("iframe").attr("src","https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"+location.search+""+"&roomid=868902") $("iframe").attr("src","https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"+location.search+""+"&roomid=868902")
}, 800);
} }
}) })
if(sessionStorage.jumpType==2){ if(sessionStorage.jumpType==2){
...@@ -422,7 +425,9 @@ var scoreRankTxt="嘉年華積分" ...@@ -422,7 +425,9 @@ var scoreRankTxt="嘉年華積分"
$(".mc-box").hide() $(".mc-box").hide()
$(".user-box").fadeIn(200) $(".user-box").fadeIn(200)
task() task()
setTimeout(function(){
$("iframe").attr("src","https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"+location.search+""+"&roomid=868902") $("iframe").attr("src","https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"+location.search+""+"&roomid=868902")
}, 800);
} }
$(".rule-btn").on("click",function(){ $(".rule-btn").on("click",function(){
window.location.href="rule.html"+location.search window.location.href="rule.html"+location.search
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</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 class="act-room-bg1 act-room-bg2"> <div style="display: none;" class="act-room-bg1 act-room-bg2">
<div class="act-title"></div> <div class="act-title"></div>
<p class="act-room-p1"></p> <p class="act-room-p1"></p>
<p class="act-room-p2"></p> <p class="act-room-p2"></p>
...@@ -70,9 +70,9 @@ $(function(){ ...@@ -70,9 +70,9 @@ $(function(){
url:$ip+'/actSummerDew/getRoomPartData.html', url:$ip+'/actSummerDew/getRoomPartData.html',
success:function(data){ success:function(data){
console.log('获取主播信息',data) console.log('获取主播信息',data)
if(data.result.userData.signReceive!=0&&data.result.roomData.rank!=-1)$(".act-room-bg1").removeClass("act-room-bg2") if(data.result.userData.signReceive!=0&&data.result.roomData.rank!=-1)$(".act-room-bg1").removeClass("act-room-bg2").fadeIn(200)
else{ else{
$(".act-room-bg1").addClass("act-room-bg2") $(".act-room-bg1").addClass("act-room-bg2").fadeIn(200)
jumpType=2 jumpType=2
} }
if(sessionStorage.lang==2){ if(sessionStorage.lang==2){
......
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