123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- export default [
- // user
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- { path: '/user', redirect: '/user/login' },
- { path: '/user/login', component: './User/Login' },
- ],
- },
- // 商户入驻路由
- {
- path: '/apply',
- component: '../layouts/BasicLayout',
- Routes: ['src/pages/CheckSettle'],
- routes: [
- // { path: '/apply', redirect: '/user/login' },
- //start
- //入驻
- {
- path: '/apply/settled',
- icon: 'usergroup-add',
- name: '',
- component: './settledManage/settled/index',
- },
- //入驻协议
- {
- path: '/apply/settled_protocol',
- icon: 'file-done',
- name: 'apply_protocol',
- component: './settledManage/protocol/index',
- },
- //店铺基本信息
- {
- path: '/apply/base_info',
- icon: 'trophy',
- name: 'apply_base_info',
- component: './settledManage/baseInfo/index',
- },
- //经营信息
- {
- path: '/apply/business_info',
- icon: 'dollar',
- name: 'apply_business_info',
- component: './settledManage/businessInfo/index',
- },
- //店铺开通
- {
- path: '/apply/open_up',
- icon: 'control',
- name: 'apply_open_up',
- component: './settledManage/openUp/open_up',
- },
- ],
- },
- //PC装修页面
- {
- path: '/diy/decorate_pc_home_to_edit',
- component: '../layouts/UserLayout',
- Routes: ['src/pages/CheckLogin'],
- routes: [
- { path: '/diy/decorate_pc_home_to_edit', component: './diy/pc_diy/edit_diy_page' },
- ],
- },
- // app
- {
- path: '/',
- component: '../layouts/BasicLayout',
- Routes: ['src/pages/CheckLogin'],
- routes: [
- { path: '/', redirect: '/basic/simple_stat' },
- //概况页
- {
- path: '/basic/simple_stat',
- icon: 'setting',
- name: 'basic_simple_stat',
- component: './basic/simple_stat',
- },
- //商品列表
- {
- path: '/goods/goods_list',
- icon: 'shopping',
- name: 'goods_goods_list',
- component: './goods/goods_list',
- },
- //发布商品
- {
- path: '/goods/goods_list_to_add',
- icon: '',
- name: '',
- component: './goods/add_goods',
- },
- //仓库中商品
- {
- path: '/goods/goods_storage_list',
- icon: 'project',
- name: 'goods_goods_storage_list',
- component: './goods/goods_storage_lists_title',
- },
- //仓库中商品_发布商品
- {
- path: '/goods/goods_storage_list_to_add',
- icon: '',
- name: '',
- component: './goods/add_goods',
- },
- //待审核商品
- {
- path: '/goods/goods_check_list',
- icon: 'audit',
- name: 'goods_goods_check_list',
- component: './goods/goods_check_lists_title',
- },
- //待审核商品_发布商品
- {
- path: '/goods/goods_check_list_to_add',
- icon: '',
- name: '',
- component: './goods/add_goods',
- },
- //关联版式
- {
- path: '/goods/related_template',
- icon: 'api',
- name: 'goods_related_template',
- component: './goods/related_template',
- },
- //编辑关联版式
- {
- path: '/goods/related_template_to_edit',
- name: '',
- component: './goods/edit_related_template',
- },
- //自定义属性组
- {
- path: '/goods/attribute_group',
- icon: 'layout',
- name: 'goods_attribute_group',
- component: './goods/attribute_group',
- },
- //自定义属性列表
- {
- path: '/goods/attribute_group_to_detail',
- name: '',
- component: './goods/attribute_list',
- },
- //运费模板
- {
- path: '/express/transport',
- icon: 'read',
- name: 'express_transport',
- component: './express/transport',
- },
- //新增运费模板
- {
- path: '/express/transport_to_add',
- icon: 'setting',
- name: '',
- component: './express/add_transport',
- },
- //免运费设置
- {
- path: '/express/setting',
- icon: 'schedule',
- name: 'express_setting',
- component: './express/setting',
- },
- //物流公司
- {
- path: '/express/express_list',
- icon: 'control',
- name: 'express_express_list',
- component: './express/express_list',
- },
- //订单列表
- {
- path: '/order/order_lists',
- icon: 'container',
- name: 'order_order_lists',
- component: './order/order_lists',
- },
- //拼团订单列表
- {
- path: '/order/spell_group_order_lists',
- icon: 'solution',
- name: 'spell_group__order_lists',
- component: './order/spell_group/order_lists',
- },
- //拼团订单详情
- {
- path: '/order/spell_group_order_detail',
- icon: '',
- name: '',
- component: './order/order_detail',
- },
- //订单详情
- {
- path: '/order/order_lists_to_detail',
- name: '',
- component: './order/order_detail',
- },
- //订单发货
- {
- path: '/order/order_deliver',
- icon: 'rocket',
- name: 'order_order_deliver',
- component: './order/order_deliver',
- },
- //评价管理
- {
- path: '/order/evaluation',
- icon: 'message',
- name: 'order_evaluation',
- component: './order/evaluation',
- },
- //地址管理
- {
- path: '/order/address_list',
- icon: 'environment',
- name: 'order_address_list',
- component: './order/address_list',
- },
- //优惠券
- {
- path: '/promotion/coupon_list',
- icon: 'red-envelope',
- name: 'promotion_coupon_list',
- component: './promotion/coupon/coupon_list',
- },
- //添加优惠券
- {
- path: '/promotion/coupon_list_to_add',
- icon: '',
- name: '',
- component: './promotion/coupon/add_coupon',
- },
- //优惠券详情
- {
- path: '/promotion/coupon_list_to_view',
- icon: '',
- name: '',
- component: './promotion/coupon/view_coupon',
- },
- //优惠券领取列表
- {
- path: '/promotion/coupon_list_to_receive_list',
- icon: '',
- name: '',
- component: './promotion/coupon/member_receive_lists',
- },
- // //满优惠
- // {
- // path: '/promotion/full_discount',
- // icon: 'gift',
- // name: 'promotion_full_discount',
- // component: './promotion/full/discount',
- // },
- //满减活动
- {
- path: '/promotion/full_acm',
- icon: 'fire',
- name: 'promotion_full_acm',
- component: './promotion/full/full_acm_list',
- },
- //发布满减活动
- {
- path: '/promotion/full_acm_to_add',
- icon: '',
- name: '',
- component: './promotion/full/add_full_acm',
- },
- //阶梯满减
- {
- path: '/promotion/full_asm',
- icon: 'gold',
- name: 'promotion_full_asm',
- component: './promotion/full/full_asm_list',
- },
- //发布阶梯满减活动
- {
- path: '/promotion/full_asm_to_add',
- icon: '',
- name: '',
- component: './promotion/full/add_full_asm',
- },
- //满N元折扣
- {
- path: '/promotion/full_ald',
- icon: 'money-collect',
- name: 'promotion_full_ald',
- component: './promotion/full/full_ald_list',
- },
- //发布满N元折扣活动
- {
- path: '/promotion/full_ald_to_add',
- icon: '',
- name: '',
- component: './promotion/full/add_full_ald',
- },
- //满N件折扣
- {
- path: '/promotion/full_nld',
- icon: 'medicine-box',
- name: 'promotion_full_nld',
- component: './promotion/full/full_nld_list',
- },
- //发布满N元折扣活动
- {
- path: '/promotion/full_nld_to_add',
- icon: '',
- name: '',
- component: './promotion/full/add_full_nld',
- },
- //秒杀活动
- {
- path: '/promotion/seckill',
- icon: 'thunderbolt',
- name: 'promotion_seckill',
- component: './promotion/seckill/list',
- },
- //参加秒杀活动
- {
- path: '/promotion/seckill_to_add',
- icon: '',
- name: '',
- component: './promotion/seckill/add_seckill',
- },
- //参加秒杀活动的商品列表
- {
- path: '/promotion/seckill_bind_goods',
- icon: '',
- name: '',
- component: './promotion/seckill/joined_goods_list',
- },
- //拼团活动列表
- {
- path: '/promotion/spell_group',
- icon: 'flag',
- name: 'promotion_spell_group',
- component: './promotion/spell_group/all_list',
- },
- //发布拼团活动
- {
- path: '/promotion/spell_group_to_add',
- icon: '',
- name: '',
- component: './promotion/spell_group/add_spell_group',
- },
- //拼团详情
- {
- path: '/promotion/spell_group_to_view',
- icon: '',
- name: '',
- component: './promotion/spell_group/view_spell_group',
- },
- //拼团的商品列表
- {
- path: '/promotion/spell_group_bind_goods',
- icon: '',
- name: '',
- component: './promotion/spell_group/joined_goods_list',
- },
- //拼团活动订单
- {
- path: '/promotion/spell_group_order',
- icon: '',
- name: '',
- component: './promotion/spell_group/order_lists',
- },
- //拼团活动订单详情
- {
- path: '/promotion/spell_group_order_to_detail',
- icon: '',
- name: '',
- component: './order/order_detail',
- },
- //拼团团队列表
- {
- path: '/promotion/spell_group_team_list',
- icon: '',
- name: '',
- component: './promotion/spell_group/team_list',
- },
- //阶梯团活动
- {
- path: '/promotion/ladder_group',
- icon: 'build',
- name: 'promotion_ladder_group',
- component: './promotion/ladder_group/all_list',
- },
- //参加阶梯团活动
- {
- path: '/promotion/ladder_group_to_add',
- icon: '',
- name: '',
- component: './promotion/ladder_group/add_ladder_group',
- },
- //阶梯团详情
- {
- path: '/promotion/ladder_group_to_view',
- icon: '',
- name: '',
- component: './promotion/ladder_group/view_ladder_group',
- },
- //阶梯团——团队列表
- {
- path: '/promotion/ladder_group_team_list',
- icon: '',
- name: '',
- component: './promotion/ladder_group/team_list',
- },
- //预售活动
- {
- path: '/promotion/presale',
- icon: 'gift',
- name: 'promotion_presale',
- component: './promotion/presale/list',
- },
- //预售查看详情
- {
- path: '/promotion/presale_to_view',
- icon: '',
- name: '',
- component: './promotion/presale/view_presale',
- },
- //预售的商品列表
- {
- path: '/promotion/presale_bind_goods',
- icon: '',
- name: '',
- component: './promotion/presale/joined_goods_list',
- },
- //新建预售活动
- {
- path: '/promotion/presale_to_add',
- icon: '',
- name: '',
- component: './promotion/presale/add_presale',
- },
-
- //店铺设置
- {
- path: '/store/setting',
- icon: 'shop',
- name: 'store_setting',
- component: './store/setting',
- },
- //店铺信息
- {
- path: '/store/info',
- icon: 'profile',
- name: 'store_info',
- component: './store/info',
- },
- // 店铺分类
- {
- path: '/store/category',
- icon: 'appstore',
- name: 'store_category',
- component: './store/category',
- },
- //品牌申请
- {
- path: '/store/brand_lists',
- icon: 'trademark',
- name: 'store_brand_lists',
- component: './store/brand_lists',
- },
- // 店铺移动端首页装修
- {
- path: '/diy/decorate_mhome',
- icon: 'mobile',
- name: 'diy_decorate_mhome',
- component: './diy/m_diy/m_diy_lists',
- },
- // 店铺移动端装修页面
- {
- path: '/diy/decorate_mhome_to_edit',
- name: '',
- component: './diy/m_diy/edit_m_diy_page',
- },
- // 消息接收设置
- {
- path: '/store/msg_setting',
- icon: 'setting',
- name: 'store_msg_setting',
- component: './store/msg_setting',
- },
- // 消息接收设置
- {
- path: '/store/msg_lists',
- icon: 'bell',
- name: 'store_msg_lists',
- component: './store/msg_lists',
- },
- //售后管理——仅退款
- {
- path: '/service/refund_lists',
- icon: 'transaction',
- name: 'service_refund_lists',
- component: './service/refund_lists',
- },
- //售后管理——退货退款
- {
- path: '/service/return_lists',
- icon: 'export',
- name: 'service_return_lists',
- component: './service/return_lists',
- },
- //售后管理——仅退款——退款详情
- {
- path: '/service/refund_lists_to_detail',
- name: '',
- component: './service/detail',
- },
- //售后管理——退货退款——退款详情
- {
- path: '/service/return_lists_to_detail',
- name: '',
- component: './service/detail',
- },
- //账号——权限阻
- {
- path: '/account/group',
- icon: 'trademark',
- name: 'account_group',
- component: './account/group',
- },
- //账号——子账号管理
- {
- path: '/account/member',
- icon: 'contacts',
- name: 'account_member',
- component: './account/member',
- },
- //结算——结算账号
- {
- path: '/bill/account',
- icon: 'property-safety',
- name: 'bill_account',
- component: './bill/account_lists',
- },
- //结算——结算账单
- {
- path: '/bill/lists',
- icon: 'transaction',
- name: 'bill_list',
- component: './bill/lists',
- },
- //结算——结算账单详情
- {
- path: '/bill/lists_to_detail',
- icon: 'transaction',
- name: '',
- component: './bill/detail',
- },
- //积分商城——发布商品
- {
- path: '/point/goods_list_to_add',
- icon: 'export',
- name: '',
- component: './point/goods/add_goods',
- },
- //积分商城——商品列表
- {
- path: '/point/goods_list',
- icon: 'shopping',
- name: 'point_goods_list',
- component: './point/goods/goods_list',
- },
- //积分商城——导入商城商品
- {
- path: '/point/goods_list_to_import',
- icon: '',
- name: '',
- component: './point/goods/select_mall_goods',
- },
- //积分商城——订单管理
- {
- path: '/point/order_list',
- icon: 'profile',
- name: 'point_order_list',
- component: './point/order/order_lists',
- },
- //积分商城——订单详情
- {
- path: '/point/order_list_to_detail',
- name: '',
- component: './point/order/order_detail',
- },
- //积分商城——结算管理
- {
- path: '/point/bill_list',
- icon: 'pay-circle',
- name: 'point_bill_list',
- component: './point/bill/lists',
- },
- //积分商城——结算详情
- {
- path: '/point/bill_list_to_detail',
- name: '',
- component: './point/bill/detail',
- },
-
- {
- component: '404',
- },
- ],
- },
- ];
|