refactor(frontend): 优化布局组件

- 改进 CardSection 和 Section 组件
- 优化布局结构和样式
This commit is contained in:
fawney19
2025-12-12 20:21:50 +08:00
parent ffc798c41d
commit a49834d87d
2 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ interface Props {
} }
const props = withDefaults(defineProps<Props>(), { const props = withDefaults(defineProps<Props>(), {
title: undefined,
description: undefined,
variant: 'default', variant: 'default',
padding: 'md', padding: 'md',
}) })

View File

@@ -41,6 +41,8 @@ interface Props {
} }
const props = withDefaults(defineProps<Props>(), { const props = withDefaults(defineProps<Props>(), {
title: undefined,
description: undefined,
spacing: 'md', spacing: 'md',
}) })