Commit f1c6bb23 by libai

测试

parent d05c4391
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
top: -120px !important; top: -120px !important;
} }
} }
.more-live-poster {
width: 268px;
height: 268px;
}
@media screen and (min-width: 2400px) { @media screen and (min-width: 2400px) {
body .big-room-box { body .big-room-box {
transform: scale(1.3); transform: scale(1.3);
......
...@@ -38,6 +38,10 @@ ...@@ -38,6 +38,10 @@
top: -120px !important; top: -120px !important;
} }
} }
.more-live-poster{
width: 268px;
height: 268px;
}
@media screen and (min-width: 2400px) { @media screen and (min-width: 2400px) {
body{ body{
.big-room-box{ .big-room-box{
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="live-m"> <div class="live-m">
<div style="height: 60px;"></div> <div style="height: 60px;"></div>
<div class="mc-material-box"> <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"> <div class="mc-material-content">
<!-- <span class="mc-name">今天吃什麼呢</span> <!-- <span class="mc-name">今天吃什麼呢</span>
<div class="like-btn"></div> <div class="like-btn"></div>
...@@ -481,14 +481,14 @@ $(function () { ...@@ -481,14 +481,14 @@ $(function () {
var guardShowOk=null; var guardShowOk=null;
var richType=1 var richType=1
var layzT=true;3 var layzT=true;3
liveList(1)
$(window).on("scroll",function(){ $(window).on("scroll",function(){
if(layzT==true){ if(layzT==true){
layzT=false layzT=false
if($(document).scrollTop()>400){ if($(document).scrollTop()>400){
$(window).unbind("scroll") $(window).unbind("scroll")
for(var i=0;i<$(".more-live-ul li").length;i++){ 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") $(".more-live-ul li").css("background-size","cover")
} }
...@@ -706,7 +706,7 @@ $(function () { ...@@ -706,7 +706,7 @@ $(function () {
hotList() hotList()
richGuard(0) richGuard(0)
giftList(1) giftList(1)
liveList(1)
richMouse() richMouse()
hotMouse() hotMouse()
guardList() guardList()
...@@ -1767,10 +1767,11 @@ $(function () { ...@@ -1767,10 +1767,11 @@ $(function () {
for(var i=0;i<data.roomList.length;i++){ for(var i=0;i<data.roomList.length;i++){
var list=data.roomList[i] var list=data.roomList[i]
if(list.roomId==sessionStorage.roomId)continue; 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">'; 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">'; 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-name">'+list.nickname+'</div>';
html+='<div class="more-live-li-shadow"></div>'; html+='<div class="more-live-li-shadow"></div>';
html+='<div class="live-top-shadow2"></div>' html+='<div class="live-top-shadow2"></div>'
......
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