diff --git a/room/css/room.css b/room/css/room.css index 0bf8443..1446941 100644 --- a/room/css/room.css +++ b/room/css/room.css @@ -36,6 +36,10 @@ top: -120px !important; } } +.more-live-poster { + width: 268px; + height: 268px; +} @media screen and (min-width: 2400px) { body .big-room-box { transform: scale(1.3); diff --git a/room/css/room.less b/room/css/room.less index 831f645..592b00f 100644 --- a/room/css/room.less +++ b/room/css/room.less @@ -38,6 +38,10 @@ top: -120px !important; } } +.more-live-poster{ + width: 268px; + height: 268px; +} @media screen and (min-width: 2400px) { body{ .big-room-box{ diff --git a/room/liveRoom.html b/room/liveRoom.html index 036896b..3d6809f 100644 --- a/room/liveRoom.html +++ b/room/liveRoom.html @@ -42,7 +42,7 @@ <div class="live-m"> <div style="height: 60px;"></div> <div class="mc-material-box"> - <img class="mc-material-face" src="images/face.png" alt=""> + <img class="mc-material-face" src="images/face.png" alt="絲襪美女直播"> <div class="mc-material-content"> <!-- <span class="mc-name">今天吃什麼呢</span> <div class="like-btn"></div> @@ -481,14 +481,14 @@ $(function () { var guardShowOk=null; var richType=1 var layzT=true;3 - + liveList(1) $(window).on("scroll",function(){ if(layzT==true){ layzT=false if($(document).scrollTop()>400){ $(window).unbind("scroll") for(var i=0;i<$(".more-live-ul li").length;i++){ - $(".more-live-ul li").eq(i).css("background","url("+$(".more-live-ul li").eq(i).attr("data-type")+")") + $(".more-live-ul li").eq(i).children(".more-live-poster").attr("src",""+$(".more-live-ul li").eq(i).attr("data-type")+"") } $(".more-live-ul li").css("background-size","cover") } @@ -706,7 +706,7 @@ $(function () { hotList() richGuard(0) giftList(1) - liveList(1) + richMouse() hotMouse() guardList() @@ -1767,10 +1767,11 @@ $(function () { for(var i=0;i<data.roomList.length;i++){ var list=data.roomList[i] if(list.roomId==sessionStorage.roomId)continue; - html+='<a href="https://www.footseen.xyz/room/liveRoom.html?roomId='+list.roomId+'"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_268" style="background:#fff;background-size: cover;">'; + html+='<a title='+keyEArr[Math.floor(Math.random()*200)]+' href="https://www.footseen.xyz/room/liveRoom.html?roomId='+list.roomId+'"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_268" style="background:#E5E5E5;background-size: cover;">'; if(list.liveScope==3&&list.selfLock==1)html+='<img class="lock" src="../images/Lock-ok.png">'; else if(list.liveScope==3&&list.selfLock==0)html+='<img class="lock" src="../images/Lock-no.png">'; - html+='<img class="move-live-online" src="images/live.png" alt="">'; + html+='<img class="move-live-online" src="images/live.png" alt="直播中">'; + html+='<img class="more-live-poster" src="images/face.png" alt="'+list.introduce+'">' html+='<div class="more-live-name">'+list.nickname+'</div>'; html+='<div class="more-live-li-shadow"></div>'; html+='<div class="live-top-shadow2"></div>'