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.

29 lines
944 B

9 months ago
  1. export default {
  2. props: {
  3. // 占父容器宽度的多少等分,总分为12份
  4. span: {
  5. type: [String, Number],
  6. default: uni.$u.props.col.span
  7. },
  8. // 指定栅格左侧的间隔数(总12栏)
  9. offset: {
  10. type: [String, Number],
  11. default: uni.$u.props.col.offset
  12. },
  13. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  14. justify: {
  15. type: String,
  16. default: uni.$u.props.col.justify
  17. },
  18. // 垂直对齐方式,可选值为top、center、bottom、stretch
  19. align: {
  20. type: String,
  21. default: uni.$u.props.col.align
  22. },
  23. // 文字对齐方式
  24. textAlign: {
  25. type: String,
  26. default: uni.$u.props.col.textAlign
  27. }
  28. }
  29. }