settingConfig.js 745 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. skewX: 0,
  27. skewY: 0
  28. },
  29. customize: {
  30. fontSize: 14,
  31. fontWeight: 300,
  32. fontFamily: 'ds-digitalbold', // 字体类型
  33. color: '#ffffff'
  34. }
  35. }
  36. export const dataConfig = {
  37. ...commonConfig(customConfig)
  38. }