This commit is contained in:
jxxghp
2024-10-09 17:07:18 +08:00
parent b639369846
commit 936be9928d
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ const dropdownItems = ref([
}, },
}, },
{ {
title: '媒体详情', title: '详情',
value: 3, value: 3,
props: { props: {
prependIcon: 'mdi-information-outline', prependIcon: 'mdi-information-outline',
@@ -146,7 +146,7 @@ const dropdownItems = ref([
}, },
}, },
{ {
title: '文件信息', title: '文件',
value: 4, value: 4,
props: { props: {
prependIcon: 'mdi-file-document-outline', prependIcon: 'mdi-file-document-outline',
+5 -3
View File
@@ -121,9 +121,11 @@ onMounted(() => {
<template> <template>
<VDialog max-width="40rem" scrollable> <VDialog max-width="40rem" scrollable>
<VCard> <VCard>
<VCardTitle v-if="title">下载 - {{ title }}</VCardTitle> <VCardItem>
<VCardTitle v-else>确认下载</VCardTitle> <VCardTitle v-if="title">下载 - {{ title }}</VCardTitle>
<DialogCloseBtn @click="emit('close')" /> <VCardTitle v-else>确认下载</VCardTitle>
<DialogCloseBtn @click="emit('close')" />
</VCardItem>
<VDivider /> <VDivider />
<VCardText> <VCardText>
<VRow> <VRow>
@@ -2,6 +2,7 @@
import api from '@/api' import api from '@/api'
import { SubscrbieInfo } from '@/api/types' import { SubscrbieInfo } from '@/api/types'
import { useDisplay } from 'vuetify' import { useDisplay } from 'vuetify'
import { VCardTitle } from 'vuetify/lib/components/index.mjs'
// 显示器宽度 // 显示器宽度
const display = useDisplay() const display = useDisplay()
@@ -77,7 +78,7 @@ onBeforeMount(() => {
<template> <template>
<VDialog scrollable max-width="80rem" :fullscreen="!display.mdAndUp.value"> <VDialog scrollable max-width="80rem" :fullscreen="!display.mdAndUp.value">
<VCard class="rounded-t"> <VCard class="rounded-t">
<VCardItem> <VCardItem class="my-2">
<DialogCloseBtn @click="emit('close')" /> <DialogCloseBtn @click="emit('close')" />
</VCardItem> </VCardItem>
<VCardText> <VCardText>