Commit ab7b6ea9 by libai

测试

parent e77379f7
...@@ -1252,6 +1252,7 @@ ...@@ -1252,6 +1252,7 @@
} }
.first-login-btn { .first-login-btn {
background: #FDEBF9; background: #FDEBF9;
display: none;
height: 0.7rem; height: 0.7rem;
width: 2.3rem; width: 2.3rem;
line-height: 0.7rem; line-height: 0.7rem;
......
...@@ -1288,6 +1288,7 @@ ...@@ -1288,6 +1288,7 @@
} }
.first-login-btn{ .first-login-btn{
background: #FDEBF9; background: #FDEBF9;
display: none;
height: 0.7rem; height: 0.7rem;
width: 2.3rem; width: 2.3rem;
line-height: 0.7rem; line-height: 0.7rem;
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<li class="top-box-li-click">直播 <img class="click-img" src="images/click.png" alt=""></li> <li class="top-box-li-click">直播 <img class="click-img" src="images/click.png" alt=""></li>
<li>影片</li> <li>影片</li>
</ul> </ul>
<div class="first-login-btn">/註冊</div> <div class="first-login-btn">/註冊</div>
</div> </div>
<div style="height: 1.5rem;"></div> <div style="height: 1.5rem;"></div>
<ul class="live-ul clearfix"> <ul class="live-ul clearfix">
...@@ -434,6 +434,17 @@ $(function(){ ...@@ -434,6 +434,17 @@ $(function(){
$(".add-button").fadeOut(350) $(".add-button").fadeOut(350)
event.stopPropagation(); event.stopPropagation();
}) })
if(localStorage.uid==undefined){
$(".first-login-btn").show()
$(".first-login-btn").on("click",function(){
if(localStorage.uid==undefined){
$(".nav-shadow").show()
loginPage()
return
}
})
}
$(".zone-top-btn").on("click",function(){ $(".zone-top-btn").on("click",function(){
window.location.href="revise.html" window.location.href="revise.html"
}) })
...@@ -747,8 +758,7 @@ $(function(){ ...@@ -747,8 +758,7 @@ $(function(){
var list=data.roomList[i] var list=data.roomList[i]
html+='<a href="room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112502&back=1"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180">'; html+='<a href="room/liveRoom.html?roomId='+list.roomId+'&sound=1&v=2022112502&back=1"><li data-type="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180">';
if(list.liveScope==3)html+='<img class="secret" src="images/Lock-no.png" alt="">'; if(list.liveScope==3)html+='<img class="secret" src="images/Lock-no.png" alt="">';
if(list.liveScope!=3)html+='<div class="hot-num-box"><img src="images/hot.png"><span>'+list.onlinenum+'</span></div>';
if(list.onlinenum)html+='<div class="hot-num-box"><img src="images/hot.png"><span>'+list.onlinenum+'</span></div>';
// html+='<img class="live-li-face" src="images/layz.png" alt="">'; // html+='<img class="live-li-face" src="images/layz.png" alt="">';
html+='<img class="live-li-face" src="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180" alt="">'; html+='<img class="live-li-face" src="https://zhibocdn.yabolive.net/comm'+list.face.split("?")[0]+'?x-oss-process=image/resize,w_180" alt="">';
html+='<div class="live-shadow"></div>'; html+='<div class="live-shadow"></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