| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import Layout from '@/layout'
- const shopRouter = {
- path: '/shop',
- component: Layout,
- redirect: '/shop/standard-products',
- name: 'Shopping Mall',
- meta: {
- title: 'shop',
- icon: 'el-icon-s-goods'
- },
- children: [
- {
- path: 'standard-products', // 普通商品列表
- component: () => import('@/views/shop/standard-products'),
- name: 'repeatPurchase',
- meta: { title: 'Repeat Purchase', icon: 'el-icon-goods' }
- },
- {
- path: 'car-fund-products', // 车奖商品列表
- component: () => import('@/views/shop/car-fund-products'),
- name: 'CarFundProducts',
- meta: { title: 'Car Fund Products', icon: 'el-icon-goods' }
- },
- {
- path: 'villa-fund-products', // 房奖商品列表
- component: () => import('@/views/shop/villa-fund-products'),
- name: 'VillaFundProducts',
- meta: { title: 'Villa Fund Products', icon: 'el-icon-goods' }
- },
- {
- path: 'dec-order-list', // 报单列表
- component: () => import('@/views/shop/dec-order-list'),
- name: 'DecOrderList',
- meta: { title: 'Welcome Pack Listing', icon: 'el-icon-goods' }
- },
- {
- path: 'reconsume', // 复消
- component: () => import('@/views/shop/reconsume'),
- name: 'memberRepeatPurchase',
- meta: { title: 'Member Repeat Purchase', icon: 'el-icon-goods' }
- },
- {
- path: 'own-order', // 订单列表
- component: () => import('@/views/shop/order-list'),
- name: 'OrderList',
- meta: { title: 'My Order', icon: 'el-icon-goods' }
- },
- {
- path: 'ba-dec-order-list', // BA报单列表
- component: () => import('@/views/shop/ba-dec-order-list'),
- name: 'BaDecOrderList',
- meta: { title: 'Welcome Listing', icon: 'el-icon-goods' }
- },
- {
- path: 'member-order', // 会员订单
- component: () => import('@/views/user/member-order'),
- name: 'memberOrder',
- meta: { title: 'Member Order', icon: 'user', noCache: true }
- },
- {
- path: 'auto-maintenance', // 订单
- component: () => import('@/views/user/member-auto-maintenance'),
- name: 'memberAutoMaintenance',
- meta: { title: 'Member Auto-Maintenance', icon: 'user', noCache: true }
- }
- ]
- }
- export default shopRouter
|