feat: enable video preview feature

This commit is contained in:
Hakadao
2023-12-06 01:15:58 +08:00
parent e58283d5d2
commit dd84cd98b2
4 changed files with 8 additions and 3 deletions

View File

@@ -98,8 +98,8 @@ function jumpToLoginPage() {
:id="Number(video.modules.module_dynamic.major.archive?.aid)"
:key="video.modules.module_dynamic.major.archive?.aid"
:duration-str="video.modules.module_dynamic.major.archive?.duration_text"
:title="video.modules.module_dynamic.major.archive?.title"
:cover="video.modules.module_dynamic.major.archive?.cover"
:title="`${video.modules.module_dynamic.major.archive?.title}`"
:cover="`${video.modules.module_dynamic.major.archive?.cover}`"
:author="video.modules.module_author.name"
:author-face="video.modules.module_author.face"
:mid="video.modules.module_author.mid"

View File

@@ -145,6 +145,8 @@ function getRankingPgc() {
:published-timestamp="video.pubdate"
:bvid="video.bvid"
:rank="index + 1"
:cid="video.cid"
show-preview
horizontal
w-full
/>

View File

@@ -77,6 +77,8 @@ async function getTrendingVideos() {
:published-timestamp="video.pubdate"
:bvid="video.bvid"
:tag="video.rcmd_reason.content"
:cid="video.cid"
show-preview
horizontal
w-full
/>