复制常驻留言时,显示最后的图像

This commit is contained in:
Jerry Yan 2022-08-22 11:18:56 +08:00
parent 4ef6a822c1
commit a0e6093a2d
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -10,6 +10,21 @@
<body> <body>
@include("common.header") @include("common.header")
<form class="w-full lg:w-1/2 lg:ml-6 border-2" action="" method="post" enctype="multipart/form-data"> <form class="w-full lg:w-1/2 lg:ml-6 border-2" action="" method="post" enctype="multipart/form-data">
@if($program)
<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="结束图片">
@else
<div>
<a href="{{route("program.construct.video.list", ["program"=>$program->id])}}"
class="block px-6 py-2 inline-block rounded-full bg-cyan-600 text-white">
去建设
</a>
</div>
@endif
</label>
@endif
<label class="block my-2" id="broadcast_select"> <label class="block my-2" id="broadcast_select">
复制的名称 复制的名称
<input class="form-input border-0 border-b-2 w-full" type="text" name="name" value="{{ old('name') }}"> <input class="form-input border-0 border-b-2 w-full" type="text" name="name" value="{{ old('name') }}">