Commit d40b42d1 by libai

测试

parent f158c704
Showing with 16 additions and 1 deletions
......@@ -1332,6 +1332,9 @@ $(function(){
html+='</li>';
}
$(".hot-list-ul").html(html)
$(".hot-li-face").unbind("error").on("error",function(){
$(this).attr("src","images/boy.png")
})
}
})
}
......@@ -1369,6 +1372,9 @@ $(function(){
}
}
$(".hot-list-ul").html(html)
$(".bottom-mc-face,.hot-li-face").unbind("error").on("error",function(){
$(this).attr("src","images/boy.png")
})
if(myGoing==false)$(".hot-list-ul").css("height","9.6rem")
$(".question-icon").unbind("click").on("click",function(){
layer.open({
......@@ -1420,6 +1426,9 @@ $(function(){
}
}
$(".hot-list-ul").html(html)
$(".bottom-mc-face,.hot-li-face").unbind("error").on("error",function(){
$(this).attr("src","images/boy.png")
})
if(myGoing==false)$(".hot-list-ul").css("height","9.6rem")
$(".question-icon").unbind("click").on("click",function(){
layer.open({
......@@ -1463,6 +1472,9 @@ $(function(){
if(data.dataList.length<10) $(".room-user-ul").css("width",data.dataList.length+'rem')
else $(".room-user-ul").css("width",'10rem')
$(".room-user-ul").html(html);
$(".room-user-ul li img").unbind("error").on("error",function(){
$(this).attr("src","images/boy.png")
})
$(".room-user-ul li").unbind("click").on("click",function(){
var _self=$(this)
if(_self.attr("data-type")<0){
......@@ -1485,7 +1497,7 @@ $(function(){
pageID: localStorage.canvasCode,
},
success: function (data) {
// console.log('萤火榜单', data)
console.log('萤火榜单', data)
if(data.code==-7002){
$(".rich-list-ul").html('<p>暫時沒有收穫羽毛</p>')
}
......@@ -1510,6 +1522,9 @@ $(function(){
html+='</li>';
}
$(".rich-list-ul").html(html)
$(".rich-li-face").unbind("error").on("error",function(){
$(this).attr("src","images/boy.png")
})
if(data.myrank>0) $(".rich-list-top-text2 span").text(data.myrank)
else $(".rich-list-top-text2 span").text('暂未上榜')
$(".rich-li-face").unbind("click").on("click",function(){
......
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