router.config.js 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091
  1. export default [
  2. // user
  3. {
  4. path: '/user',
  5. component: '../layouts/UserLayout',
  6. routes: [
  7. { path: '/user', redirect: '/user/login' },
  8. { path: '/user/login', component: './User/Login' },
  9. ],
  10. },
  11. {
  12. path: '/decorate_pc/diy_page_lists_to_edit',
  13. component: '../layouts/UserLayout',
  14. Routes: ['src/pages/CheckLogin'],
  15. routes: [
  16. { path: '/decorate_pc/diy_page_lists_to_edit', component: './decorate/pc/home/edit_diy_page' },
  17. ],
  18. },
  19. {
  20. path: '/decorate_pc/topic_diy_page_lists_to_edit',
  21. component: '../layouts/UserLayout',
  22. Routes: ['src/pages/CheckLogin'],
  23. routes: [
  24. { path: '/decorate_pc/topic_diy_page_lists_to_edit', component: './decorate/pc/home/edit_diy_page' },
  25. ],
  26. },
  27. // doc
  28. {
  29. path: '/doc',
  30. component: '../layouts/UserLayout',
  31. routes: [
  32. { path: '/doc', redirect: '/doc/list' },
  33. { path: '/doc/list', component: './doc/doc_lists' },
  34. { path: '/doc/detail', component: './doc/detail' },
  35. ]
  36. },
  37. //商品详情
  38. {
  39. path: '/manage_product/goods_detail',
  40. component: '../layouts/UserLayout',
  41. routes: [
  42. { path: '/manage_product/goods_detail', component: './manage/product/goods_common_detail' },
  43. ],
  44. },
  45. //订单详情
  46. {
  47. path: '/manage_order/order_detail',
  48. component: '../layouts/UserLayout',
  49. name: '',
  50. routes: [
  51. { path: '/manage_order/order_detail', component: './manage/order/order_common_detail' },
  52. ],
  53. },
  54. // app
  55. {
  56. path: '/',
  57. component: '../layouts/BasicLayout',
  58. Routes: ['src/pages/CheckLogin'],
  59. routes: [
  60. { path: '/', redirect: '/sysset_home/basic' },
  61. //系统配置—首页管理
  62. {
  63. path: '/sysset_home',
  64. icon: 'home',
  65. name: 'home',
  66. routes: [
  67. //概况页
  68. {
  69. path: '/sysset_home/basic',
  70. name: 'basic',
  71. component: './sysset/home/basic',
  72. },
  73. ],
  74. },
  75. //系统配置—基本配置
  76. {
  77. path: '/sysset_setting',
  78. icon: 'setting',
  79. name: 'setting',
  80. routes: [
  81. // 站点配置
  82. {
  83. path: '/sysset_setting/site_info',
  84. name: 'site_info',
  85. component: './sysset/base/site_info',
  86. },
  87. //关于我们
  88. {
  89. path: '/sysset_setting/about_us',
  90. name: 'about_us',
  91. component: './sysset/base/about_us',
  92. },
  93. //引导留资
  94. {
  95. path: '/sysset_setting/guide_funds',
  96. name: 'guide_funds',
  97. component: './sysset/base/guide_funds',
  98. },
  99. //图片配置
  100. {
  101. path: '/sysset_setting/pic_set',
  102. name: 'pic_set',
  103. component: './sysset/base/pic_set',
  104. },
  105. //支付配置
  106. {
  107. path: '/sysset_setting/payment',
  108. name: 'payment',
  109. component: './sysset/base/payment',
  110. },
  111. //运营配置
  112. {
  113. path: '/sysset_setting/order',
  114. name: 'order',
  115. component: './sysset/base/order',
  116. },
  117. //APP配置
  118. {
  119. path: '/sysset_setting/app_set',
  120. name: 'app_set',
  121. component: './sysset/base/app_set',
  122. },
  123. ],
  124. },
  125. //系统配置—通知管理
  126. {
  127. path: '/sysset_notice_set',
  128. icon: 'bell',
  129. name: 'notice_set',
  130. routes: [
  131. //短信配置
  132. {
  133. path: '/sysset_notice_set/sms',
  134. name: 'sms',
  135. component: './sysset/notice_set/sms',
  136. },
  137. //邮件配置
  138. {
  139. path: '/sysset_notice_set/email',
  140. name: 'email',
  141. component: './sysset/notice_set/email',
  142. },
  143. //消息模板
  144. {
  145. path: '/sysset_notice_set/msg_tpl',
  146. name: 'msg_tpl',
  147. component: './sysset/notice_set/msg_tpl',
  148. },
  149. ],
  150. },
  151. // 系统配置—三方账号
  152. {
  153. path: '/sysset_acount',
  154. icon: 'usergroup-add',
  155. name: 'acount',
  156. routes: [
  157. //授权配置
  158. {
  159. path: '/sysset_acount/union_login',
  160. name: 'union_login',
  161. component: './sysset/acount/union_login',
  162. },
  163. ],
  164. },
  165. //系统配置—权限管理
  166. {
  167. path: '/sysset_authority',
  168. icon: 'security-scan',
  169. name: 'authority',
  170. routes: [
  171. //权限组
  172. {
  173. path: '/sysset_authority/authority_group',
  174. name: 'authority_group',
  175. component: './sysset/authority/group',
  176. },
  177. //操作员管理
  178. {
  179. path: '/sysset_authority/authority_member',
  180. name: 'authority_member',
  181. component: './sysset/authority/member',
  182. },
  183. //操作日志
  184. {
  185. path: '/sysset_authority/operate_log',
  186. name: 'operate_log',
  187. component: './sysset/authority/operate_log',
  188. },
  189. ],
  190. },
  191. //系统配置-协议管理
  192. {
  193. path: '/sysset_agreement',
  194. icon: 'reconciliation',
  195. name: 'agreement',
  196. routes: [
  197. //协议管理
  198. {
  199. path: '/sysset_agreement/lists',
  200. name: 'lists',
  201. component: './sysset/agreement/lists',
  202. },
  203. //编辑协议
  204. {
  205. path: '/sysset_agreement/lists_to_edit',
  206. name: '',
  207. component: './sysset/agreement/edit',
  208. },
  209. ],
  210. },
  211. //系统配置—物流管理
  212. {
  213. path: '/sysset_express',
  214. icon: 'car',
  215. name: 'express',
  216. routes: [
  217. //物流公司
  218. {
  219. path: '/sysset_express/express_lists',
  220. name: 'express_lists',
  221. component: './sysset/express/express_lists',
  222. },
  223. //物流配置
  224. {
  225. path: '/sysset_express/express',
  226. name: 'express',
  227. component: './sysset/express/express',
  228. },
  229. ],
  230. },
  231. // 会员管理
  232. {
  233. path: '/member',
  234. name: 'member',
  235. icon: 'usergroup-add',
  236. routes: [
  237. //会员列表
  238. {
  239. path: '/member/lists',
  240. name: 'lists',
  241. component: './member/lists',
  242. },
  243. //会员详情
  244. {
  245. path: '/member/lists_to_detail',
  246. name: '',
  247. component: './member/detail',
  248. },
  249. //商家列表
  250. {
  251. path: '/member/vendors',
  252. name: 'vendors',
  253. component: './member/vendors',
  254. },
  255. //充值管理
  256. {
  257. path: '/member/recharge',
  258. name: 'recharge',
  259. component: './member/recharge',
  260. },
  261. //提现管理
  262. {
  263. path: '/member/withdraw',
  264. name: 'withdraw',
  265. component: './member/withdraw',
  266. },
  267. //资金明细
  268. {
  269. path: '/member/balance_log',
  270. name: 'balance_log',
  271. component: './member/balance_log',
  272. },
  273. //积分设置
  274. {
  275. path: '/member/point_setting',
  276. name: 'point_setting',
  277. component: './member/point_set',
  278. },
  279. ],
  280. },
  281. // 商品管理
  282. {
  283. path: '/manage_product',
  284. icon: 'appstore',
  285. name: 'product',
  286. routes: [
  287. //商品设置
  288. {
  289. path: '/manage_product/goods_setting',
  290. name: 'goods_setting',
  291. component: './manage/product/goods_setting',
  292. },
  293. //商品列表
  294. {
  295. path: '/manage_product/goods_list',
  296. name: 'goods_list',
  297. component: './manage/product/goods_list',
  298. },
  299. //商品详情
  300. {
  301. path: '/manage_product/goods_list_to_detail',
  302. name: '',
  303. component: './manage/product/goods_detail',
  304. },
  305. //分类管理
  306. {
  307. path: '/manage_product/cate_lists',
  308. name: 'cate_lists',
  309. component: './manage/product/cate_lists',
  310. },
  311. //品牌列表
  312. {
  313. path: '/manage_product/brand',
  314. name: 'brand',
  315. component: './manage/product/brand',
  316. },
  317. //属性管理
  318. {
  319. path: '/manage_product/search_attr',
  320. name: 'search_attr',
  321. component: './manage/product/search_attr',
  322. },
  323. //商品标签
  324. {
  325. path: '/manage_product/goods_label',
  326. name: 'goods_label',
  327. component: './manage/product/goods_label',
  328. },
  329. //多媒体管理-admin
  330. {
  331. path: '/manage_product/media_list',
  332. name: 'media_list',
  333. component: './manage/product/media',
  334. },
  335. ],
  336. },
  337. // 商品库管理
  338. {
  339. path: '/manage_goods_platform',
  340. icon: 'cloud-upload',
  341. name: 'goods_platform',
  342. routes: [
  343. //商品资料库
  344. {
  345. path: '/manage_goods_platform/list',
  346. name: 'list',
  347. component: './manage/goods_platform/list',
  348. },
  349. //编辑商品资料
  350. {
  351. path: '/manage_goods_platform/list_to_edit',
  352. name: '',
  353. component: './manage/goods_platform/edit',
  354. },
  355. //添加商品资料
  356. {
  357. path: '/manage_goods_platform/add',
  358. name: 'add',
  359. component: './manage/goods_platform/add',
  360. },
  361. //LM商品库
  362. {
  363. path: '/manage_goods_platform/LM',
  364. name: 'LM',
  365. component: './manage/goods_platform/lm',
  366. },
  367. //VOP商品库
  368. {
  369. path: '/manage_goods_platform/VOP',
  370. name: 'VOP',
  371. component: './manage/goods_platform/vop',
  372. },
  373. ],
  374. },
  375. // PC装修
  376. {
  377. path: '/decorate_pc',
  378. icon: 'cluster',
  379. name: 'decorate_pc',
  380. routes: [
  381. // 实例化模版
  382. {
  383. path: '/decorate_pc/instance_template_lists',
  384. name: 'instance_template_lists',
  385. component: './decorate/pc/home/instance_template_lists',
  386. },
  387. // 新增/编辑模版
  388. {
  389. path: '/decorate_pc/instance_template_lists_to_add',
  390. name: '',
  391. component: './decorate/pc/home/add_template',
  392. },
  393. // // 测试模板
  394. // {
  395. // path: '/decorate_pc/adv_21',
  396. // name: 'adv_21',
  397. // component: './decorate/pc/home/adv_21',
  398. // },
  399. // 首页装修
  400. {
  401. path: '/decorate_pc/diy_page_lists',
  402. name: 'diy_page_lists',
  403. component: './decorate/pc/home/diy_page_lists',
  404. },
  405. // 专题装修
  406. {
  407. path: '/decorate_pc/topic_diy_page_lists',
  408. name: 'topic_diy_page_lists',
  409. component: './decorate/pc/topic/topic_diy_page_lists',
  410. },
  411. // 首页广告
  412. {
  413. path: '/decorate_pc/home_setting',
  414. name: 'home_setting',
  415. component: './decorate/pc/home/home_setting',
  416. },
  417. // 首页导航
  418. {
  419. path: '/decorate_pc/nav',
  420. name: 'nav',
  421. component: './decorate/pc/home/nav',
  422. },
  423. //页脚管理
  424. {
  425. path: '/decorate_pc/footer',
  426. name: 'footer',
  427. component: './decorate/pc/home/footer',
  428. },
  429. ],
  430. },
  431. // 首页装修
  432. {
  433. path: '/decorate_m',
  434. icon: 'mobile',
  435. name: 'decorate_m',
  436. routes: [
  437. // 首页装修
  438. {
  439. path: '/decorate_m/lists',
  440. name: 'lists',
  441. component: './decorate/mobile/lists',
  442. },
  443. // 首页装修页面
  444. {
  445. path: '/decorate_m/lists_to_diy',
  446. name: '',
  447. component: './decorate/mobile/edit_diy_page',
  448. },
  449. // 专题装修
  450. {
  451. path: '/decorate_m/topic_lists',
  452. name: 'topic_lists',
  453. component: './decorate/mobile/topic_lists',
  454. },
  455. // 专题装修页面
  456. {
  457. path: '/decorate_m/topic_lists_to_diy',
  458. name: '',
  459. component: './decorate/mobile/edit_diy_page',
  460. },
  461. // 分类图片
  462. {
  463. path: '/decorate_m/cat_pic',
  464. name: 'cat_pic',
  465. component: './decorate/mobile/mcat',
  466. },
  467. ],
  468. },
  469. // 店铺管理
  470. {
  471. path: '/manage_store',
  472. icon: 'shop',
  473. name: 'store',
  474. routes: [
  475. //自营店铺
  476. {
  477. path: '/manage_store/own_list',
  478. name: 'own_list',
  479. component: './manage/store/own_list',
  480. },
  481. //入驻店铺
  482. {
  483. path: '/manage_store/settle_store_list',
  484. name: 'settle_store_list',
  485. component: './manage/store/settle_store_list',
  486. },
  487. //入驻审核店铺详情
  488. {
  489. path: '/manage_store/settle_store_list_apply_detail',
  490. name: '',
  491. component: './manage/store/apply_store_detail',
  492. },
  493. //店铺入驻信息详情
  494. {
  495. path: '/manage_store/settle_store_list_view',
  496. name: '',
  497. component: './manage/store/settled_store_detail',
  498. },
  499. //编辑店铺入驻信息
  500. {
  501. path: '/manage_store/settle_store_list_to_edit',
  502. name: '',
  503. component: './manage/store/edit_settled_store',
  504. },
  505. //店铺等级
  506. {
  507. path: '/manage_store/grade_list',
  508. name: 'grade_list',
  509. component: './manage/store/grade_list',
  510. },
  511. //售后原因
  512. {
  513. path: '/manage_store/salereson_lists',
  514. name: 'salereson_lists',
  515. component: './manage/order/salereson_lists',
  516. },
  517. ],
  518. },
  519. // 订单管理
  520. {
  521. path: '/manage_order',
  522. icon: 'form',
  523. name: 'order',
  524. routes: [
  525. //订单列表
  526. {
  527. path: '/manage_order/order_lists',
  528. name: 'order_lists',
  529. component: './manage/order/order_lists',
  530. },
  531. //订单详情
  532. {
  533. path: '/manage_order/order_lists_to_detail',
  534. name: '',
  535. component: './manage/order/order_detail',
  536. },
  537. //售后管理
  538. {
  539. path: '/manage_order/service',
  540. name: 'service',
  541. component: './manage/order/service',
  542. },
  543. //评价管理
  544. {
  545. path: '/manage_order/evaluation',
  546. name: 'evaluation',
  547. component: './manage/order/evaluation',
  548. },
  549. //询盘管理
  550. {
  551. path: '/manage_order/enquiry',
  552. name: 'enquiry',
  553. component: './manage/order/enquiry/enquiry_lists',
  554. },
  555. //询盘跟踪记录
  556. {
  557. path: '/manage_order/enquiry_track_to_add',
  558. icon: '',
  559. name: 'enquiry_track_to_add',
  560. component: './manage/order/enquiry/add_track',
  561. },
  562. //询盘邮箱配置
  563. {
  564. path: '/manage_order/enquiry_receive_mail_setting',
  565. name: 'enquiry_receive_mail_setting',
  566. component: './manage/order/enquiry/receive_mail_setting',
  567. },
  568. ],
  569. },
  570. // 结算管理
  571. {
  572. path: '/manage_bill',
  573. icon: 'pay-circle',
  574. name: 'bill',
  575. routes: [
  576. //结算账单
  577. {
  578. path: '/manage_bill/lists',
  579. name: 'lists',
  580. component: './manage/bill/lists',
  581. },
  582. //结算账单详情
  583. {
  584. path: '/manage_bill/lists_to_detail',
  585. name: '',
  586. component: './manage/bill/detail',
  587. },
  588. ],
  589. },
  590. // 文章管理
  591. {
  592. path: '/manage_article',
  593. icon: 'file-word',
  594. name: 'article',
  595. routes: [
  596. {
  597. path: '/manage_article/article_cat_lists',
  598. name: 'article_cat_lists',
  599. component: './manage/article/article_cat_lists',
  600. }, {
  601. path: '/manage_article/article_lists',
  602. name: 'article_lists',
  603. component: './manage/article/article_lists',
  604. }, {
  605. path: '/manage_article/article_lists_to_add',
  606. component: './manage/article/add_article',
  607. },
  608. ],
  609. },
  610. //帮助管理
  611. {
  612. path: '/manage_help',
  613. icon: 'file-word',
  614. name: 'help',
  615. routes: [
  616. {
  617. path: '/manage_help/category_list',
  618. name: 'category_list',
  619. component: './manage/help/article_cat_lists',
  620. }, {
  621. path: '/manage_help/article_list',
  622. name: 'article_list',
  623. component: './manage/help/article_lists',
  624. }, {
  625. path: '/manage_help/article_lists_to_add',
  626. component: './manage/help/add_article',
  627. },
  628. ],
  629. },
  630. // 促销活动
  631. {
  632. path: '/marketing_promotion',
  633. icon: 'chrome',
  634. name: 'promotion',
  635. routes: [
  636. //优惠券
  637. {
  638. path: '/marketing_promotion/center',
  639. name: 'center',
  640. component: './marketing/promotion/center',
  641. },
  642. //优惠券
  643. {
  644. path: '/marketing_promotion/coupon',
  645. name: 'coupon',
  646. component: './marketing/promotion/coupon/home',
  647. },
  648. //新建优惠券
  649. {
  650. path: '/marketing_promotion/coupon_to_add',
  651. name: '',
  652. component: './marketing/promotion/coupon/add_coupon',
  653. },
  654. //平台优惠券——查看优惠券
  655. {
  656. path: '/marketing_promotion/coupon_to_view',
  657. name: '',
  658. component: './marketing/promotion/coupon/view_coupon',
  659. },
  660. //平台优惠券——优惠券领取列表
  661. {
  662. path: '/marketing_promotion/coupon_to_receive_list',
  663. name: '',
  664. component: './marketing/promotion/coupon/member_receive_lists',
  665. },
  666. //店铺优惠券
  667. {
  668. path: '/marketing_promotion/store_coupon',
  669. name: 'store_coupon',
  670. component: './marketing/promotion/coupon/store_coupon',
  671. },
  672. //店铺优惠券——查看优惠券
  673. {
  674. path: '/marketing_promotion/store_coupon_to_view',
  675. name: '',
  676. component: './marketing/promotion/coupon/view_coupon',
  677. },
  678. //店铺优惠券——优惠券领取列表
  679. {
  680. path: '/marketing_promotion/store_coupon_to_receive_list',
  681. name: '',
  682. component: './marketing/promotion/coupon/member_receive_lists',
  683. },
  684. //排行榜
  685. {
  686. path: '/marketing_promotion/rank',
  687. name: 'rank',
  688. component: './marketing/promotion/rank/index',
  689. },
  690. //关联榜单
  691. {
  692. path: '/marketing_promotion/rank_to_bind',
  693. name: '',
  694. component: './marketing/promotion/rank/bind_rank_lists',
  695. },
  696. //新建排行榜
  697. {
  698. path: '/marketing_promotion/rank_to_add',
  699. name: '',
  700. component: './marketing/promotion/rank/add',
  701. },
  702. //积分抵扣
  703. {
  704. path: '/marketing_promotion/point_setting',
  705. name: 'point_setting',
  706. component: './marketing/promotion/point_setting',
  707. },
  708. //满优惠列表
  709. {
  710. path: '/marketing_promotion/full_discount',
  711. name: 'full_discount',
  712. component: './marketing/promotion/full/discount',
  713. },
  714. //秒杀活动
  715. {
  716. path: '/marketing_promotion/seckill',
  717. name: 'seckill',
  718. component: './marketing/promotion/seckill/lists',
  719. },
  720. //秒杀活动详情——秒杀活动场次
  721. {
  722. path: '/marketing_promotion/seckill_detail',
  723. name: '',
  724. component: './marketing/promotion/seckill/detail',
  725. },
  726. //秒杀活动商品
  727. {
  728. path: '/marketing_promotion/seckill_goods_list',
  729. name: '',
  730. component: './marketing/promotion/seckill/seckill_goods_lists',
  731. },
  732. //拼团活动
  733. {
  734. path: '/marketing_promotion/spell_group',
  735. name: 'spell_group',
  736. component: './marketing/promotion/spell_group/lists',
  737. },
  738. //拼团活动——查看详情
  739. {
  740. path: '/marketing_promotion/spell_group_to_view',
  741. name: '',
  742. component: './marketing/promotion/spell_group/view_spell_group',
  743. },
  744. //拼团活动商品
  745. {
  746. path: '/marketing_promotion/spell_group_bind_goods',
  747. name: '',
  748. component: './marketing/promotion/spell_group/joined_goods_list',
  749. },
  750. //拼团活动订单
  751. {
  752. path: '/marketing_promotion/spell_group_order',
  753. name: '',
  754. component: './marketing/promotion/spell_group/order_lists',
  755. },
  756. //拼团活动订单详情
  757. {
  758. path: '/marketing_promotion/spell_group_order_to_detail',
  759. name: '',
  760. component: './manage/order/order_detail',
  761. },
  762. //拼团团队列表
  763. {
  764. path: '/marketing_promotion/spell_group_team_list',
  765. name: '',
  766. component: './marketing/promotion/spell_group/team_list',
  767. },
  768. //阶梯团活动
  769. {
  770. path: '/marketing_promotion/ladder_group',
  771. name: 'ladder_group',
  772. component: './marketing/promotion/ladder_group/lists',
  773. },
  774. //阶梯团活动——查看详情
  775. {
  776. path: '/marketing_promotion/ladder_group_to_view',
  777. name: '',
  778. component: './marketing/promotion/ladder_group/view_ladder_group',
  779. },
  780. //阶梯团活动——团队列表
  781. {
  782. path: '/marketing_promotion/ladder_group_team_list',
  783. name: '',
  784. component: './marketing/promotion/ladder_group/team_list',
  785. },
  786. //预售活动
  787. {
  788. path: '/marketing_promotion/presale',
  789. name: 'presale',
  790. component: './marketing/promotion/presale/lists',
  791. },
  792. //预售详情
  793. {
  794. path: '/marketing_promotion/presale_to_view',
  795. name: '',
  796. component: './marketing/promotion/presale/view_presale',
  797. },
  798. //预售活动商品
  799. {
  800. path: '/marketing_promotion/presale_goods_list',
  801. name: '',
  802. component: './marketing/promotion/presale/presale_goods_lists',
  803. },
  804. //签到统计列表
  805. {
  806. path: '/marketing_promotion/sign',
  807. name: 'sign',
  808. component: './marketing/sign/stat',
  809. },
  810. //新建签到活动
  811. {
  812. path: '/marketing_promotion/sign_to_add',
  813. name: '',
  814. component: './marketing/sign/add',
  815. },
  816. //会员签到统计详情
  817. {
  818. path: '/marketing_promotion/sign_to_member_detail',
  819. name: '',
  820. component: './marketing/sign/member_stat_detail',
  821. },
  822. //活动签到详情
  823. {
  824. path: '/marketing_promotion/sign_to_activity_detail',
  825. name: '',
  826. component: './marketing/sign/activity_stat_detail',
  827. },
  828. //幸运抽奖列表
  829. {
  830. path: '/marketing_promotion/lucky_draw_list',
  831. name: 'lucky_list',
  832. component: './marketing/draw/lucky_list',
  833. },
  834. //新建幸运抽奖活动
  835. {
  836. path: '/marketing_promotion/lucky_draw_list_to_add',
  837. name: '',
  838. component: './marketing/draw/add',
  839. },
  840. //大转盘抽奖
  841. {
  842. path: '/marketing_promotion/turnplate_list',
  843. name: 'turnplate_list',
  844. component: './marketing/draw/turnplate_list',
  845. },
  846. //新建大转盘抽奖活动
  847. {
  848. path: '/marketing_promotion/turnplate_list_to_add',
  849. name: '',
  850. component: './marketing/draw/add',
  851. },
  852. //刮刮卡
  853. {
  854. path: '/marketing_promotion/scratch_list',
  855. name: 'scratch_list',
  856. component: './marketing/draw/scratch_list',
  857. },
  858. //新建刮刮卡活动
  859. {
  860. path: '/marketing_promotion/scratch_list_to_add',
  861. name: '',
  862. component: './marketing/draw/add',
  863. },
  864. //摇一摇
  865. {
  866. path: '/marketing_promotion/shake_list',
  867. name: 'shake_list',
  868. component: './marketing/draw/shake_list',
  869. },
  870. //新建摇一摇活动
  871. {
  872. path: '/marketing_promotion/shake_list_to_add',
  873. name: '',
  874. component: './marketing/draw/add',
  875. },
  876. //翻翻看
  877. {
  878. path: '/marketing_promotion/turn_list',
  879. name: 'turn_list',
  880. component: './marketing/draw/turn_list',
  881. },
  882. //新建翻翻看活动
  883. {
  884. path: '/marketing_promotion/turn_list_to_add',
  885. name: '',
  886. component: './marketing/draw/add',
  887. },
  888. ],
  889. },
  890. // 统计中心
  891. {
  892. path: '/statistics',
  893. icon: 'pie-chart',
  894. name: 'statistics',
  895. routes: [
  896. //实时分析
  897. {
  898. path: '/statistics/realtime',
  899. name: 'realtime',
  900. component: './statistics/realtime',
  901. },
  902. //交易分析
  903. {
  904. path: '/statistics/trade',
  905. name: 'trade',
  906. component: './statistics/trade',
  907. },
  908. //流量分析
  909. {
  910. path: '/statistics/flow',
  911. name: 'flow',
  912. component: './statistics/flow',
  913. },
  914. //商品动销
  915. {
  916. path: '/statistics/goods_saling',
  917. name: 'goods_saling',
  918. component: './statistics/goods_saling',
  919. },
  920. //商品品类
  921. {
  922. path: '/statistics/goods_category',
  923. name: 'goods_category',
  924. component: './statistics/goods_category',
  925. },
  926. //会员分析
  927. {
  928. path: '/statistics/member',
  929. name: 'member',
  930. component: './statistics/member',
  931. },
  932. //店铺分析
  933. {
  934. path: '/statistics/store',
  935. name: 'store',
  936. component: './statistics/store',
  937. },
  938. //地域分析
  939. {
  940. path: '/statistics/region',
  941. name: 'region',
  942. component: './statistics/region',
  943. }
  944. ]
  945. },
  946. //svideo-start
  947. //短视频
  948. {
  949. path: '/marketing_svideo',
  950. icon: 'pay-circle',
  951. name: 'svideo',
  952. routes: [
  953. //短视频设置
  954. {
  955. path: '/marketing_svideo/setting',
  956. name: 'setting',
  957. component: './marketing/svideo/setting',
  958. },
  959. //标签管理
  960. {
  961. path: '/marketing_svideo/label',
  962. name: 'label',
  963. component: './marketing/svideo/label',
  964. },
  965. //推荐主题
  966. {
  967. path: '/marketing_svideo/video_theme',
  968. name: 'theme',
  969. component: './marketing/svideo/theme',
  970. },
  971. //新增推荐主题
  972. {
  973. path: '/marketing_svideo/video_theme_to_add',
  974. name: '',
  975. component: './marketing/svideo/add_theme',
  976. },
  977. //推荐主题绑定的视频
  978. {
  979. path: '/marketing_svideo/video_theme_bind_video',
  980. name: '',
  981. component: './marketing/svideo/view_theme_video',
  982. },
  983. //作者管理
  984. {
  985. path: '/marketing_svideo/author_manage',
  986. name: 'author_manage',
  987. component: './marketing/svideo/author_manage',
  988. },
  989. //作品管理
  990. {
  991. path: '/marketing_svideo/video_manage',
  992. name: 'video_manage',
  993. component: './marketing/svideo/video_manage',
  994. },
  995. //视频绑定的商品
  996. {
  997. path: '/marketing_svideo/video_manage_bind_goods',
  998. name: '',
  999. component: './marketing/svideo/video_goods',
  1000. },
  1001. //评论管理
  1002. {
  1003. path: '/marketing_svideo/comment_lists',
  1004. name: 'comment_lists',
  1005. component: './marketing/svideo/comment_lists',
  1006. },
  1007. //查看视频评论
  1008. {
  1009. path: '/marketing_svideo/comment_lists_to_view',
  1010. name: '',
  1011. component: './marketing/svideo/view_video_comments',
  1012. },
  1013. ]
  1014. },
  1015. //svideo-end
  1016. // 积分商城
  1017. {
  1018. path: '/marketing_point',
  1019. icon: 'transaction',
  1020. name: 'point',
  1021. routes: [
  1022. //积分商城——首页装修
  1023. {
  1024. path: '/marketing_point/diy_home',
  1025. name: 'diy_home',
  1026. component: './marketing/point/mdiy/home',
  1027. },
  1028. // 装修页面
  1029. {
  1030. path: '/marketing_point/diy_home_to_edit',
  1031. name: '',
  1032. component: './marketing/point/mdiy/edit_diy_page',
  1033. },
  1034. //积分商城——积分设置
  1035. {
  1036. path: '/marketing_point/setting',
  1037. name: 'setting',
  1038. component: './marketing/point/setting',
  1039. },
  1040. //积分商城——标签管理
  1041. {
  1042. path: '/marketing_point/label',
  1043. name: 'label',
  1044. component: './marketing/point/label',
  1045. },
  1046. //积分商城——商品管理
  1047. {
  1048. path: '/marketing_point/goods_list',
  1049. name: 'goods_list',
  1050. component: './marketing/point/goods/goods_list',
  1051. },
  1052. //积分商城——订单管理
  1053. {
  1054. path: '/marketing_point/order_list',
  1055. name: 'order_list',
  1056. component: './marketing/point/order/order_lists',
  1057. },
  1058. //积分商城——订单详情
  1059. {
  1060. path: '/marketing_point/order_list_to_detail',
  1061. name: '',
  1062. component: './marketing/point/order/order_detail',
  1063. },
  1064. //积分商城——结算管理
  1065. {
  1066. path: '/marketing_point/bill_list',
  1067. name: 'bill_list',
  1068. component: './marketing/point/bill/lists',
  1069. },
  1070. //积分商城——结算详情
  1071. {
  1072. path: '/marketing_point/bill_list_to_detail',
  1073. name: '',
  1074. component: './marketing/point/bill/detail',
  1075. },
  1076. ]
  1077. },
  1078. {
  1079. component: '404',
  1080. },
  1081. ],
  1082. },
  1083. ];