Commit 1b584c5f by libai

测试

parent 91f1378d
Showing with 3 additions and 1 deletions
...@@ -1328,7 +1328,6 @@ $(function(){ ...@@ -1328,7 +1328,6 @@ $(function(){
if(list.uid==sessionStorage.roomId){ if(list.uid==sessionStorage.roomId){
myGoing=true; myGoing=true;
var html2=[] var html2=[]
html2+='<div class="bottom-mc-hot-nav1">'+(i+1)+'</div>'; html2+='<div class="bottom-mc-hot-nav1">'+(i+1)+'</div>';
html2+='<div class="bottom-mc-hot-nav2">'; html2+='<div class="bottom-mc-hot-nav2">';
html2+='<img class="bottom-mc-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_100" alt="">'; html2+='<img class="bottom-mc-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_100" alt="">';
...@@ -1351,6 +1350,7 @@ $(function(){ ...@@ -1351,6 +1350,7 @@ $(function(){
}, },
success:function(data){ success:function(data){
// console.log("互动榜单",data) // console.log("互动榜单",data)
var myGoing=false
var html=[]; var html=[];
for(var i=0;i<data.rankList.length;i++){ for(var i=0;i<data.rankList.length;i++){
var list=data.rankList[i] var list=data.rankList[i]
...@@ -1363,6 +1363,7 @@ $(function(){ ...@@ -1363,6 +1363,7 @@ $(function(){
html+='</div>'; html+='</div>';
html+='</li>'; html+='</li>';
if(list.uid==sessionStorage.roomId){ if(list.uid==sessionStorage.roomId){
myGoing=true;
var html2=[] var html2=[]
html2+='<div class="bottom-mc-hot-nav1">'+(i+1)+'</div>'; html2+='<div class="bottom-mc-hot-nav1">'+(i+1)+'</div>';
html2+='<div class="bottom-mc-hot-nav2">'; html2+='<div class="bottom-mc-hot-nav2">';
...@@ -1374,6 +1375,7 @@ $(function(){ ...@@ -1374,6 +1375,7 @@ $(function(){
} }
} }
$(".hot-list-ul").html(html) $(".hot-list-ul").html(html)
if(myGoing==false)$(".hot-list-ul").css("height","9.6rem")
} }
}) })
} }
......
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