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.

19 lines
490 B

10 months ago
  1. export default {
  2. props: {
  3. // 分成几列
  4. col: {
  5. type: [String, Number],
  6. default: uni.$u.props.grid.col
  7. },
  8. // 是否显示边框
  9. border: {
  10. type: Boolean,
  11. default: uni.$u.props.grid.border
  12. },
  13. // 宫格对齐方式,表现为数量少的时候,靠左,居中,还是靠右
  14. align: {
  15. type: String,
  16. default: uni.$u.props.grid.align
  17. }
  18. }
  19. }