diff --git a/src/components/FootBar.vue b/src/components/FootBar.vue index 54a1722..a931591 100644 --- a/src/components/FootBar.vue +++ b/src/components/FootBar.vue @@ -148,10 +148,10 @@ export default { { title: '关于我们', children: [ - { title: '简介', path: '/cnkhp.com/about#screen1' }, - { title: '使命和愿景', path: '/cnkhp.com/about#screen3' }, - { title: '理念和价值观', path: '/cnkhp.com/about#screen4' }, - { title: '感恩', path: '/cnkhp.com/about#screen5' }, + { title: '简介', path: '/about#screen1' }, + { title: '使命和愿景', path: '/about#screen3' }, + { title: '理念和价值观', path: '/about#screen4' }, + { title: '感恩', path: '/about#screen5' }, ], }, { diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index b180cbc..5ea72bb 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -57,9 +57,9 @@ menus: [ { title: '首页', - path: '/cnkhp.com/home' + path: '/home' }, - { title: '关于我们', path: '/cnkhp.com/about' }, + { title: '关于我们', path: '/about' }, { title: '业务范围', children: [ @@ -97,7 +97,7 @@ { title: '招募公告', path: '/recruit/socialRecruit' } ] }, - { title: '联系我们', path: '/cnkhp.com/CU' }, + { title: '联系我们', path: '/CU' }, // { // title: '客户登录', // jump: 'http://117.72.41.220:9097' diff --git a/src/router/index.js b/src/router/index.js index 36b618d..f52df43 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,14 +10,14 @@ const RouteView = { const routes = [ { path: '/', - redirect: '/cnkhp.com/home', + redirect: '/home', }, { - path: '/cnkhp.com/home', + path: '/home', component: (resolve) => require(['../views/Home/Index.vue'], resolve), }, { - path: '/cnkhp.com/business', + path: '/business', component: RouteView, children: [ { @@ -83,7 +83,7 @@ const routes = [ ], }, { - path: '/cnkhp.com/news', + path: '/news', component: RouteView, redirect: '/companyInformation', children: [ @@ -134,12 +134,12 @@ const routes = [ component: RouteView, children: [ { - path: '/cnkhp.com/about', + path: '/about', component: (resolve) => require(['../views/About/CompanyIntroduction/Index.vue'], resolve), }, { - path: '/cnkhp.com/CU', + path: '/CU', component: (resolve) => require(['../views/About/ContactUs/Index.vue'], resolve), }, @@ -168,7 +168,7 @@ const routes = [ ], }, { - path: '/cnkhp.com/HR', + path: '/HR', component: RouteView, children: [ { @@ -184,7 +184,7 @@ const routes = [ ], }, { - path: '/cnkhp.com/IC', + path: '/IC', component: RouteView, redirect: '/cooperationOffer', children: [