settingConfig.js 694 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * @description: 图片组件配置
  3. * @Date: 2023-03-17 11:17:00
  4. * @Author: xing.heng
  5. */
  6. import { commonConfig } from '../../js/config'
  7. export const settingConfig = {
  8. // 设置面板属性的显隐
  9. displayOption: {
  10. dataAllocation: {
  11. // 是否存在数据配置
  12. enable: false
  13. }
  14. }
  15. }
  16. const customConfig = {
  17. type: 'picture',
  18. root: {
  19. version: '2023071001',
  20. // 绕x轴旋转角度
  21. rotateX: 0,
  22. // 绕y轴旋转角度
  23. rotateY: 0,
  24. // 绕z轴旋转角度
  25. rotateZ: 0,
  26. // 透视距离
  27. perspective: 0
  28. },
  29. customize: {
  30. url: '',
  31. radius: 0,
  32. opacity: 100
  33. }
  34. }
  35. export const dataConfig = {
  36. ...commonConfig(customConfig)
  37. }