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.

21 lines
755 B

4 months ago
  1. import { defineMixin } from '../../libs/vue'
  2. import defProps from '../../libs/config/props.js'
  3. export const props = defineMixin({
  4. props: {
  5. // 给col添加间距,左右边距各占一半
  6. gutter: {
  7. type: [String, Number],
  8. default: () => defProps.row.gutter
  9. },
  10. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  11. justify: {
  12. type: String,
  13. default: () => defProps.row.justify
  14. },
  15. // 垂直对齐方式,可选值为top、center、bottom
  16. align: {
  17. type: String,
  18. default: () => defProps.row.align
  19. }
  20. }
  21. })