fix(admin): ConfigCard footer 守卫修正(footer-left/right 判定)+ 主题变量对齐

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-14 17:21:38 +08:00
parent 2e00db16b9
commit 46dfbef176
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -23,7 +23,7 @@
<slot />
<div v-if="$slots.footer" class="cc-footer">
<div v-if="$slots['footer-left'] || $slots['footer-right']" class="cc-footer">
<div class="cc-footer-left">
<slot name="footer-left" />
</div>
@@ -51,7 +51,7 @@
subtitle?: string
/** 组级信息条文案(整组保存 · 立即生效 · 可回滚;带 • 字段留空=默认) */
info?: string
/** 危险行文案(有值才渲染危险行;按钮走 #danger slot) */
/** 危险行文案(与 #danger slot 任一存在即渲染危险行;按钮走 #danger slot) */
dangerLabel?: string
}>()
</script>
@@ -75,13 +75,13 @@
.cc-icon {
font-size: 18px;
color: var(--art-main-color, var(--el-color-primary));
color: var(--art-primary, var(--el-color-primary));
}
.cc-title {
font-weight: 600;
font-size: 15px;
color: var(--art-text-color, var(--el-text-color-primary));
color: var(--el-text-color-primary);
}
}