menu.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. import { i18n } from "@/lang";
  2. // 编辑器主菜单
  3. const PCMenu = [
  4. {
  5. text: i18n.t("edit_page.settings"),
  6. icon: "settings",
  7. link: "/base",
  8. name: "base",
  9. hasPreviewArea: false,
  10. hidden: false,
  11. },
  12. {
  13. text: i18n.t("edit_page.navigation"),
  14. icon: "navigation",
  15. link: "/navigation",
  16. name: "navigation",
  17. hasPreviewArea: true,
  18. previewAreaExtraLeft: 300,
  19. hidden: false,
  20. },
  21. {
  22. text: i18n.t("edit_page.viewpoint"),
  23. icon: "viewpoint",
  24. link: "/screen",
  25. name: "screen",
  26. hasPreviewArea: true,
  27. previewAreaExtraLeft: 0,
  28. hidden: false,
  29. },
  30. {
  31. text: i18n.t("edit_page.hotspot"),
  32. icon: "hot",
  33. link: "/hotspot",
  34. name: "hotspot",
  35. hasPreviewArea: true,
  36. previewAreaExtraLeft: 0,
  37. hidden: false,
  38. },
  39. {
  40. text: i18n.t("edit_page.explanation"),
  41. icon: "explanation",
  42. link: "/explanation",
  43. name: "explanation",
  44. hasPreviewArea: true,
  45. previewAreaExtraLeft: 0,
  46. hidden: false,
  47. },
  48. {
  49. text: i18n.t("edit_page.mask"),
  50. icon: "mask",
  51. link: "/mask",
  52. name: "mask",
  53. hasPreviewArea: true,
  54. previewAreaExtraLeft: 0,
  55. hidden: false,
  56. },
  57. ];
  58. // 管理平台主菜单
  59. const MATERIALMenu = [
  60. {
  61. text: "我的作品",
  62. icon: "icon_base",
  63. link: "/works",
  64. name: "works",
  65. belong: "works",
  66. },
  67. {
  68. text: "全景图片",
  69. icon: "icon_base",
  70. link: "/pano",
  71. name: "pano",
  72. belong: "material",
  73. },
  74. {
  75. text: "图片",
  76. icon: "iconchangjingdaohang",
  77. link: "/image",
  78. name: "image",
  79. belong: "material",
  80. },
  81. {
  82. text: "音频",
  83. icon: "icon_screen",
  84. link: "/audio",
  85. name: "audio",
  86. belong: "material",
  87. },
  88. {
  89. text: "视频",
  90. icon: "icon_hotpoint",
  91. link: "/video",
  92. name: "video",
  93. belong: "material",
  94. },
  95. ];
  96. export { PCMenu, MATERIALMenu };