router.config.js 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111
  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/index',
  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. // ai商情分析列表
  569. {
  570. path: '/manage_order/ai_business_intelligence',
  571. name: 'ai_business_intelligence',
  572. component: './manage/order/enquiry/ai_business_intelligence',
  573. },
  574. ],
  575. },
  576. // 订单管理
  577. {
  578. path: '/manage_order/order_manage_list',
  579. icon: 'form',
  580. name: 'manage_order_list',
  581. component: './manage/order_manage/order_list',
  582. // routes: []
  583. },
  584. // 结算管理
  585. {
  586. path: '/manage_bill',
  587. icon: 'pay-circle',
  588. name: 'bill',
  589. routes: [
  590. //结算账单
  591. {
  592. path: '/manage_bill/lists',
  593. name: 'lists',
  594. component: './manage/bill/lists',
  595. },
  596. //结算账单详情
  597. {
  598. path: '/manage_bill/lists_to_detail',
  599. name: '',
  600. component: './manage/bill/detail',
  601. },
  602. ],
  603. },
  604. // 文章管理
  605. {
  606. path: '/manage_article',
  607. icon: 'file-word',
  608. name: 'article',
  609. routes: [
  610. {
  611. path: '/manage_article/article_cat_lists',
  612. name: 'article_cat_lists',
  613. component: './manage/article/article_cat_lists',
  614. }, {
  615. path: '/manage_article/article_lists',
  616. name: 'article_lists',
  617. component: './manage/article/article_lists',
  618. }, {
  619. path: '/manage_article/article_lists_to_add',
  620. component: './manage/article/add_article',
  621. },
  622. ],
  623. },
  624. //帮助管理
  625. {
  626. path: '/manage_help',
  627. icon: 'file-word',
  628. name: 'help',
  629. routes: [
  630. {
  631. path: '/manage_help/category_list',
  632. name: 'category_list',
  633. component: './manage/help/article_cat_lists',
  634. }, {
  635. path: '/manage_help/article_list',
  636. name: 'article_list',
  637. component: './manage/help/article_lists',
  638. }, {
  639. path: '/manage_help/article_lists_to_add',
  640. component: './manage/help/add_article',
  641. },
  642. ],
  643. },
  644. // 促销活动
  645. {
  646. path: '/marketing_promotion',
  647. icon: 'chrome',
  648. name: 'promotion',
  649. routes: [
  650. //优惠券
  651. {
  652. path: '/marketing_promotion/center',
  653. name: 'center',
  654. component: './marketing/promotion/center',
  655. },
  656. //优惠券
  657. {
  658. path: '/marketing_promotion/coupon',
  659. name: 'coupon',
  660. component: './marketing/promotion/coupon/home',
  661. },
  662. //新建优惠券
  663. {
  664. path: '/marketing_promotion/coupon_to_add',
  665. name: '',
  666. component: './marketing/promotion/coupon/add_coupon',
  667. },
  668. //平台优惠券——查看优惠券
  669. {
  670. path: '/marketing_promotion/coupon_to_view',
  671. name: '',
  672. component: './marketing/promotion/coupon/view_coupon',
  673. },
  674. //平台优惠券——优惠券领取列表
  675. {
  676. path: '/marketing_promotion/coupon_to_receive_list',
  677. name: '',
  678. component: './marketing/promotion/coupon/member_receive_lists',
  679. },
  680. //店铺优惠券
  681. {
  682. path: '/marketing_promotion/store_coupon',
  683. name: 'store_coupon',
  684. component: './marketing/promotion/coupon/store_coupon',
  685. },
  686. //店铺优惠券——查看优惠券
  687. {
  688. path: '/marketing_promotion/store_coupon_to_view',
  689. name: '',
  690. component: './marketing/promotion/coupon/view_coupon',
  691. },
  692. //店铺优惠券——优惠券领取列表
  693. {
  694. path: '/marketing_promotion/store_coupon_to_receive_list',
  695. name: '',
  696. component: './marketing/promotion/coupon/member_receive_lists',
  697. },
  698. //排行榜
  699. {
  700. path: '/marketing_promotion/rank',
  701. name: 'rank',
  702. component: './marketing/promotion/rank/index',
  703. },
  704. //关联榜单
  705. {
  706. path: '/marketing_promotion/rank_to_bind',
  707. name: '',
  708. component: './marketing/promotion/rank/bind_rank_lists',
  709. },
  710. //新建排行榜
  711. {
  712. path: '/marketing_promotion/rank_to_add',
  713. name: '',
  714. component: './marketing/promotion/rank/add',
  715. },
  716. //积分抵扣
  717. {
  718. path: '/marketing_promotion/point_setting',
  719. name: 'point_setting',
  720. component: './marketing/promotion/point_setting',
  721. },
  722. //满优惠列表
  723. {
  724. path: '/marketing_promotion/full_discount',
  725. name: 'full_discount',
  726. component: './marketing/promotion/full/discount',
  727. },
  728. //秒杀活动
  729. {
  730. path: '/marketing_promotion/seckill',
  731. name: 'seckill',
  732. component: './marketing/promotion/seckill/lists',
  733. },
  734. //秒杀活动详情——秒杀活动场次
  735. {
  736. path: '/marketing_promotion/seckill_detail',
  737. name: '',
  738. component: './marketing/promotion/seckill/detail',
  739. },
  740. //秒杀活动商品
  741. {
  742. path: '/marketing_promotion/seckill_goods_list',
  743. name: '',
  744. component: './marketing/promotion/seckill/seckill_goods_lists',
  745. },
  746. //拼团活动
  747. {
  748. path: '/marketing_promotion/spell_group',
  749. name: 'spell_group',
  750. component: './marketing/promotion/spell_group/lists',
  751. },
  752. //拼团活动——查看详情
  753. {
  754. path: '/marketing_promotion/spell_group_to_view',
  755. name: '',
  756. component: './marketing/promotion/spell_group/view_spell_group',
  757. },
  758. //拼团活动商品
  759. {
  760. path: '/marketing_promotion/spell_group_bind_goods',
  761. name: '',
  762. component: './marketing/promotion/spell_group/joined_goods_list',
  763. },
  764. //拼团活动订单
  765. {
  766. path: '/marketing_promotion/spell_group_order',
  767. name: '',
  768. component: './marketing/promotion/spell_group/order_lists',
  769. },
  770. //拼团活动订单详情
  771. {
  772. path: '/marketing_promotion/spell_group_order_to_detail',
  773. name: '',
  774. component: './manage/order/order_detail',
  775. },
  776. //拼团团队列表
  777. {
  778. path: '/marketing_promotion/spell_group_team_list',
  779. name: '',
  780. component: './marketing/promotion/spell_group/team_list',
  781. },
  782. //阶梯团活动
  783. {
  784. path: '/marketing_promotion/ladder_group',
  785. name: 'ladder_group',
  786. component: './marketing/promotion/ladder_group/lists',
  787. },
  788. //阶梯团活动——查看详情
  789. {
  790. path: '/marketing_promotion/ladder_group_to_view',
  791. name: '',
  792. component: './marketing/promotion/ladder_group/view_ladder_group',
  793. },
  794. //阶梯团活动——团队列表
  795. {
  796. path: '/marketing_promotion/ladder_group_team_list',
  797. name: '',
  798. component: './marketing/promotion/ladder_group/team_list',
  799. },
  800. //预售活动
  801. {
  802. path: '/marketing_promotion/presale',
  803. name: 'presale',
  804. component: './marketing/promotion/presale/lists',
  805. },
  806. //预售详情
  807. {
  808. path: '/marketing_promotion/presale_to_view',
  809. name: '',
  810. component: './marketing/promotion/presale/view_presale',
  811. },
  812. //预售活动商品
  813. {
  814. path: '/marketing_promotion/presale_goods_list',
  815. name: '',
  816. component: './marketing/promotion/presale/presale_goods_lists',
  817. },
  818. //签到统计列表
  819. {
  820. path: '/marketing_promotion/sign',
  821. name: 'sign',
  822. component: './marketing/sign/stat',
  823. },
  824. //新建签到活动
  825. {
  826. path: '/marketing_promotion/sign_to_add',
  827. name: '',
  828. component: './marketing/sign/add',
  829. },
  830. //会员签到统计详情
  831. {
  832. path: '/marketing_promotion/sign_to_member_detail',
  833. name: '',
  834. component: './marketing/sign/member_stat_detail',
  835. },
  836. //活动签到详情
  837. {
  838. path: '/marketing_promotion/sign_to_activity_detail',
  839. name: '',
  840. component: './marketing/sign/activity_stat_detail',
  841. },
  842. //幸运抽奖列表
  843. {
  844. path: '/marketing_promotion/lucky_draw_list',
  845. name: 'lucky_list',
  846. component: './marketing/draw/lucky_list',
  847. },
  848. //新建幸运抽奖活动
  849. {
  850. path: '/marketing_promotion/lucky_draw_list_to_add',
  851. name: '',
  852. component: './marketing/draw/add',
  853. },
  854. //大转盘抽奖
  855. {
  856. path: '/marketing_promotion/turnplate_list',
  857. name: 'turnplate_list',
  858. component: './marketing/draw/turnplate_list',
  859. },
  860. //新建大转盘抽奖活动
  861. {
  862. path: '/marketing_promotion/turnplate_list_to_add',
  863. name: '',
  864. component: './marketing/draw/add',
  865. },
  866. //刮刮卡
  867. {
  868. path: '/marketing_promotion/scratch_list',
  869. name: 'scratch_list',
  870. component: './marketing/draw/scratch_list',
  871. },
  872. //新建刮刮卡活动
  873. {
  874. path: '/marketing_promotion/scratch_list_to_add',
  875. name: '',
  876. component: './marketing/draw/add',
  877. },
  878. //摇一摇
  879. {
  880. path: '/marketing_promotion/shake_list',
  881. name: 'shake_list',
  882. component: './marketing/draw/shake_list',
  883. },
  884. //新建摇一摇活动
  885. {
  886. path: '/marketing_promotion/shake_list_to_add',
  887. name: '',
  888. component: './marketing/draw/add',
  889. },
  890. //翻翻看
  891. {
  892. path: '/marketing_promotion/turn_list',
  893. name: 'turn_list',
  894. component: './marketing/draw/turn_list',
  895. },
  896. //新建翻翻看活动
  897. {
  898. path: '/marketing_promotion/turn_list_to_add',
  899. name: '',
  900. component: './marketing/draw/add',
  901. },
  902. ],
  903. },
  904. // 统计中心
  905. {
  906. path: '/statistics',
  907. icon: 'pie-chart',
  908. name: 'statistics',
  909. routes: [
  910. // 大屏管理
  911. {
  912. path: '/statistics/bigscreen',
  913. name: 'bigscreen',
  914. component: './statistics/bigscreen/index',
  915. },
  916. //实时分析
  917. {
  918. path: '/statistics/realtime',
  919. name: 'realtime',
  920. component: './statistics/realtime',
  921. },
  922. //交易分析
  923. {
  924. path: '/statistics/trade',
  925. name: 'trade',
  926. component: './statistics/trade',
  927. },
  928. //流量分析
  929. {
  930. path: '/statistics/flow',
  931. name: 'flow',
  932. component: './statistics/flow',
  933. },
  934. //商品动销
  935. {
  936. path: '/statistics/goods_saling',
  937. name: 'goods_saling',
  938. component: './statistics/goods_saling',
  939. },
  940. //商品品类
  941. {
  942. path: '/statistics/goods_category',
  943. name: 'goods_category',
  944. component: './statistics/goods_category',
  945. },
  946. //会员分析
  947. {
  948. path: '/statistics/member',
  949. name: 'member',
  950. component: './statistics/member',
  951. },
  952. //店铺分析
  953. {
  954. path: '/statistics/store',
  955. name: 'store',
  956. component: './statistics/store',
  957. },
  958. //地域分析
  959. {
  960. path: '/statistics/region',
  961. name: 'region',
  962. component: './statistics/region',
  963. }
  964. ]
  965. },
  966. //svideo-start
  967. //短视频
  968. {
  969. path: '/marketing_svideo',
  970. icon: 'pay-circle',
  971. name: 'svideo',
  972. routes: [
  973. //短视频设置
  974. {
  975. path: '/marketing_svideo/setting',
  976. name: 'setting',
  977. component: './marketing/svideo/setting',
  978. },
  979. //标签管理
  980. {
  981. path: '/marketing_svideo/label',
  982. name: 'label',
  983. component: './marketing/svideo/label',
  984. },
  985. //推荐主题
  986. {
  987. path: '/marketing_svideo/video_theme',
  988. name: 'theme',
  989. component: './marketing/svideo/theme',
  990. },
  991. //新增推荐主题
  992. {
  993. path: '/marketing_svideo/video_theme_to_add',
  994. name: '',
  995. component: './marketing/svideo/add_theme',
  996. },
  997. //推荐主题绑定的视频
  998. {
  999. path: '/marketing_svideo/video_theme_bind_video',
  1000. name: '',
  1001. component: './marketing/svideo/view_theme_video',
  1002. },
  1003. //作者管理
  1004. {
  1005. path: '/marketing_svideo/author_manage',
  1006. name: 'author_manage',
  1007. component: './marketing/svideo/author_manage',
  1008. },
  1009. //作品管理
  1010. {
  1011. path: '/marketing_svideo/video_manage',
  1012. name: 'video_manage',
  1013. component: './marketing/svideo/video_manage',
  1014. },
  1015. //视频绑定的商品
  1016. {
  1017. path: '/marketing_svideo/video_manage_bind_goods',
  1018. name: '',
  1019. component: './marketing/svideo/video_goods',
  1020. },
  1021. //评论管理
  1022. {
  1023. path: '/marketing_svideo/comment_lists',
  1024. name: 'comment_lists',
  1025. component: './marketing/svideo/comment_lists',
  1026. },
  1027. //查看视频评论
  1028. {
  1029. path: '/marketing_svideo/comment_lists_to_view',
  1030. name: '',
  1031. component: './marketing/svideo/view_video_comments',
  1032. },
  1033. ]
  1034. },
  1035. //svideo-end
  1036. // 积分商城
  1037. {
  1038. path: '/marketing_point',
  1039. icon: 'transaction',
  1040. name: 'point',
  1041. routes: [
  1042. //积分商城——首页装修
  1043. {
  1044. path: '/marketing_point/diy_home',
  1045. name: 'diy_home',
  1046. component: './marketing/point/mdiy/home',
  1047. },
  1048. // 装修页面
  1049. {
  1050. path: '/marketing_point/diy_home_to_edit',
  1051. name: '',
  1052. component: './marketing/point/mdiy/edit_diy_page',
  1053. },
  1054. //积分商城——积分设置
  1055. {
  1056. path: '/marketing_point/setting',
  1057. name: 'setting',
  1058. component: './marketing/point/setting',
  1059. },
  1060. //积分商城——标签管理
  1061. {
  1062. path: '/marketing_point/label',
  1063. name: 'label',
  1064. component: './marketing/point/label',
  1065. },
  1066. //积分商城——商品管理
  1067. {
  1068. path: '/marketing_point/goods_list',
  1069. name: 'goods_list',
  1070. component: './marketing/point/goods/goods_list',
  1071. },
  1072. //积分商城——订单管理
  1073. {
  1074. path: '/marketing_point/order_list',
  1075. name: 'order_list',
  1076. component: './marketing/point/order/order_lists',
  1077. },
  1078. //积分商城——订单详情
  1079. {
  1080. path: '/marketing_point/order_list_to_detail',
  1081. name: '',
  1082. component: './marketing/point/order/order_detail',
  1083. },
  1084. //积分商城——结算管理
  1085. {
  1086. path: '/marketing_point/bill_list',
  1087. name: 'bill_list',
  1088. component: './marketing/point/bill/lists',
  1089. },
  1090. //积分商城——结算详情
  1091. {
  1092. path: '/marketing_point/bill_list_to_detail',
  1093. name: '',
  1094. component: './marketing/point/bill/detail',
  1095. },
  1096. ]
  1097. },
  1098. {
  1099. component: '404',
  1100. },
  1101. ],
  1102. },
  1103. ];