diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index 00a70f1..bec29a7 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -85,9 +85,51 @@ export const constantRoutes = [ path: '/h5HomePage', name: 'H5HomePage', title: 'H5首页', - component: () => import('@/views/H5/calculate/index.vue'), + component: () => import('@/views/H5/index.vue'), hidden: true, - + redirect:"/h5HomePage/index", + children: [ + { + path: "index", + title: 'H5首页', + component: () => import('@/views/H5/official/index.vue'), + meta: { + title: "H5首页", fullPath: "/h5HomePage/index", + }, + }, + { + path: "cloud", + title: '云', + component: () => import('@/views/H5/cloud/index.vue'), + meta: { + title: "云", fullPath: "/h5HomePage/cloud", + }, + }, + { + path: "calculate", + title: '算', + component: () => import('@/views/H5/calculate/index.vue'), + meta: { + title: "算", fullPath: "/h5HomePage/calculate", + }, + }, + { + path: "net", + title: '网', + component: () => import('@/views/H5/net/index.vue'), + meta: { + title: "网", fullPath: "/h5HomePage/net", + }, + }, + { + path: "use", + title: '用', + component: () => import('@/views/H5/use/index.vue'), + meta: { + title: "用", fullPath: "/h5HomePage/use", + }, + }, + ] }, { diff --git a/f/web-kboss/src/views/H5/calculate/index.vue b/f/web-kboss/src/views/H5/calculate/index.vue index d845802..0dd8d88 100644 --- a/f/web-kboss/src/views/H5/calculate/index.vue +++ b/f/web-kboss/src/views/H5/calculate/index.vue @@ -10,7 +10,7 @@
{{ cloudData.secMenu[0].secTitle }}
- +