You've already forked lubo_comment_query
							
							补充亿点内容,顺便立Flag
This commit is contained in:
		| @@ -1,4 +1,10 @@ | ||||
| <div> | ||||
|     <h1>非专业人士,制作不易,请大家多多谅解</h1> | ||||
|     <p>有任何意见或建议可以直接联系我</p> | ||||
|     <div>有任何意见或建议可以直接联系我</div> | ||||
|     <div> | ||||
|         导航: | ||||
|         <a href="/">节目单查询</a> | ||||
|         <a href="/programs" style="color: gray" title="数据不全,待补充">节目查询</a> | ||||
|         <a href="/danmakus" style="color: white" title="待建设">直播弹幕查询</a> | ||||
|     </div> | ||||
| </div> | ||||
|   | ||||
| @@ -24,8 +24,8 @@ | ||||
|         <tr> | ||||
|             <td>{{$comment->video->title}}</td> | ||||
|             <td style="white-space: pre-wrap;">{{$comment->content}}</td> | ||||
|             <td><a href="https://space.bilibili.com/{{$comment->mid}}">B站主页</a></td> | ||||
|             <td><a href="https://www.bilibili.com/video/{{$comment->video->bvid}}">{{$comment->video->bvid}}</a></td> | ||||
|             <td><a target="_blank" href="https://space.bilibili.com/{{$comment->mid}}">B站主页</a></td> | ||||
|             <td><a target="_blank" href="https://www.bilibili.com/video/{{$comment->video->bvid}}">{{$comment->video->bvid}}</a></td> | ||||
|         </tr> | ||||
|         @endforeach | ||||
|         </tbody> | ||||
|   | ||||
							
								
								
									
										80
									
								
								resources/views/program.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								resources/views/program.blade.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,80 @@ | ||||
| <html lang="zh"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <title>录播节目查询</title> | ||||
| </head> | ||||
| <body> | ||||
|     @include("header") | ||||
|     <h3>搜索功能待开放,数据待补充完整</h3> | ||||
|     <!--<form action=""> | ||||
|         <label for="keyword">查找节目关键词,空格隔开查找多个关键词</label> | ||||
|         <input type="text" name="keyword" id="keyword" value="{{$keyword}}"> | ||||
|         <input type="submit"> | ||||
|     </form>--> | ||||
|     <table border> | ||||
|         <thead> | ||||
|         <tr> | ||||
|             <td>节目名称</td> | ||||
|             <td>节目标签</td> | ||||
|             <td>点播及追加</td> | ||||
|             <td>视频地址及位置</td> | ||||
|         </tr> | ||||
|         </thead> | ||||
|         <tbody> | ||||
|         @foreach($programs as $program) | ||||
|         <tr> | ||||
|             <td>{{$program->name}}</td> | ||||
|             <td> | ||||
|                 @foreach($program->tags as $tag) | ||||
|                     <div title="{{$tag->comment}}">{{$tag->name}}</div> | ||||
|                 @endforeach | ||||
|             </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 | ||||
|                 @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}}" | ||||
|                     > | ||||
|                         节目开始位置 | ||||
|                     </a> | ||||
|                 @endforeach | ||||
|             </td> | ||||
|         </tr> | ||||
|         @endforeach | ||||
|         </tbody> | ||||
|     </table> | ||||
| @include("footer") | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										11
									
								
								resources/views/under_construct.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								resources/views/under_construct.blade.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| <html lang="zh"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <title>正在建设中</title> | ||||
| </head> | ||||
| <body> | ||||
|     @include("header") | ||||
|     <h1>正在建设中</h1> | ||||
|     @include("footer") | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user