dykj-outsource-12123/uni_modules/uview-plus/components/u-gap/props.js

26 lines
723 B
JavaScript
Raw Permalink Normal View History

2024-06-28 14:18:30 +08:00
import defProps from '../../libs/config/props.js';
export default {
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
}
}
}