建设支持分页,节目列表添加开打时间,暂时停止使用cdn

This commit is contained in:
2022-07-31 11:19:23 +08:00
parent 315f3e6cce
commit 16fba66527
6 changed files with 12 additions and 5 deletions

View File

@ -58,6 +58,7 @@
@endforeach
</tbody>
</table>
{{ $programs->links() }}
@include("common.footer")
</body>
</html>

View File

@ -26,6 +26,9 @@
@foreach($programs as $program)
<tr>
<td class="border align-top w-1/2 lg:w-1/4">
@if(sizeof($program->video_pivots) > 0)
<div class="block lg:hidden">{{$program->created_at}}</div>
@endif
<a class="text-blue-600 lg:text-current underline lg:no-underline" href="/programs/{{ $program->id }}/video">
<span title="节目">{{$program->name}}</span>
<span title="难度">{{$program->difficulty}}</span>