From 57b36feeb74111aa477c8aac86feab7452a009c8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 04 Dec 2023 18:08:39 +0800
Subject: [PATCH] 移动端部分接口加campus参数

---
 src/router/page/index.js |  965 +++++++++++++++++++++++++++++---------------------------
 1 files changed, 494 insertions(+), 471 deletions(-)

diff --git a/src/router/page/index.js b/src/router/page/index.js
index 35db2a0..a48079e 100644
--- a/src/router/page/index.js
+++ b/src/router/page/index.js
@@ -5,496 +5,519 @@
  * @Last Modified time: 2022-04-28 11:55:30
  */
 
-import Vue from 'vue'
-import VueRouter from 'vue-router'
-Vue.use(VueRouter)
+import Vue from "vue";
+import VueRouter from "vue-router";
+Vue.use(VueRouter);
 
-const large = () => import('../../pcviews/large/index.vue')
+const large = () => import("../../pcviews/large/index.vue");
 
-const pcLayout = () => import('../../pcLayout/index.vue')
-const pcHome = () => import('../../pcviews/home/index.vue')
-const pcMapnav = () => import('../../pcviews/mapnav/index.vue')
-const pcOrgnav = () => import('../../pcviews/orgnav/index.vue')
-const pcOrgnavMasses = () => import('../../pcviews/orgnav/masses.vue')
-const pcOrgnavOfc = () => import('../../pcviews/orgnav/ofc.vue')
-const pcOrgnavDirectly = () => import('../../pcviews/orgnav/directly.vue')
-const pcOrgnavTeaching = () => import('../../pcviews/orgnav/teaching.vue')
-const pcOrgnavRest = () => import('../../pcviews/orgnav/rest.vue')
-const pcArc = () => import('../../pcviews/arc/index.vue')
-const pcArcEdifact = () => import('../../pcviews/arc/edifact.vue')
-const pcArcTeaching = () => import('../../pcviews/arc/teaching.vue')
-const pcArcVenue = () => import('../../pcviews/arc/venue.vue')
-const pcArcDorm = () => import('../../pcviews/arc/dorm.vue')
-const pcArcCulture = () => import('../../pcviews/arc/culture.vue')
-const pcArcFamily = () => import('../../pcviews/arc/family.vue')
-const pcArcRest = () => import('../../pcviews/arc/rest.vue')
-const pcService = () => import('../../pcviews/service/index.vue')
-const pcServiceCanteen = () => import('../../pcviews/service/canteen.vue')
-const pcServiceSupermarket = () => import('../../pcviews/service/supermarket.vue')
-const pcServiceMedical = () => import('../../pcviews/service/medical.vue')
-const pcServiceExpress = () => import('../../pcviews/service/express.vue')
-const pcServiceShowers = () => import('../../pcviews/service/showers.vue')
-const pcServiceTransfer = () => import('../../pcviews/service/transfer.vue')
-const pcServiceCopy = () => import('../../pcviews/service/copy.vue')
-const pcServiceBank = () => import('../../pcviews/service/bank.vue')
-const pcServiceAed = () => import('../../pcviews/service/aed.vue')
-const pcServiceService = () => import('../../pcviews/service/service.vue')
-const pcServicePark = () => import('../../pcviews/service/park.vue')
-const pcServiceAlleyway = () => import('../../pcviews/service/alleyway.vue')
-const pcAllquery = () => import('../../pcviews/allquery/index.vue')
-const pcCampusnav = () => import('../../pcviews/campusnav/index.vue')
-const pcCampusnavi = () => import('../../pcviews/campusnavi/index.vue')
+const pcLayout = () => import("../../pcLayout/index.vue");
+const pcHome = () => import("../../pcviews/home/index.vue");
+const pcMapnav = () => import("../../pcviews/mapnav/index.vue");
+const pcOrgnav = () => import("../../pcviews/orgnav/index.vue");
+const pcOrgnavMasses = () => import("../../pcviews/orgnav/masses.vue");
+const pcOrgnavOfc = () => import("../../pcviews/orgnav/ofc.vue");
+const pcOrgnavDirectly = () => import("../../pcviews/orgnav/directly.vue");
+const pcOrgnavTeaching = () => import("../../pcviews/orgnav/teaching.vue");
+const pcOrgnavRest = () => import("../../pcviews/orgnav/rest.vue");
+const pcArc = () => import("../../pcviews/arc/index.vue");
+const pcArcEdifact = () => import("../../pcviews/arc/edifact.vue");
+const pcArcTeaching = () => import("../../pcviews/arc/teaching.vue");
+const pcArcVenue = () => import("../../pcviews/arc/venue.vue");
+const pcArcDorm = () => import("../../pcviews/arc/dorm.vue");
+const pcArcCulture = () => import("../../pcviews/arc/culture.vue");
+const pcArcFamily = () => import("../../pcviews/arc/family.vue");
+const pcArcRest = () => import("../../pcviews/arc/rest.vue");
+const pcService = () => import("../../pcviews/service/index.vue");
+const pcServiceCanteen = () => import("../../pcviews/service/canteen.vue");
+const pcServiceSupermarket = () =>
+  import("../../pcviews/service/supermarket.vue");
+const pcServiceMedical = () => import("../../pcviews/service/medical.vue");
+const pcServiceExpress = () => import("../../pcviews/service/express.vue");
+const pcServiceShowers = () => import("../../pcviews/service/showers.vue");
+const pcServiceTransfer = () => import("../../pcviews/service/transfer.vue");
+const pcServiceCopy = () => import("../../pcviews/service/copy.vue");
+const pcServiceBank = () => import("../../pcviews/service/bank.vue");
+const pcServiceAed = () => import("../../pcviews/service/aed.vue");
+const pcServiceService = () => import("../../pcviews/service/service.vue");
+const pcServicePark = () => import("../../pcviews/service/park.vue");
+const pcServiceAlleyway = () => import("../../pcviews/service/alleyway.vue");
+const pcAllquery = () => import("../../pcviews/allquery/index.vue");
+const pcCampusnav = () => import("../../pcviews/campusnav/index.vue");
+const pcCampusnavi = () => import("../../pcviews/campusnavi/index.vue");
 
