You've already forked lubo_comment_query
							
							编辑追加时,展示节目结束图
This commit is contained in:
		| @@ -9,11 +9,19 @@ | ||||
| @include("common.header") | ||||
| <form class="w-full lg:w-1/2 lg:ml-6 border-2" action="" method="post" enctype="multipart/form-data"> | ||||
|     <input type="hidden" name="id" value="{{$append->id}}"> | ||||
|     <input type="hidden" name="program_id" value="{{$program->id}}"> | ||||
|     @if($program->video_pivots->last()->stop_image) | ||||
|     @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"> | ||||
| @@ -45,6 +53,7 @@ | ||||
|         <input class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" type="submit"> | ||||
|     </div> | ||||
|     <div class="block my-2"> | ||||
|         @if(count($program->video_pivots) > 0) | ||||
|         <a class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" target="_blank" | ||||
|            href="https://www.bilibili.com/video/{{$program->video_pivots->first()->video_bvid}}?p={{$program->video_pivots->first()->start_part}}&t={{$program->video_pivots->first()->start_sec}}" | ||||
|            title="P{{$program->video_pivots->first()->start_part}}#{{$program->video_pivots->first()->start_time}}" | ||||
| @@ -53,6 +62,7 @@ | ||||
|            href="https://www.bilibili.com/video/{{$program->video_pivots->last()->video_bvid}}?p={{$program->video_pivots->last()->stop_part}}&t={{$program->video_pivots->last()->stop_sec}}" | ||||
|            title="P{{$program->video_pivots->last()->stop_part}}#{{$program->video_pivots->last()->stop_time}}" | ||||
|         >打开至结束位置</a> | ||||
|         @endif | ||||
|         <a class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white" | ||||
|            href="{{route('program.construct.append.list', ['program'=>$program->id])}}" | ||||
|         >返回列表</a> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user