router.config.js 31 KB

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