Commit 5e326fd5 by libai

测试

parent 47b21174
Showing with 3 additions and 3 deletions
...@@ -491,8 +491,7 @@ $(function(){ ...@@ -491,8 +491,7 @@ $(function(){
pageID:localStorage.canvasCode pageID:localStorage.canvasCode
}, },
success:function(data){ success:function(data){
console.log('直播列表',data) // console.log('直播列表',data)
var newList='' var newList=''
newList+='[' newList+='['
var j=0 var j=0
...@@ -512,6 +511,7 @@ $(function(){ ...@@ -512,6 +511,7 @@ $(function(){
newList+="]" newList+="]"
newList=JSON.parse(newList) newList=JSON.parse(newList)
hotList=newList hotList=newList
console.log(newList)
var html=[]; var html=[];
if(type==1){ if(type==1){
if($("body").width().toString().split("p")[0]>1440&&$("body").width().toString().split("p")[0]<2400) listNum=10 if($("body").width().toString().split("p")[0]>1440&&$("body").width().toString().split("p")[0]<2400) listNum=10
......
...@@ -899,7 +899,7 @@ $(function () { ...@@ -899,7 +899,7 @@ $(function () {
newList=JSON.parse(newList) newList=JSON.parse(newList)
var html=[]; var html=[];
var myNum=null var myNum=null
console.log(newList)
for(var i=0;i<newList.length;i++){ for(var i=0;i<newList.length;i++){
var list=newList[i] var list=newList[i]
if(list.roomId==sessionStorage.roomId){ if(list.roomId==sessionStorage.roomId){
......
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