适配弹窗的颜色
This commit is contained in:
parent
359a5fe7a1
commit
b45ec75a5b
@ -18,7 +18,7 @@ export function defaultSetting(): AppState {
|
|||||||
if (lan.includes('zh'))
|
if (lan.includes('zh'))
|
||||||
language = 'zh-CN'
|
language = 'zh-CN'
|
||||||
|
|
||||||
return { siderCollapsed: false, theme: 'light', language }
|
return { siderCollapsed: false, theme: 'auto', language }
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getLocalSetting(): AppState {
|
export function getLocalSetting(): AppState {
|
||||||
|
@ -43,7 +43,7 @@ const dropdownShow = ref(false)
|
|||||||
const currentRightSelectItem = ref<Panel.ItemInfo | null>(null)
|
const currentRightSelectItem = ref<Panel.ItemInfo | null>(null)
|
||||||
const currentAddItenIconGroupId = ref<number | undefined>()
|
const currentAddItenIconGroupId = ref<number | undefined>()
|
||||||
|
|
||||||
const settingModalShow = ref(true)
|
const settingModalShow = ref(false)
|
||||||
|
|
||||||
const items = ref<ItemGroup[]>([])
|
const items = ref<ItemGroup[]>([])
|
||||||
const filterItems = ref<ItemGroup[]>([])
|
const filterItems = ref<ItemGroup[]>([])
|
||||||
@ -560,7 +560,7 @@ function handleAddItem(itemIconGroupId?: number) {
|
|||||||
<!-- 弹窗 -->
|
<!-- 弹窗 -->
|
||||||
<NModal
|
<NModal
|
||||||
v-model:show="windowShow" :mask-closable="false" preset="card"
|
v-model:show="windowShow" :mask-closable="false" preset="card"
|
||||||
style="max-width: 1000px;height: 600px;border-radius: 1rem;" :bordered="false" size="small" role="dialog"
|
style="max-width: 1000px;height: 600px;border-radius: 1rem;" :bordered="true" size="small" role="dialog"
|
||||||
aria-modal="true"
|
aria-modal="true"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
@ -572,7 +572,7 @@ function handleAddItem(itemIconGroupId?: number) {
|
|||||||
<NSpin v-if="windowIframeIsLoad" size="small" />
|
<NSpin v-if="windowIframeIsLoad" size="small" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="w-full h-full rounded-2xl overflow-hidden border">
|
<div class="w-full h-full rounded-2xl overflow-hidden border dark:border-zinc-700">
|
||||||
<NSkeleton v-if="windowIframeIsLoad" height="100%" width="100%" />
|
<NSkeleton v-if="windowIframeIsLoad" height="100%" width="100%" />
|
||||||
<iframe
|
<iframe
|
||||||
v-show="!windowIframeIsLoad" id="windowIframeId" ref="windowIframeRef" :src="windowSrc"
|
v-show="!windowIframeIsLoad" id="windowIframeId" ref="windowIframeRef" :src="windowSrc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user