From 110deb9a991921c79a118db31e6f92c6b2e5f103 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 6 Jan 2021 18:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E6=96=B0=E6=8C=91=E6=88=98=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/platform.styl | 2 +- src/components/HeadNav/HeadNav.vue | 21 +- src/router/index.js | 25 +- src/views/Challenge/Challenge.vue | 13 + src/views/Challenge/Children/Notice.vue | 222 +++++++++++++++++ src/views/Challenge/Children/Release.vue | 231 ++++++++++++++++++ src/views/Challenge/Children/Solicitation.vue | 57 +++++ src/views/Challenge/components/HNav.vue | 54 ++++ src/views/NewPlatform/Children/Service.vue | 51 ++-- src/views/NewPlatform/Children/ServiceDet.vue | 11 +- 10 files changed, 651 insertions(+), 36 deletions(-) create mode 100644 src/views/Challenge/Challenge.vue create mode 100644 src/views/Challenge/Children/Notice.vue create mode 100644 src/views/Challenge/Children/Release.vue create mode 100644 src/views/Challenge/Children/Solicitation.vue create mode 100644 src/views/Challenge/components/HNav.vue diff --git a/src/common/platform.styl b/src/common/platform.styl index d464bb5..db1f1ea 100644 --- a/src/common/platform.styl +++ b/src/common/platform.styl @@ -32,7 +32,7 @@ float: right; margin: 70px 0; margin-right: 12%; - width: 60%; + width: 62%; padding: 0; font-size: 16px; color: #fff; diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index be23c75..cba2bef 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -2,12 +2,7 @@
- + {{ item.name }}   @@ -24,12 +19,7 @@ - + @@ -145,17 +135,18 @@ export default { children: [ { title: '需求征集', - url: '', + url: '/Challenge/Solicitation', }, { title: '项目发布', - url: '', + url: '/Challenge/Release', }, { title: '结果公告', - url: '', + url: '/Challenge/Notice', }, ], + url: '/Challenge/Solicitation', }, { name: '交流社区', diff --git a/src/router/index.js b/src/router/index.js index 2305683..857bd6e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -111,8 +111,8 @@ const routes = [ name: 'ContactUs', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ContactUs/ContactUs.vue'), }, - { + // 创新平台 path: '/NewPlatform/NewCore', name: 'NewPlatform', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/NewPlatform.vue'), @@ -181,6 +181,29 @@ 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'), + children: [ + { + path: '/Challenge/Solicitation', + name: 'Solicitation', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Solicitation.vue'), + }, + { + path: '/Challenge/Release', + name: 'Release', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Release.vue'), + }, + { + path: '/Challenge/Notice', + name: 'Notice', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Notice.vue'), + }, + ], + }, ]; const router = new VueRouter({ diff --git a/src/views/Challenge/Challenge.vue b/src/views/Challenge/Challenge.vue new file mode 100644 index 0000000..6a47a88 --- /dev/null +++ b/src/views/Challenge/Challenge.vue @@ -0,0 +1,13 @@ + + + diff --git a/src/views/Challenge/Children/Notice.vue b/src/views/Challenge/Children/Notice.vue new file mode 100644 index 0000000..11682fe --- /dev/null +++ b/src/views/Challenge/Children/Notice.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/views/Challenge/Children/Release.vue b/src/views/Challenge/Children/Release.vue new file mode 100644 index 0000000..b91d7e5 --- /dev/null +++ b/src/views/Challenge/Children/Release.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/src/views/Challenge/Children/Solicitation.vue b/src/views/Challenge/Children/Solicitation.vue new file mode 100644 index 0000000..2dda88b --- /dev/null +++ b/src/views/Challenge/Children/Solicitation.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/views/Challenge/components/HNav.vue b/src/views/Challenge/components/HNav.vue new file mode 100644 index 0000000..d22a567 --- /dev/null +++ b/src/views/Challenge/components/HNav.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/views/NewPlatform/Children/Service.vue b/src/views/NewPlatform/Children/Service.vue index b494841..1f39bec 100644 --- a/src/views/NewPlatform/Children/Service.vue +++ b/src/views/NewPlatform/Children/Service.vue @@ -9,28 +9,19 @@ 后可通过顶部菜单栏的购物车查看。
-
+
- -

{{ item.name }}

+ +

{{ item.name }}

+

{{ item.intro }}

了解更多→

-
- -