export default [ // user { path: '/user', component: '../layouts/UserLayout', routes: [ { path: '/user', redirect: '/user/login' }, { path: '/user/login', component: './User/Login' }, ], }, // app { path: '/', component: '../layouts/BasicLayout', Routes: ['src/pages/CheckLogin'], routes: [ { path: '/', redirect: '/sysset_home/basic' }, //系统配置—首页管理 { path: '/sysset_home', icon: 'home', name: 'home', routes: [ //概况页 { path: '/sysset_home/basic', name: 'basic', component: './sysset/home/basic', }], }, //系统配置—基本配置 { path: '/sysset_setting', icon: 'setting', name: 'setting', routes: [ //站点配置 { path: '/sysset_setting/site_info', name: 'site_info', component: './sysset/base/site_info', }, //图片配置 { path: '/sysset_setting/pic_set', name: 'pic_set', component: './sysset/base/pic_set', }, //支付配置 { path: '/sysset_setting/payment', name: 'payment', component: './sysset/base/payment', }, //运营配置 { path: '/sysset_setting/order', name: 'order', component: './sysset/base/order', }, ], }, //系统配置—通知管理 { path: '/sysset_notice_set', icon: 'bell', name: 'notice_set', routes: [ //短信配置 { path: '/sysset_notice_set/sms', name: 'sms', component: './sysset/notice_set/sms', }, //消息模板 { path: '/sysset_notice_set/msg_tpl', name: 'msg_tpl', component: './sysset/notice_set/msg_tpl', }, ], }, // 系统配置—三方账号 { path: '/sysset_acount', icon: 'usergroup-add', name: 'acount', routes: [ //授权配置 { path: '/sysset_acount/union_login', name: 'union_login', component: './sysset/acount/union_login', }, ], }, //系统配置—权限管理 { path: '/sysset_authority', icon: 'security-scan', name: 'authority', routes: [ //权限组 { path: '/sysset_authority/authority_group', name: 'authority_group', component: './sysset/authority/group', }, //操作员管理 { path: '/sysset_authority/authority_member', name: 'authority_member', component: './sysset/authority/member', }, //操作日志 { path: '/sysset_authority/operate_log', name: 'operate_log', component: './sysset/authority/operate_log', }, ], }, //系统配置-协议管理 { path: '/sysset_agreement', icon: 'reconciliation', name: 'agreement', routes: [ //协议管理 { path: '/sysset_agreement/lists', name: 'lists', component: './sysset/agreement/lists', }, //编辑协议 { path: '/sysset_agreement/lists_to_edit', name: '', component: './sysset/agreement/edit', }, ], }, //系统配置—物流管理 { path: '/sysset_express', icon: 'car', name: 'express', routes: [ //物流公司 { path: '/sysset_express/express_lists', name: 'express_lists', component: './sysset/express/express_lists', }, //物流配置 { path: '/sysset_express/express', name: 'express', component: './sysset/express/express', }, ], }, // 会员管理 { path: '/manage_member', name: 'member', icon: 'usergroup-add', routes: [ //会员列表 { path: '/manage_member/lists', name: 'lists', component: './manage/member/lists', }, //会员详情 { path: '/manage_member/lists_to_detail', name: '', component: './manage/member/detail', }, //充值管理 { path: '/manage_member/recharge', name: 'recharge', component: './manage/member/recharge', }, //资金明细 { path: '/manage_member/balance_log', name: 'balance_log', component: './manage/member/balance_log', }, //积分设置 { path: '/manage_member/point_setting', name: 'point_setting', component: './manage/member/point_set', }, ], }, // 商品管理 { path: '/manage_product', icon: 'appstore', name: 'product', routes: [ //商品设置 { path: '/manage_product/goods_setting', name: 'goods_setting', component: './manage/product/goods_setting', }, //商品列表 { path: '/manage_product/goods_list', name: 'goods_list', component: './manage/product/goods_list', }, //待审核商品_发布商品 { path: '/manage_product/goods_check_list_to_add', name: '', component: './manage/goods/add_goods', }, //分类管理 { path: '/manage_product/cate_lists', name: 'cate_lists', component: './manage/product/cate_lists', }, //品牌列表 { path: '/manage_product/brand', name: 'brand', component: './manage/product/brand', }, //属性管理 { path: '/manage_product/search_attr', name: 'search_attr', component: './manage/product/search_attr', }, //商品标签 { path: '/manage_product/goods_label', name: 'goods_label', component: './manage/product/goods_label', }, ], }, // 首页装修 { path: '/decorate_mhome', icon: 'mobile', name: 'decorate_mobile_home', routes: [ // 首页装修 { path: '/decorate_mhome/lists', name: 'lists', component: './mdecorate/lists', }, // 装修页面 { path: '/decorate_mhome/lists_to_diy', name: '', component: './mdecorate/edit_diy_page', }, ], }, // 专题装修 { path: '/decorate_mtopic', icon: 'layout', name: 'decorate_mobile_topic', routes: [ // 专题装修 { path: '/decorate_mtopic/topic_lists', name: 'topic_lists', component: './mdecorate/topic_lists', }, // 装修页面 { path: '/decorate_mtopic/topic_lists_to_diy', name: '', component: './mdecorate/edit_diy_page', }, ], }, // 分类图片 { path: '/decorate_mcat', icon: 'file-image', name: 'decorate_mobile_cat_img', routes: [ // 分类图片 { path: '/decorate_mcat/list', name: 'lists', component: './mdecorate/mcat', }, ], }, // 发现装修 { path: '/decorate_information', icon: 'deployment-unit', name: 'decorate_mobile_information', routes: [ // 发现首页 { path: '/decorate_information/information', name: 'information', component: './mdecorate/information', }, ], }, // 店铺管理 { path: '/manage_store', icon: 'shop', name: 'store', routes: [ //自营店铺 { path: '/manage_store/own_list', name: 'own_list', component: './manage/store/own_list', }, //入驻店铺 { path: '/manage_store/settle_store_list', name: 'settle_store_list', component: './manage/store/settle_store_list', }, //入驻审核店铺详情 { path: '/manage_store/settle_store_list_apply_detail', name: '', component: './manage/store/apply_store_detail', }, //店铺入驻信息详情 { path: '/manage_store/settle_store_list_view', name: '', component: './manage/store/settled_store_detail', }, //编辑店铺入驻信息 { path: '/manage_store/settle_store_list_to_edit', name: '', component: './manage/store/edit_settled_store', }, //店铺等级 { path: '/manage_store/grade_list', name: 'grade_list', component: './manage/store/grade_list', }, ], }, // 订单管理 { path: '/manage_order', icon: 'form', name: 'order', routes: [ //订单列表 { path: '/manage_order/order_lists', name: 'order_lists', component: './manage/order/order_lists', }, //订单详情 { path: '/manage_order/order_lists_to_detail', name: '', component: './manage/order/order_detail', }, //售后管理 pc 和 app 暂时禁用 // { // path: '/manage_order/aftersales_lists', // name: 'aftersales_lists', // component: './manage/order/aftersales_lists', // }, { path: '/manage_order/service', name: 'service', component: './manage/order/service', }, //评价管理 { path: '/manage_order/evaluation', name: 'evaluation', component: './manage/order/evaluation', }, //售后原因 { path: '/manage_order/salereson_lists', name: 'salereson_lists', component: './manage/order/salereson_lists', }, ], }, // 促销活动 { path: '/bussset_promotion', icon: 'tag', name: 'promotion', routes: [ //优惠券 { path: '/bussset_promotion/coupon', name: 'coupon', component: './bussset/promotion/coupon/home', }, //新建优惠券 { path: '/bussset_promotion/coupon_to_add', name: '', component: './bussset/promotion/coupon/add_coupon', }, //平台优惠券——查看优惠券 { path: '/bussset_promotion/coupon_to_view', name: '', component: './bussset/promotion/coupon/view_coupon', }, //平台优惠券——优惠券领取列表 { path: '/bussset_promotion/coupon_to_receive_list', name: '', component: './bussset/promotion/coupon/member_receive_lists', }, //店铺优惠券 { path: '/bussset_promotion/store_coupon', name: 'store_coupon', component: './bussset/promotion/coupon/store_coupon', }, //店铺优惠券——查看优惠券 { path: '/bussset_promotion/store_coupon_to_view', name: '', component: './bussset/promotion/coupon/view_coupon', }, //店铺优惠券——优惠券领取列表 { path: '/bussset_promotion/store_coupon_to_receive_list', name: '', component: './bussset/promotion/coupon/member_receive_lists', }, //满优惠列表 { path: '/bussset_promotion/full_discount', name: 'full_discount', component: './bussset/promotion/full/discount', }, //秒杀活动 { path: '/bussset_promotion/seckill', name: 'seckill', component: './bussset/promotion/seckill/lists', }, //秒杀活动详情——秒杀活动场次 { path: '/bussset_promotion/seckill_detail', name: '', component: './bussset/promotion/seckill/detail', }, //秒杀活动商品 { path: '/bussset_promotion/seckill_goods_list', name: '', component: './bussset/promotion/seckill/seckill_goods_lists', }, //拼团活动 { path: '/bussset_promotion/spell_group', name: 'spell_group', component: './bussset/promotion/spell_group/lists', }, //拼团活动——查看详情 { path: '/bussset_promotion/spell_group_to_view', name: '', component: './bussset/promotion/spell_group/view_spell_group', }, //拼团活动商品 { path: '/bussset_promotion/spell_group_bind_goods', name: '', component: './bussset/promotion/spell_group/joined_goods_list', }, //拼团活动订单 { path: '/bussset_promotion/spell_group_order', name: '', component: './bussset/promotion/spell_group/order_lists', }, //拼团活动订单详情 { path: '/bussset_promotion/spell_group_order_to_detail', name: '', component: './manage/order/order_detail', }, //拼团团队列表 { path: '/bussset_promotion/spell_group_team_list', name: '', component: './bussset/promotion/spell_group/team_list', }, //阶梯团活动 { path: '/bussset_promotion/ladder_group', name: 'ladder_group', component: './bussset/promotion/ladder_group/lists', }, //阶梯团活动——查看详情 { path: '/bussset_promotion/ladder_group_to_view', name: '', component: './bussset/promotion/ladder_group/view_ladder_group', }, //阶梯团活动——团队列表 { path: '/bussset_promotion/ladder_group_team_list', name: '', component: './bussset/promotion/ladder_group/team_list', }, //预售活动 { path: '/bussset_promotion/presale', name: 'presale', component: './bussset/promotion/presale/lists', }, //预售详情 { path: '/bussset_promotion/presale_to_view', name: '', component: './bussset/promotion/presale/view_presale', }, //预售活动商品 { path: '/bussset_promotion/presale_goods_list', name: '', component: './bussset/promotion/presale/presale_goods_lists', }, ], }, // 签到管理 { path: '/bussset_sign', icon: 'schedule', name: 'sign', routes: [ //签到活动列表 { path: '/bussset_sign/list', name: 'list', component: './bussset/sign/list', }, //新建签到活动 { path: '/bussset_sign/list_to_add', name: '', component: './bussset/sign/add', }, //签到统计列表 { path: '/bussset_sign/stat', name: 'stat', component: './bussset/sign/stat', }, //会员签到统计详情 { path: '/bussset_sign/stat_to_member_detail', name: '', component: './bussset/sign/member_stat_detail', }, //活动签到详情 { path: '/bussset_sign/stat_to_activity_detail', name: '', component: './bussset/sign/activity_stat_detail', }, ] }, // 结算管理 { path: '/bussset_bill', icon: 'pay-circle', name: 'bill', routes: [ //结算账单 { path: '/bussset_bill/lists', name: 'lists', component: './bussset/bill/lists', }, //结算账单详情 { path: '/bussset_bill/lists_to_detail', name: '', component: './bussset/bill/detail', }, ], }, // 直播 { path: '/bussset_live', icon: 'pay-circle', name: 'live', routes: [ //直播设置 { path: '/bussset_live/setting', name: 'setting', component: './bussset/live/setting', }, //标签管理 { path: '/bussset_live/live_label', name: 'label', component: './bussset/live/setting', }, //主播管理 { path: '/bussset_live/author_lists', name: 'author_lists', component: './bussset/live/setting', }, //直播管理 { path: '/bussset_live/live_manage', name: 'live_manage', component: './bussset/live/setting', }, ], }, // 积分商城 { path: '/point_m_diy', icon: 'home', name: 'point_m_diy', routes: [ //积分商城——首页装修 { path: '/point_m_diy/home', name: 'home', component: './point/mdiy/home', }, // 装修页面 { path: '/point_m_diy/home_to_edit', name: '', component: './point/mdiy/edit_diy_page', }, ] }, // 积分商城 { path: '/point_setting', icon: 'star', name: 'point_setting', routes: [ //积分商城——积分设置 { path: '/point_setting/index', name: 'index', component: './point/setting', }, ] }, { path: '/point_label', icon: 'tag', name: 'point_label', routes: [ //积分商城——标签管理 { path: '/point_label/index', name: 'index', component: './point/label', }, ] }, { path: '/point_goods', icon: 'shopping', name: 'point_goods', routes: [ //积分商城——商品管理 { path: '/point_goods/list', name: 'list', component: './point/goods/goods_list', }, ] }, { path: '/point_order', icon: 'profile', name: 'point_order', routes: [ //积分商城——订单管理 { path: '/point_order/list', name: 'list', component: './point/order/order_lists', }, //积分商城——订单详情 { path: '/point_order/list_to_detail', name: '', component: './point/order/order_detail', }, ] }, { path: '/point_bill', icon: 'pay-circle', name: 'point_bill', routes: [ //积分商城——结算管理 { path: '/point_bill/list', name: 'list', component: './point/bill/lists', }, //积分商城——结算详情 { path: '/point_bill/list_to_detail', name: '', component: './point/bill/detail', }, ] }, { component: '404', }, ], }, ];