初始化

This commit is contained in:
wwz
2025-02-07 13:56:35 +08:00
parent f1025605d7
commit 20b5539a82
513 changed files with 56948 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 背景颜色默认transparent
bgColor: {
type: String,
default: () => defProps.gap.bgColor
},
// 分割槽高度单位px默认30
height: {
type: [String, Number],
default: () => defProps.gap.height
},
// 与上一个组件的距离
marginTop: {
type: [String, Number],
default: () => defProps.gap.marginTop
},
// 与下一个组件的距离
marginBottom: {
type: [String, Number],
default: () => defProps.gap.marginBottom
}
}
})