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' }, // // { path: '/diy/decorate_mhome', component: './diy/m_diy/m_diy_lists' }, // ], // }, // 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/tpl_lists', // icon: 'home', // name: 'diy_tpl_lists', // component: './diy/pc_diy/tpl_lists', // }, // 实例化模版 // { // path: '/diy/instance_template_lists', // icon: 'profile', // name: 'diy_instance_template_lists', // component: './diy/pc_diy/instance_template_lists', // }, // 新增/编辑模版 { path: '/diy/instance_template_lists_to_edit', name: '', component: './diy/pc_diy/add_template', }, // 店铺PC端首页装修 // { // path: '/diy/decorate_pc_home', // icon: 'desktop', // name: 'diy_decorate_pc_home', // component: './diy/pc_diy/diy_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', }, //直播装修 { path: '/live/decorate_live', icon: 'mobile', name: 'live_decorate_live', component: './live/live_diy/live_diy_lists', }, //直播商品 { path: '/live/goods_live', icon: 'mobile', name: 'live_goods_live', component: './live/live_goods/live_diy_lists', }, //直播商品添加 { path: '/live/goods_live_edit', component: './live/live_goods/live_edit_goods_lists', }, //直播商品添加列表 { path: '/live/room_goods_edit', component: './live/live_diy/live_room_goods_edit', }, //直播商品绑定列表 { path: '/live/room_goods_relation', component: './live/live_diy/live_room_goods_relation', }, { component: '404', }, ], }, ];