diff --git a/src/common/platform.styl b/src/common/platform.styl index ff0b856..973aa85 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 af09407..05e2531 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -2,12 +2,7 @@
- + {{ item.name }}   @@ -24,12 +19,7 @@ - + @@ -154,17 +144,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 64dac6b..42e6b5e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -231,6 +231,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 }}

了解更多→

-
- -