| | |
| | | const forgotPassword = resolve => require(['@/views/signup/forgotpwd'], resolve) |
| | | |
| | | const router = new Router({ |
| | | mode: 'history', |
| | | routes: [{ |
| | | path: '/', |
| | | // name: 'Home', |
| | | redirect: '/home.html' |
| | | }, { |
| | | path: '/', |
| | | component: Home, |
| | | children: [ |
| | | { |
| | | path: '/', |
| | | name: 'index', |
| | | path: '/home.html', |
| | | name: 'home', |
| | | component: Index |
| | | }, |
| | | { |
| | | name: 'productcenter', |
| | | path: '/productCenter/:menuId',//产品软件 |
| | | name: 'productcenter', |
| | | component: ProductCenter |
| | | }, |
| | | { |
| | | path: '/successCase.html',//成功案例 |
| | | name: 'successcase', |
| | | path: '/successCase',//成功案例 |
| | | component: SuccessCase, |
| | | },{ |
| | | name: 'successcaseindex', |
| | | path: '/SuccessCaseIndex/:menuId',//成功案例 详情 |
| | | name: 'successcaseindex', |
| | | component: SuccessCaseIndex, |
| | | }, |
| | | { |
| | | name: 'casedetail', |
| | | path: '/caseDetail/:menuId',//解决方案 详情 |
| | | name: 'casedetail', |
| | | component: CaseDetail |
| | | }, |
| | | { |
| | | path: '/partner.html',//合作伙伴 |
| | | name: 'partner', |
| | | path: '/partner',//合作伙伴 |
| | | component: Partner |
| | | }, |
| | | { |
| | | path: '/news.html',//明科动态 版本2 |
| | | name: 'news', |
| | | path: '/news',//明科动态 版本2 |
| | | component: News |
| | | }, |
| | | { |
| | | path: '/AboutMingKe.html',//关于明科 |
| | | name: 'aboutmingKe', |
| | | path: '/AboutMingKe',//关于明科 |
| | | component: AboutMingKe |
| | | }, |
| | | { |
| | | path: '/postDetails.html',//职位详情 |
| | | name: 'postdetails', |
| | | path: '/postDetails',//职位详情 |
| | | component: postDetails |
| | | }, |
| | | { |
| | | name: 'companyprofile', |
| | | path: '/companyProfile/:hash',//企业文化 |
| | | path: '/companyProfile.html',//企业文化 |
| | | name: 'company', |
| | | component: CompanyProfile |
| | | }, |
| | | { |
| | | path: '/companyProfile/:hash',//企业文化 |
| | | name: 'companyprofile', |
| | | component: CompanyProfile |
| | | }, |
| | | { |
| | | path: '/joinMingKe.html',//加入明科 |
| | | name: 'joinmingke', |
| | | path: '/joinMingKe',//加入明科 |
| | | component: JoinMingKe |
| | | }, |
| | | { |
| | | path: '/contactInformation.html',//申请加入 |
| | | name: 'contactinformation', |
| | | path: '/contactInformation',//申请加入 |
| | | component: ContactInformation |
| | | }, |
| | | { |
| | | name: 'dynamicdetail', |
| | | path: '/dynamicDetail/:menuId',//明科动态 详情 |
| | | name: 'dynamicdetail', |
| | | component: DynamicDetail |
| | | }, |
| | | { |
| | | path: '/caseSolution.html',//解决方案 |
| | | name: 'casesolution', |
| | | path: '/caseSolution',//解决方案 |
| | | component: CaseSolution |
| | | }, |
| | | { |
| | | path: '/center.html',//解决方案 |
| | | name: 'center', |
| | | path: '/center',//解决方案 |
| | | component: center |
| | | } |
| | | ] |