Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

25 řádky
867 B

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