settingConfig.js 712 B

1234567891011121314151617181920212223242526272829303132333435363738
  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: 'timeCountDown',
  15. root: {
  16. version: '2023071001',
  17. endTime: '',
  18. // 绕x轴旋转角度
  19. rotateX: 0,
  20. // 绕y轴旋转角度
  21. rotateY: 0,
  22. // 绕z轴旋转角度
  23. rotateZ: 0,
  24. // 透视距离
  25. perspective: 0
  26. },
  27. customize: {
  28. fontSize: 28,
  29. fontWeight: 700,
  30. fontFamily: '', // 字体类型
  31. color: 'rgb(155 159 172)'
  32. }
  33. }
  34. export const dataConfig = {
  35. ...commonConfig(customConfig)
  36. }