From 3caf4d33de6fdfa4bbf861b5336ba05f13b7db54 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Jan 2021 10:33:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeadNav/HeadNav.vue | 7 +- src/components/PlatformList/PlatformList.vue | 2 +- src/router/index.js | 25 ++- src/views/About/Children/Introduce.vue | 2 +- src/views/About/Children/Organ.vue | 2 +- src/views/About/Children/Partner.vue | 2 +- src/views/Challenge/Children/Notice.vue | 16 +- src/views/Challenge/Children/Release.vue | 16 +- src/views/Challenge/Children/Solicitation.vue | 16 +- src/views/Industry/Children/Enterprise.vue | 37 ++++ src/views/Industry/Children/Serve.vue | 110 +++++++++++ src/views/Industry/Children/Union.vue | 177 ++++++++++++++++++ .../Industry/Children/components/HNav.vue | 54 ++++++ src/views/Industry/Industry.vue | 14 ++ src/views/NewPlatform/Children/Core.vue | 23 ++- src/views/NewPlatform/Children/Develop.vue | 17 +- src/views/NewPlatform/Children/Platform.vue | 18 +- src/views/NewPlatform/Children/Service.vue | 16 +- src/views/NewPlatform/Children/Share.vue | 17 +- .../Children/ShareChild/Institute.vue | 22 ++- src/views/NewPlatform/Children/Transfer.vue | 17 +- 21 files changed, 587 insertions(+), 23 deletions(-) create mode 100644 src/views/Industry/Children/Enterprise.vue create mode 100644 src/views/Industry/Children/Serve.vue create mode 100644 src/views/Industry/Children/Union.vue create mode 100644 src/views/Industry/Children/components/HNav.vue create mode 100644 src/views/Industry/Industry.vue diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index cba2bef..3270fa6 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -109,17 +109,18 @@ export default { children: [ { title: '产业创新联盟', - url: '', + url: '/Challenge/Union', }, { title: '产业服务', - url: '', + url: '/Challenge/Serve', }, { title: '衍生企业', - url: '', + url: '/Challenge/Enterprise', }, ], + url: '/Challenge/Union', }, { name: '知识平台', diff --git a/src/components/PlatformList/PlatformList.vue b/src/components/PlatformList/PlatformList.vue index 283d09b..cc308a7 100644 --- a/src/components/PlatformList/PlatformList.vue +++ b/src/components/PlatformList/PlatformList.vue @@ -2,7 +2,7 @@
- +

{{ item.name }}

了解更多→

diff --git a/src/router/index.js b/src/router/index.js index 857bd6e..0342d90 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -181,8 +181,8 @@ const routes = [ name: 'Cart', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Cart/Cart.vue'), }, - // 创新挑战 { + // 创新挑战 path: '/Challenge/Solicitation', name: 'Challenge', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Challenge.vue'), @@ -204,6 +204,29 @@ const routes = [ }, ], }, + { + // 创新挑战 + path: '/Industry/Union', + name: 'Industry', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Industry.vue'), + children: [ + { + path: '/Challenge/Union', + name: 'Union', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Union.vue'), + }, + { + path: '/Challenge/Serve', + name: 'Serve', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Serve.vue'), + }, + { + path: '/Challenge/Enterprise', + name: 'Enterprise', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Enterprise.vue'), + }, + ], + }, ]; const router = new VueRouter({ diff --git a/src/views/About/Children/Introduce.vue b/src/views/About/Children/Introduce.vue index ee8c496..581c3fc 100644 --- a/src/views/About/Children/Introduce.vue +++ b/src/views/About/Children/Introduce.vue @@ -1,6 +1,6 @@