You've already forked lubo_comment_query
样式及详情等
This commit is contained in:
@ -18,19 +18,19 @@
|
||||
<tr class="border border-black sticky bg-white lg:static top-0 left-0 right-0">
|
||||
<th class="border border-black">节目名称</th>
|
||||
<th class="border border-black">点播及追加</th>
|
||||
<th class="border border-black">节目开始</th>
|
||||
<th class="border border-black">节目结束</th>
|
||||
<th class="border border-black hidden lg:table-cell">节目开始</th>
|
||||
<th class="border border-black hidden lg:table-cell">节目结束</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($programs as $program)
|
||||
<tr>
|
||||
<td class="border">
|
||||
<span title="节目">{{$program->name}}</span>
|
||||
<span title="难度">{{$program->difficulty}}</span>
|
||||
<span title="要求">{{$program->desc}}</span>
|
||||
<br>
|
||||
<span title="开打的时间">{{$program->created_at}}</span>
|
||||
<a href="/programs/{{ $program->id }}/video">
|
||||
<span title="节目">{{$program->name}}</span>
|
||||
<span title="难度">{{$program->difficulty}}</span>
|
||||
<span title="要求">{{$program->desc}}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td class="border">
|
||||
@foreach($program->appends as $append)
|
||||
@ -90,45 +90,43 @@
|
||||
<a href="{{route('program.construct.append.list', ['program'=>$program->id])}}">去建设</a>
|
||||
@endif
|
||||
</td>
|
||||
<td class="border">
|
||||
<td class="border hidden lg:table-cell">
|
||||
@foreach($program->video_pivots as $video_pivot)
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://www.bilibili.com/video/{{$video_pivot->video_bvid}}?p={{$video_pivot->start_part}}&t={{$video_pivot->start_sec}}"
|
||||
title="P{{$video_pivot->start_part}}#{{$video_pivot->start_time}}"
|
||||
<a class="block"
|
||||
target="_blank"
|
||||
href="https://www.bilibili.com/video/{{$video_pivot->video_bvid}}?p={{$video_pivot->start_part}}&t={{$video_pivot->start_sec}}"
|
||||
title="P{{$video_pivot->start_part}}#{{$video_pivot->start_time}}"
|
||||
>
|
||||
<div>{{$video_pivot->created_at}} P{{$video_pivot->start_part}}#{{$video_pivot->start_time}}</div>
|
||||
@if($video_pivot->start_image)
|
||||
<img width="300" src="{{$video_pivot->start_image}}" alt="开始时的画面">
|
||||
@else
|
||||
节目开始位置
|
||||
<a href="{{route('program.construct.video.edit', ['program_video'=>$video_pivot->id])}}">去建设</a>
|
||||
@endif
|
||||
</a>
|
||||
@endforeach
|
||||
</td>
|
||||
<td class="border">
|
||||
<td class="border hidden lg:table-cell">
|
||||
@foreach($program->video_pivots as $video_pivot)
|
||||
@if($video_pivot->stop_part)
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://www.bilibili.com/video/{{$video_pivot->video_bvid}}?p={{$video_pivot->stop_part}}&t={{$video_pivot->stop_sec}}"
|
||||
title="P{{$video_pivot->stop_part}}#{{$video_pivot->stop_time}}"
|
||||
<a class="block"
|
||||
target="_blank"
|
||||
href="https://www.bilibili.com/video/{{$video_pivot->video_bvid}}?p={{$video_pivot->stop_part}}&t={{$video_pivot->stop_sec}}"
|
||||
title="P{{$video_pivot->stop_part}}#{{$video_pivot->stop_time}}"
|
||||
>
|
||||
<div>P{{$video_pivot->stop_part}}#{{$video_pivot->stop_time}}</div>
|
||||
@if($video_pivot->start_image)
|
||||
<img width="300" src="{{$video_pivot->stop_image}}" alt="结束时的画面">
|
||||
@else
|
||||
节目结束位置
|
||||
@endif
|
||||
</a>
|
||||
@else
|
||||
<a href="{{route('program.construct.video.edit', ['program_video'=>$video_pivot->id])}}">去建设</a>
|
||||
@endif
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
{{$programs->links()}}
|
||||
@include("common.footer")
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user