mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-03 00:02:28 +08:00
refactor(frontend): 优化布局组件
- 改进 CardSection 和 Section 组件 - 优化布局结构和样式
This commit is contained in:
@@ -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',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const props = withDefaults(defineProps<Props>(), {
|
const props = withDefaults(defineProps<Props>(), {
|
||||||
|
title: undefined,
|
||||||
|
description: undefined,
|
||||||
spacing: 'md',
|
spacing: 'md',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user