Commit 8de56cb9 by libai

测试

parent 0ebdd539
Showing with 6 additions and 6 deletions
...@@ -745,7 +745,7 @@ $(function(){ ...@@ -745,7 +745,7 @@ $(function(){
var html=[]; var html=[];
for(var i=0;i<data.roomList.length;i++){ for(var i=0;i<data.roomList.length;i++){
var list=data.roomList[i] var list=data.roomList[i]
html+='<a href="room/liveRoom.html?roomId='+list.roomId+'&sound=1"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180">'; html+='<a href="room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112501"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180">';
if(list.liveScope==3)html+='<img class="secret" src="images/Lock-no.png" alt="">'; if(list.liveScope==3)html+='<img class="secret" src="images/Lock-no.png" alt="">';
if(list.onlinenum)html+='<div class="hot-num-box"><img src="images/hot.png"><span>'+list.onlinenum+'</span></div>'; if(list.onlinenum)html+='<div class="hot-num-box"><img src="images/hot.png"><span>'+list.onlinenum+'</span></div>';
......
...@@ -714,7 +714,7 @@ $(function(){ ...@@ -714,7 +714,7 @@ $(function(){
var soundOk=false var soundOk=false
if (/android/.test(ua)) { if (/android/.test(ua)) {
if(mySound==1){ if(mySound==1){
history.pushState(null,null,'liveRoom.html?roomId='+sessionStorage.roomId+''); history.pushState(null,null,'liveRoom.html?roomId='+sessionStorage.roomId+'&v=2022112501');
$(".sound-btn").attr("data-type",1) $(".sound-btn").attr("data-type",1)
$(".sound-btn").attr("src","images/sound-yes.png") $(".sound-btn").attr("src","images/sound-yes.png")
$(".gift-btn").attr("src","images/gift-btn.png") $(".gift-btn").attr("src","images/gift-btn.png")
...@@ -1120,7 +1120,7 @@ $(function(){ ...@@ -1120,7 +1120,7 @@ $(function(){
for(var i=0;i<3;i++){ for(var i=0;i<3;i++){
if(data.roomList[i]==undefined)break; if(data.roomList[i]==undefined)break;
var list=data.roomList[i] var list=data.roomList[i]
html+='<a href="liveRoom.html?roomId='+list.roomId+'"><li>'; html+='<a href="liveRoom.html?roomId='+list.roomId+'&v=2022112501"><li>';
html+='<span class="more-mc-num">'+list.hotnum+'</span>'; html+='<span class="more-mc-num">'+list.hotnum+'</span>';
html+='<img class="more-mc-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_150" alt="">'; html+='<img class="more-mc-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_150" alt="">';
html+='<p class="more-mc-p1">'+list.nickname+'</p>'; html+='<p class="more-mc-p1">'+list.nickname+'</p>';
...@@ -1204,7 +1204,7 @@ $(function(){ ...@@ -1204,7 +1204,7 @@ $(function(){
html+='<li>'; html+='<li>';
html+='<div class="hot-list-li-box1">'+(i+1)+'</div>'; html+='<div class="hot-list-li-box1">'+(i+1)+'</div>';
html+='<div class="hot-list-li-box2">'; html+='<div class="hot-list-li-box2">';
html+='<a href="liveRoom.html?roomId='+list.uid+'"><img class="hot-li-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_80" alt=""></a>'; html+='<a href="liveRoom.html?roomId='+list.uid+'&v=2022112501"><img class="hot-li-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_80" alt=""></a>';
html+='<div class="hot-li-p1">'+list.nickname+'</div>'; html+='<div class="hot-li-p1">'+list.nickname+'</div>';
html+='<div class="hot-li-p2"><img src="images/hot-icon.png">'+list.score+'</div>'; html+='<div class="hot-li-p2"><img src="images/hot-icon.png">'+list.score+'</div>';
html+='</div>'; html+='</div>';
...@@ -2448,7 +2448,7 @@ $(function(){ ...@@ -2448,7 +2448,7 @@ $(function(){
$(".room-bg,.video-box").css("transition","0.35s all") $(".room-bg,.video-box").css("transition","0.35s all")
$(".room-bg,.video-box").css("top","100vh") $(".room-bg,.video-box").css("top","100vh")
setTimeout(function() { setTimeout(function() {
window.location.href="liveRoom.html?roomId="+topRoomId+"&sound=1" window.location.href="liveRoom.html?roomId="+topRoomId+"&sound=1&v=2022112501"
}, 350); }, 350);
return return
} }
...@@ -2460,7 +2460,7 @@ $(function(){ ...@@ -2460,7 +2460,7 @@ $(function(){
$(".room-bg,.video-box").css("transition","0.35s all") $(".room-bg,.video-box").css("transition","0.35s all")
$(".room-bg,.video-box").css("top","-100vh") $(".room-bg,.video-box").css("top","-100vh")
setTimeout(function() { setTimeout(function() {
window.location.href="liveRoom.html?roomId="+BottomRoomId+"&sound=1" window.location.href="liveRoom.html?roomId="+BottomRoomId+"&sound=1&v=2022112501"
}, 350); }, 350);
return return
} }
......
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