结束图像显示逻辑

This commit is contained in:
Jerry Yan 2022-11-18 11:17:21 +08:00
parent f47b0bbd14
commit b2284d9002
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -15,7 +15,7 @@
<label class="block my-2">
结束图像
@if(count($program->video_pivots) > 0 && $program->video_pivots->last()->stop_image)
<img src="{{$program->video_pivots->last()->stop_image}}" alt="结束图片">
<img src="{{$program->video_pivots->first()->stop_image}}" alt="结束图片">
@else
<div>
<a href="{{route("program.construct.video.list", ["program"=>$program->id])}}"