Commit 6e26436d by libai

测试

parent 98a22cf5
......@@ -1985,6 +1985,7 @@ input::-webkit-input-placeholder {
margin: 0 auto;
background: #EEE4DC;
border-radius: 8px ;
overflow: hidden;
}
.layer-photo-content-left {
width: 775px;
......
......@@ -2046,6 +2046,7 @@ input::-webkit-input-placeholder{
margin: 0 auto;
background:#EEE4DC;
border-radius: 8px ;
overflow: hidden;
}
.layer-photo-content-left{
width: 775px;
......
......@@ -21,7 +21,7 @@
<link rel="stylesheet" href="../css/layer.css">
<link rel="stylesheet" href="../css/swiper.min.css">
<link rel="stylesheet" href="css/index.css?v=2022072901">
<link rel="stylesheet" href="css/room.css?v=2022072901">
<link rel="stylesheet" href="css/room.css?v=2022073001">
<link rel="stylesheet" href="../css/login.css?v=2022072901">
<script src="../lib/flv.js"></script>
<script src="https://accounts.google.com/gsi/client" async defer></script>
......@@ -1793,7 +1793,10 @@ $(function () {
html+='</ul>';
}
if(imagesList.images[0].high>900) html+='<img style="height:900px" class="photo-content-left-img" src="https://zhibocdn.yabolive.net/comm'+imagesList.images[0].url+'?x-oss-process=image/resize,w_775" alt="">';
if(imagesList.images[0].high>900){
if(imagesList.images[0].high>imagesList.images[0].wide)html+='<img style="height:900px" class="photo-content-left-img" src="https://zhibocdn.yabolive.net/comm'+imagesList.images[0].url+'?x-oss-process=image/resize,w_775" alt="">';
else html+='<img style="width:775px" class="photo-content-left-img" src="https://zhibocdn.yabolive.net/comm'+imagesList.images[0].url+'?x-oss-process=image/resize,w_775" alt="">';
}
else if(imagesList.images[0].wide>775)html+='<img style="width:775px" class="photo-content-left-img" src="https://zhibocdn.yabolive.net/comm'+imagesList.images[0].url+'?x-oss-process=image/resize,w_775" alt="">';
else html+='<img style="height:'+imagesList.images[0].high+'px;width:'+imagesList.images[0].wide+'px" class="photo-content-left-img" src="https://zhibocdn.yabolive.net/comm'+imagesList.images[0].url+'?x-oss-process=image/resize,w_775" alt="">';
$(".layer-photo-content-left").html(html);
......
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