You've already forked lubo_comment_query
使用Mix,Tailwind,更改对应样式
This commit is contained in:
@ -2,33 +2,42 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>录播节目单查询</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
@include("header")
|
||||
<table border>
|
||||
@include("common.header")
|
||||
<table class="table-auto border-collapse w-full border border-black">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>视频标题</td>
|
||||
<td>弹幕条数</td>
|
||||
<td>操作</td>
|
||||
<tr class="border border-black">
|
||||
<th class="border border-black">视频标题</th>
|
||||
<th class="border border-black">弹幕条数</th>
|
||||
<th class="border border-black hidden lg:table-cell">操作</th>
|
||||
</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>
|
||||
<tr>
|
||||
<td class="border text-sm lg:text-current">
|
||||
@if($video->danmakus_count > 0)
|
||||
<a class="text-blue-600 lg:text-current underline lg:no-underline break-all" href="/danmakus/{{$video->bvid}}">{{$video->title}}</a>
|
||||
@else
|
||||
{{$video->title}}
|
||||
@endif
|
||||
</td>
|
||||
<td class="border">{{$video->danmakus_count}}</td>
|
||||
<td class="border hidden lg:table-cell">
|
||||
@if($video->danmakus_count > 0)
|
||||
<a class="text-blue-600 underline" href="/danmakus/{{$video->bvid}}">详情</a>
|
||||
@else
|
||||
无弹幕
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@include("footer")
|
||||
{{$video_list->links()}}
|
||||
@include("common.footer")
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user