完善web一些功能
This commit is contained in:
@@ -59,7 +59,10 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="layui-card-body">
|
||||
<img src="#" onerror="showTmpImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="width: 100%; height: 100%; object-fit: cover;"/><br>
|
||||
<div style="overflow: hidden;position: relative; width: 100%; height: 100%; padding-bottom: 52%;">
|
||||
<img src="#" onerror="showTmpImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="max-width: 100%; max-height: 100%; object-fit: cover; display: block; margin: auto; position: absolute; "/><br>
|
||||
</div>
|
||||
|
||||
<!-- <img src="#" onerror="showImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="width: 100%; height: 100%;"/><br> -->
|
||||
{{= item.title}}<br>
|
||||
<p>开播时长:{{= item.liveTime}}</p>
|
||||
|
||||
Reference in New Issue
Block a user