propNameMaps.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. export const canvasPropNameMap = {
  2. width: '宽度',
  3. height: '高度',
  4. bg: '背景'
  5. };
  6. export const textPropNameMap = {
  7. text: '内容',
  8. color: '颜色',
  9. fontSize: '字号',
  10. fontWeight: '字重',
  11. align: '对齐方式',
  12. x: '横坐标',
  13. y: '纵坐标',
  14. width: '宽度',
  15. height: '高度',
  16. borderRadius: '圆角半径'
  17. };
  18. export const scrollingTextPropNameMap = {
  19. text: '内容',
  20. color: '颜色',
  21. fontSize: '字号',
  22. fontWeight: '字重',
  23. align: '对齐方式',
  24. speed: '滚动速度',
  25. x: '横坐标',
  26. y: '纵坐标',
  27. width: '宽度',
  28. height: '高度',
  29. borderRadius: '圆角半径'
  30. };
  31. export const mediaAssetPropNameMap = {
  32. mediaId: '轮播组',
  33. width: '宽度',
  34. height: '高度',
  35. x: '横坐标',
  36. y: '纵坐标',
  37. borderRadius: '圆角半径'
  38. };
  39. export const webPagePropNameMap = {
  40. url: '网页链接',
  41. width: '宽度',
  42. height: '高度',
  43. x: '横坐标',
  44. y: '纵坐标',
  45. borderRadius: '圆角半径'
  46. };
  47. export const clockPropNameMap = {
  48. format: '时间格式',
  49. width: '宽度',
  50. height: '高度',
  51. x: '横坐标',
  52. y: '纵坐标',
  53. borderRadius: '圆角半径'
  54. };
  55. export const livePropNameMap = {
  56. liveUrl: '直播地址',
  57. playAudio: '播放音频',
  58. width: '宽度',
  59. height: '高度',
  60. x: '横坐标',
  61. y: '纵坐标',
  62. borderRadius: '圆角半径'
  63. };