settingConfig.js 519 B

123456789101112131415161718192021222324252627282930
  1. import { commonConfig } from '../../js/config'
  2. export const settingConfig = {
  3. time: '',
  4. theme: 'dark',
  5. // 设置面板属性的显隐
  6. displayOption: {
  7. dataAllocation: {
  8. // 是否存在数据配置
  9. enable: false
  10. }
  11. }
  12. }
  13. const customConfig = {
  14. type: 'currentTime',
  15. root: {
  16. version: '2023071001',
  17. dateFormat: 'YYYY-MM-DD HH:mm:ss'
  18. },
  19. customize: {
  20. fontSize: 28,
  21. fontWeight: 700,
  22. color: '#ffffff'
  23. }
  24. }
  25. export const dataConfig = {
  26. ...commonConfig(customConfig)
  27. }