feat: 添加 MediaInfoDialog 组件并更新相关引用

This commit is contained in:
jxxghp
2024-12-29 14:22:27 +08:00
parent a604d3223a
commit 3b2d5e45bb
5 changed files with 245 additions and 117 deletions

View File

@@ -0,0 +1,22 @@
<script setup lang="ts">
import { Context } from '@/api/types'
import MediaInfoCard from '../cards/MediaInfoCard.vue'
// 输入参数
defineProps({
context: Object as PropType<Context>,
})
// 定义事件
const emit = defineEmits(['close'])
</script>
<template>
<VDialog max-width="50rem">
<VCard>
<DialogCloseBtn @click="emit('close')" />
<VCardItem>
<MediaInfoCard :context="context" />
</VCardItem>
</VCard>
</VDialog>
</template>