config.js 748 B

12345678910111213141516171819202122232425262728293031
  1. // large 与 default 的 文字大小相同,为 14px
  2. // small 文字大小为 12px
  3. // 此部分可忽略
  4. // large 的 padding 为 12px 0
  5. // default 的 padding 为 8px 0
  6. // small 的 padding 为 4px 0
  7. // [注]原来的padding 固定为10px
  8. // large cell 的padding 为 0 16px
  9. // default cell 的padding 为 0 12px
  10. // small cell 的padding 为 0 8px
  11. export const dateColumnWidthMap = {
  12. large: '164px',
  13. default: '164px',
  14. small: '140px'
  15. }
  16. export const handleColumnWidthMap = {
  17. large: '140px',
  18. default: '140px',
  19. small: '124px'
  20. }
  21. // 因历史问题,所以padding修改为10
  22. export const sizeCellConfig = {
  23. large: { fontSize: 14, padding: 10 },
  24. default: { fontSize: 14, padding: 10 },
  25. small: { fontSize: 12, padding: 10 }
  26. }