From 624d81f4538bb444ffb0e578ed76cb3e533cf217 Mon Sep 17 00:00:00 2001 From: fawney19 Date: Fri, 12 Dec 2025 20:21:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 改进 CardSection 和 Section 组件 - 优化布局结构和样式 --- frontend/src/components/layout/CardSection.vue | 2 ++ frontend/src/components/layout/Section.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/components/layout/CardSection.vue b/frontend/src/components/layout/CardSection.vue index 9d7de46..a7453dc 100644 --- a/frontend/src/components/layout/CardSection.vue +++ b/frontend/src/components/layout/CardSection.vue @@ -52,6 +52,8 @@ interface Props { } const props = withDefaults(defineProps(), { + title: undefined, + description: undefined, variant: 'default', padding: 'md', }) diff --git a/frontend/src/components/layout/Section.vue b/frontend/src/components/layout/Section.vue index 751c733..d7f9bbe 100644 --- a/frontend/src/components/layout/Section.vue +++ b/frontend/src/components/layout/Section.vue @@ -41,6 +41,8 @@ interface Props { } const props = withDefaults(defineProps(), { + title: undefined, + description: undefined, spacing: 'md', })