综合办公系统
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

props.js 454B

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