Commit b5a0144d by libai

测试

parent 1b584c5f
...@@ -1141,6 +1141,14 @@ ...@@ -1141,6 +1141,14 @@
left: 0.15rem; left: 0.15rem;
top: 0.48rem; top: 0.48rem;
} }
.top-box-face {
width: 0.9rem;
height: 0.9rem;
border-radius: 50%;
position: absolute;
right: 0.5rem;
top: 0.14rem;
}
.right-list-box-out { .right-list-box-out {
position: absolute; position: absolute;
width: 7.8rem; width: 7.8rem;
...@@ -1154,6 +1162,13 @@ ...@@ -1154,6 +1162,13 @@
border-top: 1px solid #EBEBEB; border-top: 1px solid #EBEBEB;
border-bottom: none; border-bottom: none;
} }
.right-list-box-ref2 {
position: absolute;
width: 7.8rem;
border-top: 1px solid #EBEBEB;
border-bottom: none;
bottom: 0;
}
.revise-layer { .revise-layer {
width: 10rem; width: 10rem;
height: 100vh; height: 100vh;
......
...@@ -1174,6 +1174,14 @@ ...@@ -1174,6 +1174,14 @@
} }
} }
.top-box-face{
width: 0.9rem;
height: 0.9rem;
border-radius: 50%;
position: absolute;
right: 0.5rem;
top: 0.14rem;
}
.right-list-box-out{ .right-list-box-out{
position: absolute; position: absolute;
width: 7.8rem; width: 7.8rem;
...@@ -1187,6 +1195,13 @@ ...@@ -1187,6 +1195,13 @@
border-top: 1px solid #EBEBEB; border-top: 1px solid #EBEBEB;
border-bottom: none; border-bottom: none;
} }
.right-list-box-ref2{
position: absolute;
width: 7.8rem;
border-top: 1px solid #EBEBEB;
border-bottom: none;
bottom: 0;
}
.revise-layer{ .revise-layer{
width: 10rem; width: 10rem;
height: 100vh; height: 100vh;
......
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
<div class="right-list-box right-login-box">登入/註冊</div> <div class="right-list-box right-login-box">登入/註冊</div>
<div class="right-list-box right-list-box-reg">儲值</div> <div class="right-list-box right-list-box-reg">儲值</div>
</div> </div>
<!-- <div class="right-list-bottom1">刷新</div> --> <div class="right-list-box right-list-box-ref2">刷新</div>
</div> </div>
</body> </body>
<script src="layer-v3.1.0/layer/layer.js"></script> <script src="layer-v3.1.0/layer/layer.js"></script>
...@@ -537,7 +537,7 @@ $(function(){ ...@@ -537,7 +537,7 @@ $(function(){
if(localStorage.uid!==undefined&&localStorage.uid!="undefined"){ if(localStorage.uid!==undefined&&localStorage.uid!="undefined"){
userInfo() userInfo()
userCard() userCard()
} }
$(".add-button-close").on("click",function(){ $(".add-button-close").on("click",function(){
$(".add-button").fadeOut(350) $(".add-button").fadeOut(350)
...@@ -757,7 +757,9 @@ $(function(){ ...@@ -757,7 +757,9 @@ $(function(){
$(".right-nav").on("touchmove",function(event){ $(".right-nav").on("touchmove",function(event){
event.preventDefault(); event.preventDefault();
}); });
$(".right-list-box-ref2").unbind("click").on("click",function(){
window.location.reload()
})
function userInfo(){ function userInfo(){
$.ajax({ $.ajax({
url:$ip+'user/queryUserBaseInfo', url:$ip+'user/queryUserBaseInfo',
...@@ -778,6 +780,12 @@ $(function(){ ...@@ -778,6 +780,12 @@ $(function(){
}, 500); }, 500);
return; return;
} }
$(".top-box").append('<img class="top-box-face" src="https://zhibocdn.yabolive.net/comm'+data.userData.face+'?x-oss-process=image/resize,w_100">')
$(".top-box").unbind("click").on("click",function(){
$(".right-nav").css("right","0rem")
rightNavShow=true;
$(".nav-shadow").show()
})
$(".zone-face").attr("src","https://zhibocdn.yabolive.net/comm"+data.userData.face+"?x-oss-process=image/resize,w_100") $(".zone-face").attr("src","https://zhibocdn.yabolive.net/comm"+data.userData.face+"?x-oss-process=image/resize,w_100")
var html=[]; var html=[];
html+='<div class="right-list-box right-list-box-face"><img src="https://zhibocdn.yabolive.net/comm'+data.userData.face+'?x-oss-process=image/resize,w_80"><p>'+data.userData.nickname+'</p><span>></span></div>'; html+='<div class="right-list-box right-list-box-face"><img src="https://zhibocdn.yabolive.net/comm'+data.userData.face+'?x-oss-process=image/resize,w_80"><p>'+data.userData.nickname+'</p><span>></span></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