将所有 VDialog 组件替换为 DialogWrapper 组件

This commit is contained in:
jxxghp
2025-07-10 12:44:37 +08:00
parent 273d1f8ef2
commit 0918fa1685
63 changed files with 463 additions and 146 deletions

View File

@@ -261,7 +261,7 @@ onMounted(() => {
</div>
</div>
</div>
<VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<DialogWrapper v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<VCard>
<VCardItem>
<VDialogCloseBtn @click="releaseDialog = false" />
@@ -269,7 +269,7 @@ onMounted(() => {
</VCardItem>
<VCardText v-html="releaseDialogBody" />
</VCard>
</VDialog>
</DialogWrapper>
</template>
<style type="scss" scoped>

View File

@@ -423,7 +423,7 @@ onMounted(() => {
</VCard>
<!-- 重新识别对话框 -->
<VDialog v-model="reidentifyDialog" scrollable max-width="35rem">
<DialogWrapper v-model="reidentifyDialog" scrollable max-width="35rem">
<VCard>
<VCardItem class="py-2">
<template #prepend>
@@ -469,5 +469,5 @@ onMounted(() => {
</VBtn>
</VCardActions>
</VCard>
</VDialog>
</DialogWrapper>
</template>

View File

@@ -444,7 +444,7 @@ onMounted(() => {
:indeterminate="true"
/>
<!-- 模板编辑器对话框 -->
<VDialog v-model="editorVisible" v-if="editorVisible" max-width="50rem" :fullscreen="!display.mdAndUp.value">
<DialogWrapper v-model="editorVisible" v-if="editorVisible" max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VCard>
<VCardItem class="py-2">
<template #prepend>
@@ -472,7 +472,7 @@ onMounted(() => {
</VBtn>
</VCardActions>
</VCard>
</VDialog>
</DialogWrapper>
</template>
<style scoped>
/* Monaco编辑器容器样式 */

View File

@@ -732,7 +732,7 @@ onDeactivated(() => {
</VRow>
<!-- 高级系统设置 -->
<VDialog
<DialogWrapper
v-if="advancedDialog"
v-model="advancedDialog"
scrollable
@@ -1328,5 +1328,5 @@ onDeactivated(() => {
</VForm>
</VCardActions>
</VCard>
</VDialog>
</DialogWrapper>
</template>