You've already forked lubo_comment_query
							
							组件抽象
This commit is contained in:
		| @@ -22,63 +22,36 @@ | ||||
|             <td> | ||||
|                 <a href="{{route("program.construct.edit", ["program"=>$program->id])}}">编辑</a> | ||||
|                 <span title="节目">{{$program->name}}</span> | ||||
|                 <span title="难度">{{$program->difficulty}}</span> | ||||
|                 <span title="要求">{{$program->desc}}</span> | ||||
|             </td> | ||||
|             <td> | ||||
|                 @foreach($program->appends as $append) | ||||
|                     @if($append->is_original) | ||||
|                         <div> | ||||
|                             @if($append->from_mid) | ||||
|                                 <a target="_blank" | ||||
|                                    href="https://space.bilibili.com/{{$append->from_mid}}">{{$append->from}}</a> | ||||
|                             @else | ||||
|                                 {{$append->from}} | ||||
|                             @endif | ||||
|                             老板点播 | ||||
|                             <span title="一分10块">{{$append->price}}分</span> | ||||
|                             @if($append->append) | ||||
|                                 <span>({{$append->append}})</span> | ||||
|                             @endif | ||||
|                         </div> | ||||
|                     @else | ||||
|                         <div> | ||||
|                             @if($append->from_mid) | ||||
|                                 <a target="_blank" | ||||
|                                    href="https://space.bilibili.com/{{$append->from_mid}}">{{$append->from}}</a> | ||||
|                             @else | ||||
|                                 {{$append->from}} | ||||
|                             @endif | ||||
|                             老板追加:{{$append->name}} | ||||
|                             <span title="一分10块">{{$append->price}}分</span> | ||||
|                             @if($append->append) | ||||
|                                 <span>({{$append->append}})</span> | ||||
|                             @endif | ||||
|                         </div> | ||||
|                     @endif | ||||
|                     <x-append :append="$append"></x-append> | ||||
|                 @endforeach | ||||
|             </td> | ||||
|             <td> | ||||
|                 @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}}" | ||||
|                     > | ||||
|                     <x-links.video_link :bvid="$video_pivot->video_bvid" :part="$video_pivot->start_part" :time="$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 | ||||
|                             节目开始位置 | ||||
|                         @endif | ||||
|                     </a> | ||||
|                     </x-links.video_link> | ||||
|                 @endforeach | ||||
|             </td> | ||||
|             <td> | ||||
|                 @foreach($program->video_pivots as $video_pivot) | ||||
|                     @if($video_pivot->stop_image) | ||||
|                         <img width="300" src="{{$video_pivot->stop_image}}" alt="结束时的画面"> | ||||
|                     @else | ||||
|                         <div>暂无</div> | ||||
|                     @endif | ||||
|                     <x-links.video_link :bvid="$video_pivot->video_bvid" :part="$video_pivot->stop_part" :time="$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 | ||||
|                     </x-links.video_link> | ||||
|                 @endforeach | ||||
|             </td> | ||||
|         </tr> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user