-const pcSpecialmap = () => import('../../pcviews/specialmap/index.vue')
-const pcSpecialmapCelebrate = () => import('../../pcviews/specialmap/celebrate.vue')
-const pcSpecialmapWelcome = () => import('../../pcviews/specialmap/welcome.vue')
+const pcSpecialmap = () => import("../../pcviews/specialmap/index.vue");
+const pcSpecialmapCelebrate = () =>
+  import("../../pcviews/specialmap/celebrate.vue");
+const pcSpecialmapWelcome = () =>
+  import("../../pcviews/specialmap/welcome.vue");
 
-const pcTool = () => import('../../pcviews/tool/index.vue')
-const pcToolDownload = () => import('../../pcviews/tool/download.vue')
-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 pcTool = () => import("../../pcviews/tool/index.vue");
+const pcToolDownload = () => import("../../pcviews/tool/download.vue");
+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 pcTechnique = () => import('../../pcviews/technique/index.vue')
-const pcTechniqueMapData = () => import('../../pcviews/technique/map.vue')
-const pcTechniqueVideo = () => import('../../pcviews/technique/video.vue')
-const pcTechniqueData = () => import('../../pcviews/technique/data.vue')
-const pcTechniqueTurf = () => import('../../pcviews/technique/turf.vue')
-const pcTechniqueSpace = () => import('../../pcviews/technique/space.vue')
-const pcTechniqueGraph = () => import('../../pcviews/technique/graph.vue')
-const pcTechniquePath = () => import('../../pcviews/technique/path.vue')
-const pcHomepage = () => import('../../pcviews/homepage/index.vue')
-const pcLogin = () => import('../../pcviews/Login/index.vue')
+const pcTechnique = () => import("../../pcviews/technique/index.vue");
+const pcTechniqueMapData = () => import("../../pcviews/technique/map.vue");
+const pcTechniqueVideo = () => import("../../pcviews/technique/video.vue");
+const pcTechniqueData = () => import("../../pcviews/technique/data.vue");
+const pcTechniqueTurf = () => import("../../pcviews/technique/turf.vue");
+const pcTechniqueSpace = () => import("../../pcviews/technique/space.vue");
+const pcTechniqueGraph = () => import("../../pcviews/technique/graph.vue");
+const pcTechniquePath = () => import("../../pcviews/technique/path.vue");
+const pcHomepage = () => import("../../pcviews/homepage/index.vue");
+const pcLogin = () => import("../../pcviews/Login/index.vue");
 
 const routes = [
-    // 大屏页面
-    // {
-    //     path: '/large',
-    //     meta: {
-    //         title: '大屏页面'
-    //     },
-    //     component: large
-    // },
-    {
-        path: '/homepage',
-        meta: {
-            title: '大屏页面'
-        },
-        component: pcHomepage
+  // 大屏页面
+  // {
+  //     path: '/large',
+  //     meta: {
+  //         title: '大屏页面'
+  //     },
+  //     component: large
+  // },
+  {
+    path: "/homepage",
+    meta: {
+      title: "大屏页面",
     },
-    {
-        path: '/login',
-        name: 'login',
-        component: pcLogin,
-        meta: {
-            title: '登录页',
-            isAuth: false
-        }
+    component: pcHomepage,
+  },
+  {
+    path: "/login",
+    name: "login",
+    component: pcLogin,
+    meta: {
+      title: "登录页",
+      isAuth: false,
     },
-    // pc端
-    {
-        path: '/pcLayout',
-        redirect: '/pcLayout/default',
+  },
+  // pc端
+  {
+    path: "/pcLayout",
+    redirect: "/pcLayout/default",
+    meta: {
+      title: "导航菜单",
+    },
+    component: pcLayout,
+    children: [
+      {
+        path: "default",
+        component: pcHome,
         meta: {
-            title: '导航菜单'
+          title: "系统首页",
         },
-        component: pcLayout,
-        children: [{
-            path: 'default',
-            component: pcHome,
+        children: [
+          {
+            path: "mapnav",
+            component: pcMapnav,
             meta: {
-                title: '系统首页'
+              title: "地图导览",
             },
-            children: [{
-                path: 'mapnav',
-                component: pcMapnav,
-                meta: {
-                    title: '地图导览'
-                }
-            },
-            {
-                path: 'orgnav',
-                component: pcOrgnav,
-                meta: {
-                    title: '校园内机构导览'
-                },
-                children: [{
-                    path: 'masses',
-                    component: pcOrgnavMasses,
-                    meta: {
-                        title: '党群机构'
-                    }
-                },
-                {
-                    path: 'ofc',
-                    component: pcOrgnavOfc,
-                    meta: {
-                        title: '职能部处'
-                    }
-                }, {
-                    path: 'directly',
-                    component: pcOrgnavDirectly,
-                    meta: {
-                        title: '直属及附属单位'
-                    }
-                },
-                {
-                    path: 'teaching',
-                    component: pcOrgnavTeaching,
-                    meta: {
-                        title: '教学与科研机构'
-                    }
-                }, {
-                    path: 'rest',
-                    component: pcOrgnavRest,
-                    meta: {
-                        title: '其他机构'
-                    }
-                }
-                ]
-            },
-            {
-                path: 'arc',
-                component: pcArc,
-                meta: {
-                    title: '校园内建筑'
-                },
-                children: [{
-                    path: 'edifact',
-                    component: pcArcEdifact,
-                    meta: {
-                        title: '行政办公'
-                    }
-                },
-                {
-                    path: 'teaching',
-                    component: pcArcTeaching,
-                    meta: {
-                        title: '教学科研'
-                    }
-                }, {
-                    path: 'venue',
-                    component: pcArcVenue,
-                    meta: {
-                        title: '校园场馆'
-                    }
-                },
-                {
-                    path: 'dorm',
-                    component: pcArcDorm,
-                    meta: {
-                        title: '校园宿舍'
-                    }
-                }, {
-                    path: 'culture',
-                    component: pcArcCulture,
-                    meta: {
-                        title: '文化风景'
-                    }
-                },
-                {
-                    path: 'family',
-                    component: pcArcFamily,
-                    meta: {
-                        title: '家属住宅'
-                    }
-                }, {
-                    path: 'rest',
-                    component: pcArcRest,
-                    meta: {
-                        title: '主要楼宇'
-                    }
-                }
-                ]
-            },
-            {
-                path: 'service',
-                component: pcService,
-                meta: {
-                    title: '生活服务设施'
-                },
-                children: [{
-                    path: 'canteen',
-                    component: pcServiceCanteen,
-                    meta: {
-                        title: '食堂餐厅'
-                    }
-                },
-                {
-                    path: 'supermarket',
-                    component: pcServiceSupermarket,
-                    meta: {
-                        title: '购物超市'
-                    }
-                }, {
-                    path: 'medical',
-                    component: pcServiceMedical,
-                    meta: {
-                        title: '校园内医疗'
-                    }
-                },
-                {
-                    path: 'express',
-                    component: pcServiceExpress,
-                    meta: {
-                        title: '邮寄快递'
-                    }
-                }, {
-                    path: 'showers',
-                    component: pcServiceShowers,
-                    meta: {
-                        title: '校园浴室'
-                    }
-                },
-                {
-                    path: 'transfer',
-                    component: pcServiceTransfer,
-                    meta: {
-                        title: '圈存机'
-                    }
-                },
-                {
-                    path: 'copy',
-                    component: pcServiceCopy,
-                    meta: {
-                        title: '打字复印'
-                    }
-                },
-                {
-                    path: 'bank',
-                    component: pcServiceBank,
-                    meta: {
-                        title: '银行网点'
-                    }
-                }, {
-                    path: 'aed',
-                    component: pcServiceAed,
-                    meta: {
-                        title: 'AED'
-                    }
-                },
-                {
-                    path: 'service',
-                    component: pcServiceService,
-                    meta: {
-                        title: '通信营业厅'
-                    }
-                }, {
-                    path: 'park',
-                    component: pcServicePark,
-                    meta: {
-                        title: '停车场'
-                    }
-                },
-                {
-                    path: 'alleyway',
-                    component: pcServiceAlleyway,
-                    meta: {
-                        title: '出入口'
-                    }
-                }
-                ]
-            },
-            {
-                path: 'allquery',
-                component: pcAllquery,
-                meta: {
-                    title: '综合查询'
-                }
-            },
-            {
-                path: 'campusnav',
-                component: pcCampusnav,
-                meta: {
-                    title: '校园导览'
-                }
-            },
-            {
-                path: 'campusnavi',
-                component: pcCampusnavi,
-                meta: {
-                    title: '校园导航'
-                }
-            },
-            {
-                path: 'specialmap',
-                component: pcSpecialmap,
-                meta: {
-                    title: '专题地图'
-                },
-                children: [{
-                    path: 'celebrate',
-                    component: pcSpecialmapCelebrate,
-                    meta: {
-                        title: '校园庆'
-                    }
-                },
-                {
-                    path: 'welcome',
-                    component: pcSpecialmapWelcome,
-                    meta: {
-                        title: '校园迎新'
-                    }
-                }
-                ]
-            },
-            {
-                path: 'tool',
-                component: pcTool,
-                meta: {
-                    title: '工具'
-                },
-                children: [{
-                    path: 'download',
-                    component: pcToolDownload,
-                    meta: {
-                        title: '地图下载'
-                    }
-                }, {
-                    path: 'sign',
-                    component: pcToolSign,
-                    meta: {
-                        title: '地图标记'
-                    }
-                },
-                {
-                    path: 'ranging',
-                    component: pcToolRanging,
-                    meta: {
-                        title: '地图测距'
-                    }
-                },
-                {
-                    path: 'area',
-                    component: pcToolArea,
-                    meta: {
-                        title: '地图测面'
-                    }
-                },
-                {
-                    path: 'layer-manage',
-                    component: pcToolLayerManage,
-                    meta: {
-                        title: '图层管理'
-                    }
-                }
-                ]
-            },
-            {
-                path: 'technique',
-                component: pcTechnique,
-                meta: {
-                    title: '创新'
-                },
-                children: [{
-                    path: 'map',
-                    component: pcTechniqueMapData,
-                    meta: {
-                        title: '地图数据加载'
-                    }
-                }, {
-                    path: 'video',
-                    component: pcTechniqueVideo,
-                    meta: {
-                        title: '视频融合'
-                    }
-                },
-                {
-                    path: 'data',
-                    component: pcTechniqueData,
-                    meta: {
-                        title: '数据动画和特效'
-                    }
-                },
-                {
-                    path: 'turf',
-                    component: pcTechniqueTurf,
-                    meta: {
-                        title: 'turf计算'
-                    }
-                },
-                {
-                    path: 'space',
-                    component: pcTechniqueSpace,
-                    meta: {
-                        title: '三维空间分析'
-                    }
-                },
-                {
-                    path: 'graph',
-                    component: pcTechniqueGraph,
-                    meta: {
-                        title: '第三方图形库的集成'
-                    }
-                },
-                {
-                    path: 'path',
-                    component: pcTechniquePath,
-                    meta: {
-                        title: '路径漫游和定点巡航'
-                    }
-                }
-                ]
-            }
-
-            ]
-        }]
-    },
-    // 手机端
-    {
-        path: '/mobileLayout',
-        redirect: '/mobileLayout/default',
-        meta: {
-            title: '导航菜单'
-        },
-        component: resolve => require(['../../mobileLayout/index.vue'], resolve),
-        children: [{
-            path: 'default',
-            component: resolve => require(['../../mobileviews/home/index.vue'], resolve),
+          },
+          {
+            path: "orgnav",
+            component: pcOrgnav,
             meta: {
-                title: '系统首页'
-            }
-        }]
+              title: "校园内机构导览",
+            },
+            children: [
+              {
+                path: "masses",
+                component: pcOrgnavMasses,
+                meta: {
+                  title: "党政机构",
+                },
+              },
+              {
+                path: "ofc",
+                component: pcOrgnavOfc,
+                meta: {
+                  title: "职能部处",
+                },
+              },
+              {
+                path: "directly",
+                component: pcOrgnavDirectly,
+                meta: {
+                  title: "直属及附属单位",
+                },
+              },
+              {
+                path: "teaching",
+                component: pcOrgnavTeaching,
+                meta: {
+                  title: "教学与科研机构",
+                },
+              },
+              {
+                path: "rest",
+                component: pcOrgnavRest,
+                meta: {
+                  title: "其他机构",
+                },
+              },
+            ],
+          },
+          {
+            path: "arc",
+            component: pcArc,
+            meta: {
+              title: "校园内建筑",
+            },
+            children: [
+              {
+                path: "edifact",
+                component: pcArcEdifact,
+                meta: {
+                  title: "行政办公",
+                },
+              },
+              {
+                path: "teaching",
+                component: pcArcTeaching,
+                meta: {
+                  title: "教学科研",
+                },
+              },
+              {
+                path: "venue",
+                component: pcArcVenue,
+                meta: {
+                  title: "校园场馆",
+                },
+              },
+              {
+                path: "dorm",
+                component: pcArcDorm,
+                meta: {
+                  title: "校园宿舍",
+                },
+              },
+              {
+                path: "culture",
+                component: pcArcCulture,
+                meta: {
+                  title: "文化风景",
+                },
+              },
+              {
+                path: "family",
+                component: pcArcFamily,
+                meta: {
+                  title: "家属住宅",
+                },
+              },
+              {
+                path: "rest",
+                component: pcArcRest,
+                meta: {
+                  title: "主要楼宇",
+                },
+              },
+            ],
+          },
+          {
+            path: "service",
+            component: pcService,
+            meta: {
+              title: "生活服务设施",
+            },
+            children: [
+              {
+                path: "canteen",
+                component: pcServiceCanteen,
+                meta: {
+                  title: "食堂餐厅",
+                },
+              },
+              {
+                path: "supermarket",
+                component: pcServiceSupermarket,
+                meta: {
+                  title: "购物超市",
+                },
+              },
+              {
+                path: "medical",
+                component: pcServiceMedical,
+                meta: {
+                  title: "校园内医疗",
+                },
+              },
+              {
+                path: "express",
+                component: pcServiceExpress,
+                meta: {
+                  title: "邮寄快递",
+                },
+              },
+              {
+                path: "showers",
+                component: pcServiceShowers,
+                meta: {
+                  title: "校园浴室",
+                },
+              },
+              {
+                path: "transfer",
+                component: pcServiceTransfer,
+                meta: {
+                  title: "圈存机",
+                },
+              },
+              {
+                path: "copy",
+                component: pcServiceCopy,
+                meta: {
+                  title: "打字复印",
+                },
+              },
+              {
+                path: "bank",
+                component: pcServiceBank,
+                meta: {
+                  title: "银行网点",
+                },
+              },
+              {
+                path: "aed",
+                component: pcServiceAed,
+                meta: {
+                  title: "AED",
+                },
+              },
+              {
+                path: "service",
+                component: pcServiceService,
+                meta: {
+                  title: "通信营业厅",
+                },
+              },
+              {
+                path: "park",
+                component: pcServicePark,
+                meta: {
+                  title: "停车场",
+                },
+              },
+              {
+                path: "alleyway",
+                component: pcServiceAlleyway,
+                meta: {
+                  title: "出入口",
+                },
+              },
+            ],
+          },
+          {
+            path: "allquery",
+            component: pcAllquery,
+            meta: {
+              title: "综合查询",
+            },
+          },
+          {
+            path: "campusnav",
+            component: pcCampusnav,
+            meta: {
+              title: "校园导览",
+            },
+          },
+          {
+            path: "campusnavi",
+            component: pcCampusnavi,
+            meta: {
+              title: "校园导航",
+            },
+          },
+          {
+            path: "specialmap",
+            component: pcSpecialmap,
+            meta: {
+              title: "专题地图",
+            },
+            children: [
+              {
+                path: "celebrate",
+                component: pcSpecialmapCelebrate,
+                meta: {
+                  title: "校园庆",
+                },
+              },
+              {
+                path: "welcome",
+                component: pcSpecialmapWelcome,
+                meta: {
+                  title: "校园迎新",
+                },
+              },
+            ],
+          },
+          {
+            path: "tool",
+            component: pcTool,
+            meta: {
+              title: "工具",
+            },
+            children: [
+              {
+                path: "download",
+                component: pcToolDownload,
+                meta: {
+                  title: "地图下载",
+                },
+              },
+              {
+                path: "sign",
+                component: pcToolSign,
+                meta: {
+                  title: "地图标记",
+                },
+              },
+              {
+                path: "ranging",
+                component: pcToolRanging,
+                meta: {
+                  title: "地图测距",
+                },
+              },
+              {
+                path: "area",
+                component: pcToolArea,
+                meta: {
+                  title: "地图测面",
+                },
+              },
+              {
+                path: "layer-manage",
+                component: pcToolLayerManage,
+                meta: {
+                  title: "图层管理",
+                },
+              },
+            ],
+          },
+          {
+            path: "technique",
+            component: pcTechnique,
+            meta: {
+              title: "创新",
+            },
+            children: [
+              {
+                path: "map",
+                component: pcTechniqueMapData,
+                meta: {
+                  title: "地图数据加载",
+                },
+              },
+              {
+                path: "video",
+                component: pcTechniqueVideo,
+                meta: {
+                  title: "视频融合",
+                },
+              },
+              {
+                path: "data",
+                component: pcTechniqueData,
+                meta: {
+                  title: "数据动画和特效",
+                },
+              },
+              {
+                path: "turf",
+                component: pcTechniqueTurf,
+                meta: {
+                  title: "turf计算",
+                },
+              },
+              {
+                path: "space",
+                component: pcTechniqueSpace,
+                meta: {
+                  title: "三维空间分析",
+                },
+              },
+              {
+                path: "graph",
+                component: pcTechniqueGraph,
+                meta: {
+                  title: "第三方图形库的集成",
+                },
+              },
+              {
+                path: "path",
+                component: pcTechniquePath,
+                meta: {
+                  title: "路径漫游和定点巡航",
+                },
+              },
+            ],
+          },
+        ],
+      },
+    ],
+  },
+  // 手机端
+  {
+    path: "/mobileLayout",
+    redirect: "/mobileLayout/default",
+    meta: {
+      title: "导航菜单",
     },
-    {
-        path: '/403',
-        component: () =>
-            import(/* webpackChunkName: "page" */ '@/components/error-page/403'),
-        name: '403',
+    component: (resolve) => require(["../../mobileLayout/index.vue"], resolve),
+    children: [
+      {
+        path: "default",
+        component: (resolve) =>
+          require(["../../mobileviews/home/index.vue"], resolve),
         meta: {
-            title: '403页面'
-        }
+          title: "系统首页",
+        },
+      },
+    ],
+  },
+  {
+    path: "/403",
+    component: () =>
+      import(/* webpackChunkName: "page" */ "@/components/error-page/403"),
+    name: "403",
+    meta: {
+      title: "403页面",
     },
-    {
-        path: '/404',
-        component: () =>
-            import(/* webpackChunkName: "page" */ '@/components/error-page/404'),
-        name: '404',
-        meta: {
-            title: '404页面'
-        }
-
+  },
+  {
+    path: "/404",
+    component: () =>
+      import(/* webpackChunkName: "page" */ "@/components/error-page/404"),
+    name: "404",
+    meta: {
+      title: "404页面",
     },
-    {
-        path: '/500',
-        component: () =>
-            import(/* webpackChunkName: "page" */ '@/components/error-page/500'),
-        name: '500',
-        meta: {
-            title: '500页面'
-        }
+  },
+  {
+    path: "/500",
+    component: () =>
+      import(/* webpackChunkName: "page" */ "@/components/error-page/500"),
+    name: "500",
+    meta: {
+      title: "500页面",
     },
-    {
-        path: '*',
-        redirect: '/404'
-    }
-
-]
+  },
+  {
+    path: "*",
+    redirect: "/404",
+  },
+];
 
 const router = new VueRouter({
-    base: process.env.BASE_URL,
-    routes
-})
+  base: process.env.BASE_URL,
+  routes,
+});
 
-export default router
+export default router;

--
Gitblit v1.9.3