123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- export default [
- { path: '/', redirect: '/mall/home' },
- {
- path: '/download',
- component: './Download',
- },
- {
- path: '/error',
- component: './Error/Error',
- },
- // {
- // path: '/certificate',
- // name: '企业蓝V认证',
- // component: '../layouts/ActivityLayout',
- // routes: [
- // {
- // name: '企业蓝V认证',
- // path: '/certificate/source',
- // component: './Certificate/Certificate'
- // }
- // ]
- // },
- // {
- // path: '/paytypes',
- // component: '../layouts/NoLoginLayout',
- // routes: [
- // {
- // name: '微信支付',
- // path: '/paytypes/wechat',
- // component: './Pay/WechatPay'
- // }
- // ]
- // },
- // {
- // path: '/block',
- // name: '美丽乡村',
- // component: '../layouts/Village',
- // routes: [
- // {
- // name: '美丽乡村',
- // path: '/block/home',
- // component: './Village/Village',
- // },
- // {
- // name: '目的地美食',
- // path: '/block/prods',
- // component: './Village/VillageProds',
- // },
- // {
- // name: '美丽乡村',
- // path: '/block/content',
- // component: './Village/VillageContent',
- // }
- // ]
- // },
- {
- path: '/user',
- name: '用户',
- routes: [
- {
- name: '微信登录',
- path: '/user/login',
- component: './Login/Login',
- },
- {
- name: '手机登录',
- path: '/user/phoneLogin',
- component: './Login/PhoneLogin',
- },
- {
- name: '管家绑定',
- path: '/user/manager',
- component: './Login/ManagerBind',
- },
- ]
- },
- // {
- // path: '/vip',
- // name: '会员',
- // routes: [
- // {
- // name: '会员中心',
- // path: '/vip/pre',
- // component: './Vip/VipPre',
- // },
- // ]
- // },
- {
- path: '/product',
- name: '商品',
- component: '../layouts/LoginLayout',
- routes: [
- {
- path: '/product/comment',
- name: '商品评论列表',
- component: './Product/ProductCommentList'
- },
- {
- path: '/product/detail',
- name: '商品详情',
- component: './Product/ProductDetail'
- }
- ]
- },
- {
- path: '/mall',
- name: '商品',
- component: '../layouts/LoginLayout',
- routes: [
- {
- path: '/mall/home',
- name: '商城首页',
- component: './Mall/Home'
- },
- ]
- },
- {
- path: '/order',
- name: '订单',
- component: '../layouts/LoginLayout',
- routes: [
- {
- path: '/order/confirmBuy',
- name: '确认订单',
- component: './Order/ConfirmBuy'
- },
- {
- path: '/order/pay',
- name: '支付',
- component: './Order/Pay'
- },
- {
- name: '微信支付',
- path: '/order/wechatpay',
- component: './Pay/WechatPay'
- },
- {
- name: '订单列表',
- path: '/order/list',
- component: './Order/OrderList'
- },
- {
- path: '/order/detail',
- name: '订单详情',
- component: './Order/OrderDetail'
- },
- {
- path: '/order/refund',
- name: '选择退货商品',
- component: './Order/Refund'
- },
- {
- path: '/order/confirmRefund',
- name: '申请退款',
- component: './Order/ConfirmRefund'
- },
- {
- path: '/order/refundDetail',
- name: '退款详情',
- component: './Order/RefundDetail'
- },
- {
- path: '/order/comment',
- name: '发布评价',
- component: './Order/Comment'
- }
- ]
- },
- {
- path: '/pay',
- name: '支付',
- component: '../layouts/LoginLayout',
- routes: [
- {
- name: '支付宝支付',
- path: '/pay/ali',
- component: './Pay/AliPay'
- },
- ]
- },
- // {
- // path: '/article',
- // name: '内容',
- // component: '../layouts/NoLoginLayout',
- // routes: [
- // {
- // path: '/article/article',
- // name: '博文详情',
- // component: './Article/Article'
- // },
- // {
- // path: '/article/articleVideo',
- // name: '博文详情',
- // component: './Article/ArticleVideo'
- // }
- // ]
- // },
- {
- path: '/shipping',
- name: '收货信息',
- component: '../layouts/LoginLayout',
- routes: [
- {
- path: '/shipping/shippingList',
- name: '收货地址列表',
- component: './Shipping/ShippingList'
- },
- {
- path: '/shipping/add',
- name: '添加地址',
- component: './Shipping/AddShipping'
- },
- {
- path: '/shipping/update',
- name: '编辑地址',
- component: './Shipping/AddShipping'
- }
- ]
- },
- // {
- // path: '/activity',
- // component: '../layouts/ActivityLayout',
- // routes: [
- // {
- // path: '/activity/home',
- // component: './Activity/ActivityCover',
- // name: '嬉客创作大赛'
- // },
- // {
- // path: '/activity/main',
- // component: './Activity/Activity',
- // name: '嬉客创作大赛'
- // },
- // {
- // path: '/activity/explain',
- // component: './Activity/ActivityExplain',
- // //document: './src/documents/reg.ejs',
- // name: '活动说明'
- // },
- // {
- // path: '/activity/select',
- // component: './Activity/ActivitySelect',
- // name: '参赛作品'
- // },
- // {
- // path: '/activity/users',
- // component: './Activity/ActivityUsers',
- // name: '参赛选手'
- // },
- // {
- // path: '/activity/ranking',
- // component: './Activity/ActivityRanking',
- // name: '贡献榜'
- // },
- // {
- // path: '/activity/qcode',
- // component: './Activity/ActivityQcode',
- // name: '活动说明'
- // },
- // {
- // path: '/activity/join',
- // component: './Activity/ActivityJoin',
- // name: '我要参赛'
- // },
- // {
- // path: '/activity/video',
- // component: './Activity/ActivityVideo',
- // name: '我要参赛'
- // },
- // ]
- // },
- // {
- // path: '/app/guide',
- // component: './App/DownLoadGuide',
- // name: '下载APP'
- // },
- // {
- // path: '/app/pay',
- // component: './App/AppPay',
- // name: '支付'
- // }
- ]
|