Commit ec92b05c by libai

测试

parent 0fe7743c
Showing with 6 additions and 4 deletions
...@@ -1415,7 +1415,7 @@ $(function(){ ...@@ -1415,7 +1415,7 @@ $(function(){
html2+='<p class="bottom-mc-p1">'+list.nickname+'</p>'; html2+='<p class="bottom-mc-p1">'+list.nickname+'</p>';
html2+='<p class="bottom-mc-p2"><img style="width: 0.45rem;" src="images/interac.png" alt="">'+list.score+'</p>'; html2+='<p class="bottom-mc-p2"><img style="width: 0.45rem;" src="images/interac.png" alt="">'+list.score+'</p>';
html2+='</div>'; html2+='</div>';
$(".bottom-mc-hot-box").html(html2) $(".bottom-mc-hot-box").show().html(html2)
} }
} }
$(".hot-list-ul").html(html) $(".hot-list-ul").html(html)
...@@ -2078,10 +2078,8 @@ $(function(){ ...@@ -2078,10 +2078,8 @@ $(function(){
//主播數據變更 //主播數據變更
if (obj.cid == 4200){ if (obj.cid == 4200){
var list=JSON.parse(obj.content) var list=JSON.parse(obj.content)
// $(".room-hot-box >span").text(list.content.bonds) $(".room-hot-box >span").text(list.content.bonds)
// $(".hot-list-box >i").text(list.content.hotnum) // $(".hot-list-box >i").text(list.content.hotnum)
$(".hot-list-box >i").text(list.content.popularNum)
$(".interac-list-box >i").text(list.content.interacNum)
// $(".hot-box >span").text(list.content.hotnum) // $(".hot-box >span").text(list.content.hotnum)
// $(".rich-box >span").text(list.content.bonds) // $(".rich-box >span").text(list.content.bonds)
// $(".rich-box").append('<div class="rich-add-box richAddShow-go">+'+list.content.changebonds+'</div>') // $(".rich-box").append('<div class="rich-add-box richAddShow-go">+'+list.content.changebonds+'</div>')
...@@ -2089,6 +2087,10 @@ $(function(){ ...@@ -2089,6 +2087,10 @@ $(function(){
// $(".richAddShow-go").eq(0).remove() // $(".richAddShow-go").eq(0).remove()
// }, 1000); // }, 1000);
} }
if(obj.cid == 4700){
$(".hot-list-box >i").text(list.content.popularNum)
$(".interac-list-box >i").text(list.content.interacNum)
}
//主播直播状态 //主播直播状态
if (obj.cid == 4300){ if (obj.cid == 4300){
var list=JSON.parse(obj.content) var list=JSON.parse(obj.content)
......
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