menu.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. export const system = [
  2. {
  3. icon: 'icon-shouye',
  4. path: '/',
  5. name: '系统首页',
  6. index: '1',
  7. },
  8. ];
  9. export const adminMenu = [
  10. {
  11. icon: 'icon-shouye',
  12. name: '平台管理',
  13. index: '2',
  14. type: '0',
  15. children: [
  16. {
  17. icon: 'icon-rencai',
  18. path: '/platmanag/goodsTags',
  19. name: '商品标签',
  20. index: '2-1',
  21. },
  22. {
  23. icon: 'icon-rencai',
  24. path: '/platmanag/goods',
  25. name: '商品管理',
  26. index: '2-2',
  27. },
  28. {
  29. icon: 'icon-rencai',
  30. path: '/platmanag/order',
  31. name: '订单管理',
  32. index: '2-3',
  33. },
  34. {
  35. icon: 'icon-rencai',
  36. path: '/platmanag/goodsRate',
  37. name: '商品评价',
  38. index: '2-4',
  39. },
  40. {
  41. icon: 'icon-rencai',
  42. path: '/platmanag/storeAcc',
  43. name: '店铺管理',
  44. index: '2-5',
  45. },
  46. ],
  47. },
  48. {
  49. icon: 'icon-shouye',
  50. name: '平台活动',
  51. index: '3',
  52. type: '0',
  53. children: [
  54. {
  55. icon: 'icon-rencai',
  56. path: '/platActivi/actTags',
  57. name: '活动标签',
  58. index: '3-1',
  59. },
  60. {
  61. icon: 'icon-rencai',
  62. path: '/platActivi/coupon',
  63. name: '优惠券管理',
  64. index: '3-2',
  65. },
  66. {
  67. icon: 'icon-rencai',
  68. path: '/platActivi/act',
  69. name: '平台活动',
  70. index: '3-3',
  71. },
  72. ],
  73. },
  74. {
  75. icon: 'icon-shouye',
  76. name: '平台财务',
  77. index: '4',
  78. type: '0',
  79. children: [
  80. {
  81. icon: 'icon-rencai',
  82. path: '/platfinance/statistics',
  83. name: '统计',
  84. index: '4-1',
  85. },
  86. {
  87. icon: 'icon-rencai',
  88. path: '/platfinance/bill',
  89. name: '账单管理',
  90. index: '4-2',
  91. },
  92. ],
  93. },
  94. {
  95. icon: 'icon-shouye',
  96. name: '平台设置',
  97. index: '5',
  98. type: '0',
  99. children: [
  100. {
  101. icon: 'icon-rencai',
  102. path: '/platSettings/config',
  103. name: '系统设置',
  104. index: '5-1',
  105. },
  106. {
  107. icon: 'icon-rencai',
  108. path: '/platSettings/indexModule',
  109. name: '首页图标设置',
  110. index: '5-2',
  111. },
  112. {
  113. icon: 'icon-rencai',
  114. path: '/platSettings/banner',
  115. name: '广告图',
  116. index: '5-3',
  117. },
  118. {
  119. icon: 'icon-rencai',
  120. path: '/platSettings/service',
  121. name: '客服管理',
  122. index: '5-4',
  123. },
  124. ],
  125. },
  126. {
  127. icon: 'icon-shouye',
  128. name: '自营店铺',
  129. index: '6',
  130. type: '0',
  131. children: [
  132. {
  133. icon: 'icon-rencai',
  134. path: '/selfShop/info',
  135. name: '店铺信息',
  136. index: '6-1',
  137. },
  138. {
  139. icon: 'icon-rencai',
  140. path: '/selfShop/goods',
  141. name: '商品管理',
  142. index: '6-2',
  143. },
  144. {
  145. icon: 'icon-rencai',
  146. path: '/selfShop/order',
  147. name: '订单管理',
  148. index: '6-3',
  149. },
  150. {
  151. icon: 'icon-rencai',
  152. path: '/selfShop/goodsRate',
  153. name: '商品评价',
  154. index: '6-4',
  155. },
  156. {
  157. icon: 'icon-rencai',
  158. path: '/selfShop/sales',
  159. name: '售后管理',
  160. index: '6-5',
  161. },
  162. {
  163. icon: 'icon-rencai',
  164. path: '/selfShop/bill',
  165. name: '账单管理',
  166. index: '6-6',
  167. },
  168. ],
  169. },
  170. ];
  171. export const devMenu = [
  172. {
  173. icon: 'icon-shouye',
  174. name: '开发设置',
  175. index: '100',
  176. type: '0',
  177. children: [
  178. {
  179. icon: 'icon-rencai',
  180. path: '/dev/dict',
  181. name: '字典管理',
  182. index: '100-1',
  183. },
  184. {
  185. icon: 'icon-rencai',
  186. path: '/dev/menu',
  187. name: '菜单管理',
  188. index: '100-2',
  189. },
  190. {
  191. icon: 'icon-rencai',
  192. path: '/dev/role',
  193. name: '角色管理',
  194. index: '100-3',
  195. },
  196. ],
  197. },
  198. ];