You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
664 B

9 months ago
  1. export default {
  2. props: {
  3. // 背景颜色(默认transparent)
  4. bgColor: {
  5. type: String,
  6. default: uni.$u.props.gap.bgColor
  7. },
  8. // 分割槽高度,单位px(默认30)
  9. height: {
  10. type: [String, Number],
  11. default: uni.$u.props.gap.height
  12. },
  13. // 与上一个组件的距离
  14. marginTop: {
  15. type: [String, Number],
  16. default: uni.$u.props.gap.marginTop
  17. },
  18. // 与下一个组件的距离
  19. marginBottom: {
  20. type: [String, Number],
  21. default: uni.$u.props.gap.marginBottom
  22. }
  23. }
  24. }