feat(video-card): enhance video card context menu

This commit is contained in:
Hakadao
2024-10-14 01:50:36 +08:00
parent 3fec851ffe
commit b06c2a868d
8 changed files with 197 additions and 55 deletions

View File

@@ -344,6 +344,7 @@ defineExpose({ initData })
v-for="video in videoList"
:key="video.uniqueId"
:skeleton="!video.item"
type="rcmd"
:video="video.item ? {
id: video.item.id,
duration: video.item.duration,
@@ -370,7 +371,7 @@ defineExpose({ initData })
:key="video.uniqueId"
ref="videoCardRef"
:skeleton="!video.item"
:is-app="true"
type="appRcmd"
:video="video.item ? {
id: video.item.args.aid ?? 0,
durationStr: video.item.cover_right_text,

View File

@@ -191,6 +191,7 @@ defineExpose({ initData })
v-for="video in videoList"
:key="video.uniqueId"
:skeleton="!video.item"
type="bangumi"
:video="video.item ? {
id: video.item.modules.module_author.mid,
title: `${video.item.modules.module_dynamic.major.pgc?.title}`,