props.js 671 B

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