Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

25 lignes
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. })