vue-pro/yudao-ui-app-v1/uni_modules/uview-ui/components/u-gap/props.js

25 lines
664 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}
}
}