支持主动导入弹幕

This commit is contained in:
2023-01-03 13:07:45 +08:00
parent cece95a5a4
commit 474b97a40a
8 changed files with 187 additions and 31 deletions

View File

@ -68,6 +68,9 @@
@if(sizeof($video_pivots) === 0 && $comment)
<a href="{{ url(route("program.construct.from_comment", ["comment"=>$comment->id])) }}" class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white">一键导入评论中的节目单</a>
@endif
@if($video->danmakus->count() === 0)
<a href="{{ url(route("danmaku.construct.batch_import", ["video_bvid"=>$video->bvid])) }}" class="px-6 py-2 inline-block rounded-full bg-cyan-600 text-white">导入直播弹幕</a>
@endif
@endauth
@include("common.footer")
</body>