From 1e49ed3e5c425b4d5aac6ff55aa4dded013b16fb Mon Sep 17 00:00:00 2001 From: binbin0314 Date: Thu, 14 Jan 2021 16:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=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 | 16 +- src/components/Introduce/DeriveEnterprise.vue | 157 +++++++++ src/components/Introduce/PartnerShip.styl | 81 +++++ src/router/index.js | 78 ++++- src/views/About/About.vue | 8 - src/views/About/Children/SpinOffs.vue | 17 +- src/views/Activity/ActDetails.vue | 123 +++++++ src/views/Activity/Activity.vue | 324 ++++++++++++++++++ src/views/Activity/components/Enroll.vue | 321 +++++++++++++++++ src/views/Business/Business.vue | 95 +++++ src/views/Challenge/Challenge.vue | 31 ++ src/views/Challenge/Children/Notice.vue | 215 ++++++++++++ src/views/Challenge/Children/Release.vue | 223 ++++++++++++ src/views/Challenge/Children/Solicitation.vue | 73 ++++ src/views/Challenge/components/LeftNav.vue | 54 +++ src/views/Develop/Develop.vue | 85 +++++ src/views/Study/StuDetails.vue | 176 ++++++++++ src/views/Study/Study.vue | 255 ++++++++++++++ 18 files changed, 2300 insertions(+), 32 deletions(-) create mode 100644 src/components/Introduce/DeriveEnterprise.vue create mode 100644 src/components/Introduce/PartnerShip.styl create mode 100644 src/views/Activity/ActDetails.vue create mode 100644 src/views/Activity/Activity.vue create mode 100644 src/views/Activity/components/Enroll.vue create mode 100644 src/views/Business/Business.vue 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/LeftNav.vue create mode 100644 src/views/Develop/Develop.vue create mode 100644 src/views/Study/StuDetails.vue create mode 100644 src/views/Study/Study.vue diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index c816b9e..e628c1c 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -90,37 +90,37 @@ export default { }, { name: '数智开发', - url: '', + url: '/Develop', }, { name: '双创活动', - url: '', + url: '/Activity', }, { name: '创新挑战', - url: '', children: [ { title: '需求征集', - url: '', + url: '/Challenge/Solicitation', }, { title: '项目发布', - url: '', + url: '/Challenge/Release', }, { title: '结果公示', - url: '', + url: '/Challenge/Notice', }, ], + url: '/Challenge/Solicitation', }, { name: '创业学院', - url: '', + url: '/Business', }, { name: '学习平台', - url: '', + url: '/Study', }, { name: '关于我们', diff --git a/src/components/Introduce/DeriveEnterprise.vue b/src/components/Introduce/DeriveEnterprise.vue new file mode 100644 index 0000000..1db61b1 --- /dev/null +++ b/src/components/Introduce/DeriveEnterprise.vue @@ -0,0 +1,157 @@ + + + + + + + diff --git a/src/components/Introduce/PartnerShip.styl b/src/components/Introduce/PartnerShip.styl new file mode 100644 index 0000000..67e9053 --- /dev/null +++ b/src/components/Introduce/PartnerShip.styl @@ -0,0 +1,81 @@ +// 合作伙伴 +.logo-box{ + width: 22%; + margin-right: 4%; + border-radius: 4px; + margin-bottom: 50px; + + .logo-pic-box{ + height: 90px; + width: 90px; + border-radius: 50%; + background: #fff; + line-height: 90px; + text-align: center; + box-shadow: 6px 6px 6px #eee; + + .logo-pic{ + height: 70px + } + + .logo-text{ + height: 100%; + font-size: 12px; + line-height: 20px; + } + } + +} + +.logo-box1{ + margin-right: 0!important; +} + +// 衍生企业 +.enterprise-bg{ + width: 100%; + // background: url('../../assets/enterprise-banner.png') right no-repeat; + background-size: 100% 100%; +} + +.enterprise-box{ + width: 26%; + height: 382px; + margin-right: 11%; + position: relative; + padding: 0 16px; + + .enterprise-pic{ + height: 166px + } + + .enterprise-txt{ + display: -webkit-box; + overflow: hidden; + white-space: normal !important; + text-overflow: ellipsis; + word-wrap: break-word; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + text-align: justify; + line-height: 28px; + } + + .enterprise-more{ + position: absolute; + bottom: 0; + right: 12px; + } +} + +.enterprise-box1{ + margin-right: 0!important; +} + +.enterprise-page >>> .ant-pagination-item-active{ + background: #13ACC4; +} + +.enterprise-page >>> .ant-pagination-item-active a{ + color: #fff; +} diff --git a/src/router/index.js b/src/router/index.js index 8687f9c..72c0056 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,7 +3,7 @@ * @email: 18603454788@163.com * @Date: 2021-01-13 16:33:32 * @LastEditors: wally - * @LastEditTime: 2021-01-13 17:33:53 + * @LastEditTime: 2021-01-14 13:11:14 */ import Vue from 'vue'; import VueRouter from 'vue-router'; @@ -55,30 +55,96 @@ const routes = [ { path: '/About/Introduce', name: 'About', - component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/About.vue'), + component: () => import(/* webpackChunkName: "About-About" */ 'views/About/About.vue'), children: [ { path: '/About/Introduce', name: 'Introduce', - component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Introduce.vue'), + component: () => import(/* webpackChunkName: "About-Introduce" */ 'views/About/Children/Introduce.vue'), }, { path: '/About/Organ', name: 'Organ', - component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Organ.vue'), + component: () => import(/* webpackChunkName: "About-Organ" */ 'views/About/Children/Organ.vue'), }, { path: '/About/Partner', name: 'Partner', - component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Partner.vue'), + component: () => import(/* webpackChunkName: "About-Partner" */ 'views/About/Children/Partner.vue'), }, { path: '/About/SpinOffs', name: 'SpinOffs', - component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/SpinOffs.vue'), + component: () => import(/* webpackChunkName: "About-SpinOffs" */ 'views/About/Children/SpinOffs.vue'), }, ], }, + + // 学习平台 + { + path: '/Study', + name: 'Study', + component: () => import(/* webpackChunkName: "Study-Study" */ 'views/Study/Study.vue'), + }, + + // 学习平台详情页 + { + path: '/StuDetails', + name: 'StuDetails', + component: () => import(/* webpackChunkName: "Study-StuDetails" */ 'views/Study/StuDetails.vue'), + }, + + // 创业学院 + { + path: '/Business', + name: 'Business', + component: () => import(/* webpackChunkName: "Business-Business" */ 'views/Business/Business.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'), + }, + ], + }, + + // 活动公告界面 + { + path: '/Activity', + name: 'Activity', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Activity/Activity.vue'), + }, + + // 活动公告详情界面 + { + path: '/ActDetails', + name: 'ActDetails', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Activity/ActDetails.vue'), + }, + + // 数智开发界面 + { + path: '/Develop', + name: 'Develop', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Develop/Develop.vue'), + }, ]; const router = new VueRouter({ diff --git a/src/views/About/About.vue b/src/views/About/About.vue index 23bd8e7..61335fd 100644 --- a/src/views/About/About.vue +++ b/src/views/About/About.vue @@ -1,11 +1,3 @@ - -