Commit d8cd5b9a by libai

ft活动上线

parent 495634d1
Showing with 3 additions and 3 deletions
...@@ -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-tips1">距離上一名</p> <p class="act-room-tips1">距離上一名</p>
<p class="act-room-tips2">當前排名</p> <p class="act-room-tips2">當前排名</p>
...@@ -72,10 +72,10 @@ $(function(){ ...@@ -72,10 +72,10 @@ $(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 {
jumpType=2 jumpType=2
$(".act-room-bg1").addClass("act-room-bg2") $(".act-room-bg1").addClass("act-room-bg2").fadeIn(200)
} }
$(".act-room-p1").text(data.result.roomData.diffPreScore) $(".act-room-p1").text(data.result.roomData.diffPreScore)
$(".act-room-p2").text(data.result.roomData.rank) $(".act-room-p2").text(data.result.roomData.rank)
......
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