liuyg
2022-03-31 4dab9528d8e69c0c3f8ce03a7d4617bb13ecec8d
src/router/page/index.js
@@ -1,13 +1,15 @@
/*
 * @Author: Morpheus
 * @Date: 2021-04-30 14:12:09
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2022-02-10 10:21:12
 * @Last Modified by: Morpheus
 * @Last Modified time: 2022-03-28 14:34:15
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const large = () => import('../../pcviews/large/index.vue')
const pcLayout = () => import('../../pcLayout/index.vue')
const pcHome = () => import('../../pcviews/home/index.vue')
@@ -50,10 +52,22 @@
const pcToolSign = () => import('../../pcviews/tool/sign.vue')
const pcToolRanging = () => import('../../pcviews/tool/ranging.vue')
const pcToolArea = () => import('../../pcviews/tool/area.vue')
const pcToolLayerManage = () => import('../../pcviews/tool/layer-manage.vue')
const routes = [
    // 大屏页面
    {
        path: '/large',
        meta: {
            title: '大屏页面'
        },
        component: large
    },
    {
        path: '/',
        redirect: '/pcLayout'
    },
    // pc端
    {
        path: '/pcLayout',
        redirect: '/pcLayout/default',
@@ -78,7 +92,7 @@
                path: 'orgnav',
                component: pcOrgnav,
                meta: {
                    title: '社区内机构导览'
                    title: '校区内机构导览'
                },
                children: [{
                    path: 'masses',
@@ -119,7 +133,7 @@
                path: 'arc',
                component: pcArc,
                meta: {
                    title: '社区内建筑'
                    title: '校区内建筑'
                },
                children: [{
                    path: 'edifact',
@@ -138,14 +152,14 @@
                    path: 'venue',
                    component: pcArcVenue,
                    meta: {
                        title: '社区场馆'
                        title: '校区场馆'
                    }
                },
                {
                    path: 'dorm',
                    component: pcArcDorm,
                    meta: {
                        title: '社区宿舍'
                        title: '校区宿舍'
                    }
                }, {
                    path: 'culture',
@@ -192,7 +206,7 @@
                    path: 'medical',
                    component: pcServiceMedical,
                    meta: {
                        title: '社区内医疗'
                        title: '校区内医疗'
                    }
                },
                {
@@ -205,7 +219,7 @@
                    path: 'showers',
                    component: pcServiceShowers,
                    meta: {
                        title: '社区浴室'
                        title: '校区浴室'
                    }
                },
                {
@@ -268,14 +282,14 @@
                path: 'campusnav',
                component: pcCampusnav,
                meta: {
                    title: '社区导览'
                    title: '校区导览'
                }
            },
            {
                path: 'campusnavi',
                component: pcCampusnavi,
                meta: {
                    title: '社区导航'
                    title: '校区导航'
                }
            },
            {
@@ -288,14 +302,14 @@
                    path: 'celebrate',
                    component: pcSpecialmapCelebrate,
                    meta: {
                        title: '社区庆'
                        title: '校区庆'
                    }
                },
                {
                    path: 'welcome',
                    component: pcSpecialmapWelcome,
                    meta: {
                        title: '社区迎新'
                        title: '校区迎新'
                    }
                }
                ]
@@ -332,6 +346,13 @@
                    meta: {
                        title: '地图测面'
                    }
                },
                {
                    path: 'layer-manage',
                    component: pcToolLayerManage,
                    meta: {
                        title: '图层管理'
                    }
                }
                ]
            }