settingConfig.js 721 B

12345678910111213141516171819202122232425262728293031323334353637
  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: 'customHtml',
  15. root: {
  16. version: '2023071001',
  17. // 绕x轴旋转角度
  18. rotateX: 0,
  19. // 绕y轴旋转角度
  20. rotateY: 0,
  21. // 绕z轴旋转角度
  22. rotateZ: 0,
  23. // 透视距离
  24. perspective: 0,
  25. skewX: 0,
  26. skewY: 0
  27. },
  28. customize: {
  29. htmlStr: '<h1 style="color:#ffffff;font-size: 30px">我是自定义html内容</h1>' // html的内容
  30. }
  31. }
  32. export const dataConfig = {
  33. ...commonConfig(customConfig)
  34. }