123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import Vue from 'vue'
- import Router from 'vue-router'
- Vue.use(Router)
- const router = new Router({
- routes: [
- {
- path: '/',
- component: () => import('@/pages/layout/'),
- children: [
- {
- path: '/',
- name: '企业账号',
- component: () => import('@/pages/home'),
- meta: {index: '1-1'}
- },
- {
- path: '/authentication',
- name: '企业认证',
- component: () => import('@/pages/authentication'),
- meta: {index: '1-2'}
- },
- {
- path: '/rental-info',
- name: '出租信息',
- component: () => import('@/pages/rental-info'),
- meta: {index: '2-1'}
- },
- {
- path: '/sell-info',
- name: '出售信息',
- component: () => import('@/pages/sell-info'),
- meta: {index: '2-2'}
- },
- {
- path: '/site-decoration',
- name: '工地装修',
- component: () => import('@/pages/site-decoration'),
- meta: {index: '2-3'}
- },
- {
- path: '/z-carousel',
- name: '轮播图',
- component: () => import('@/pages/z-carousel'),
- meta: {index: '3-1'}
- },
- {
- path: '/recommended',
- name: '推荐位',
- component: () => import('@/pages/recommended'),
- meta: {index: '3-2'}
- },
- {
- path: '/download',
- name: '场景下载',
- component: () => import('@/pages/download'),
- meta: {index: '4'}
- }
- ]
- },
- {
- path: '/login',
- name: '登录',
- component: () => import('@/pages/login')
- }
- ]
- })
- export default router
|