弹幕查询

This commit is contained in:
2022-07-12 14:45:50 +08:00
parent 94dafde0a4
commit 23dfef114e
5 changed files with 83 additions and 2 deletions

View File

@ -0,0 +1,34 @@
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>录播节目单查询</title>
</head>
<body>
@include("header")
<table border>
<thead>
<tr>
<td>视频标题</td>
<td>弹幕条数</td>
<td>操作</td>
</tr>
</thead>
<tbody>
@foreach($video_list as $video)
<tr>
<td>{{$video->title}}</td>
<td>{{$video->danmakus_count}}</td>
<td>
@if($video->danmakus_count > 0)
<a href="/danmakus/{{$video->bvid}}">详情</a>
@else
无弹幕
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
@include("footer")
</body>
</html>