This commit is contained in:
2024-11-22 16:02:11 +08:00
parent 23d4deb72e
commit a466ddfb68
8 changed files with 94 additions and 128 deletions

View File

@@ -250,7 +250,7 @@
});
new Chart($('#giftChart').get(0), {
type: 'bar',
type: 'pie',
data: {
labels: lables,
datasets: [{

View File

@@ -59,7 +59,7 @@
</span>
</div>
<div class="layui-card-body">
<img src="#" onerror="showTmpImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="width: 312px; height: 175px; object-fit: cover;"/><br>
<img src="#" onerror="showTmpImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="width: 100%; height: 175px; object-fit: cover;"/><br>
<!-- <img src="#" onerror="showImage('{{= item.cover}}',this)" onclick="toLive('{{= item.roomId}}')" style="width: 100%; height: 100%;"/><br> -->
{{= item.title}}<br>
<p>开播时长:{{= item.liveTime}}</p>
@@ -194,6 +194,13 @@
});
}
setTimeout(() => {
// data.data.forEach(item =>{
// if(document.getElementById(item.data)!==null){
// document.getElementById(item.data).innerHTML=item.message;
// }
// })
initFollowStatus(true)
}, 1000);