mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-gap/props.js

26 lines
696 B
JavaScript
Raw Permalink Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
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
}
}
}