fix: 调整主题定制器面板的透明度设置显示逻辑

This commit is contained in:
jxxghp
2026-06-02 16:18:00 +08:00
parent 50b0148ed6
commit 880a34f508
+12 -11
View File
@@ -677,9 +677,10 @@ onUnmounted(() => {
</VListItem> </VListItem>
</template> </template>
<VDivider class="my-2" />
<!-- 透明度调整 - 仅在透明主题下显示 --> <!-- 透明度调整 - 仅在透明主题下显示 -->
<template v-if="isTransparentTheme"> <template v-if="isTransparentTheme">
<VDivider class="my-2" />
<VListItem @click="showTransparencySettingsDialog"> <VListItem @click="showTransparencySettingsDialog">
<template #prepend> <template #prepend>
<VIcon icon="mdi-opacity" /> <VIcon icon="mdi-opacity" />
@@ -689,17 +690,17 @@ onUnmounted(() => {
<VIcon icon="mdi-chevron-right" size="small" /> <VIcon icon="mdi-chevron-right" size="small" />
</template> </template>
</VListItem> </VListItem>
<VListItem @click="showCustomCssDialog">
<template #prepend>
<VIcon icon="mdi-palette" />
</template>
<VListItemTitle>{{ t('theme.custom') }}</VListItemTitle>
<template #append>
<VIcon icon="mdi-chevron-right" size="small" />
</template>
</VListItem>
</template> </template>
<VListItem @click="showCustomCssDialog">
<template #prepend>
<VIcon icon="mdi-palette" />
</template>
<VListItemTitle>{{ t('theme.custom') }}</VListItemTitle>
<template #append>
<VIcon icon="mdi-chevron-right" size="small" />
</template>
</VListItem>
</VList> </VList>
</VMenu> </VMenu>