settingConfig.js 722 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. skewX: 0,
  29. skewY: 0
  30. },
  31. customize: {
  32. url: '',
  33. radius: 0,
  34. opacity: 100
  35. }
  36. }
  37. export const dataConfig = {
  38. ...commonConfig(customConfig)
  39. }