Commit d89aa6bb by libai

测试

parent 6203cc6b
Showing with 1 additions and 5 deletions
...@@ -873,8 +873,6 @@ $(function(){ ...@@ -873,8 +873,6 @@ $(function(){
success:function(data){ success:function(data){
console.log('直播列表',data) console.log('直播列表',data)
var html=[]; var html=[];
var obj=''
obj+="["
var j=0 var j=0
for(var i=0;i<data.normalRoomList.length;i++){ for(var i=0;i<data.normalRoomList.length;i++){
var list=data.normalRoomList[i] var list=data.normalRoomList[i]
...@@ -914,8 +912,7 @@ $(function(){ ...@@ -914,8 +912,7 @@ $(function(){
html+='</li></a>'; html+='</li></a>';
} }
$(".box1 .live-ul").html(html); $(".box1 .live-ul").html(html);
obj+="]"
console.log(JSON.parse(obj))
} }
}) })
......
...@@ -1223,7 +1223,6 @@ $(function(){ ...@@ -1223,7 +1223,6 @@ $(function(){
} }
newList+="]" newList+="]"
newList=JSON.parse(newList) newList=JSON.parse(newList)
console.log(newList)
var bottomNum var bottomNum
var topNum var topNum
......
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