mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 01:01:52 +08:00
25 lines
664 B
JavaScript
25 lines
664 B
JavaScript
export default {
|
||
props: {
|
||
// 背景颜色(默认transparent)
|
||
bgColor: {
|
||
type: String,
|
||
default: uni.$u.props.gap.bgColor
|
||
},
|
||
// 分割槽高度,单位px(默认30)
|
||
height: {
|
||
type: [String, Number],
|
||
default: uni.$u.props.gap.height
|
||
},
|
||
// 与上一个组件的距离
|
||
marginTop: {
|
||
type: [String, Number],
|
||
default: uni.$u.props.gap.marginTop
|
||
},
|
||
// 与下一个组件的距离
|
||
marginBottom: {
|
||
type: [String, Number],
|
||
default: uni.$u.props.gap.marginBottom
|
||
}
|
||
}
|
||
}
|