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
610 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. // 分成几列
  6. col: {
  7. type: [String, Number],
  8. default: () => defProps.grid.col
  9. },
  10. // 是否显示边框
  11. border: {
  12. type: Boolean,
  13. default: () => defProps.grid.border
  14. },
  15. // 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
  16. align: {
  17. type: String,
  18. default: () => defProps.grid.align
  19. }
  20. }
  21. })