diff --git a/package-lock.json b/package-lock.json index 9ba0961..69665fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5197,6 +5197,14 @@ "safer-buffer": "^2.1.0" } }, + "echarts": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/echarts/-/echarts-4.9.0.tgz", + "integrity": "sha512-+ugizgtJ+KmsJyyDPxaw2Br5FqzuBnyOWwcxPKO6y0gc5caYcfnEUIlNStx02necw8jmKmTafmpHhGo4XDtEIA==", + "requires": { + "zrender": "4.3.2" + } + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npm.taobao.org/ee-first/download/ee-first-1.1.1.tgz", @@ -13754,6 +13762,11 @@ "dev": true } } + }, + "zrender": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/zrender/-/zrender-4.3.2.tgz", + "integrity": "sha512-bIusJLS8c4DkIcdiK+s13HiQ/zjQQVgpNohtd8d94Y2DnJqgM1yjh/jpDb8DoL6hd7r8Awagw8e3qK/oLaWr3g==" } } } diff --git a/package.json b/package.json index f79f8ee..f4e3dae 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "ant-design-vue": "^1.2.4", "compression-webpack-plugin": "^6.1.1", "core-js": "^3.6.5", + "echarts": "^4.9.0", "moment": "^2.29.1", "quill": "^1.3.7", "register-service-worker": "^1.7.1", diff --git a/src/common/platform.styl b/src/common/platform.styl new file mode 100644 index 0000000..25ca5f6 --- /dev/null +++ b/src/common/platform.styl @@ -0,0 +1,154 @@ +.nav-box { + height: 66px; + background: #000000; + line-height: 66px; + padding: 0 12%; + color: #fff; + font-size: 16px; + font-weight: bold; + div { + margin-right: 56px; + cursor: pointer; + } +} +.nav-box-active { + color: #13ACC4 !important; +} + +.top-box { + overflow: hidden; + background: -webkit-linear-gradient(left, #6569FA , #13ACC4); + position: relative; +} +.top-title { + position: absolute; + top: 70px; + left: 4%; + padding: 0; + font-size: 50px; + color: #fff; +} +.top-content { + float: right; + margin: 70px 0; + margin-right: 12%; + width: 60%; + padding: 0; + font-size: 16px; + color: #fff; + line-height: 36px; +} + +.circular { + height: 20px; + width: 20px; + background: #13ACC4; + border-radius: 50%; + top: 50%; + margin-top: -10px; + position: absolute; +} + +.center-box { + overflow: hidden; + background: #fff; + padding: 0 12%; + position: relative; +} +.center-title { + position: absolute; + top: 40%; + font-size: 30px; + color: #000; +} +.center-content { + float: right; + margin: 160px 0; + width: 79%; + line-height: 36px; + font-size: 16px; +} + + + +.bottom-box { + // height: 830px; + overflow: hidden; + position: relative; + padding: 0 12%; +} +.bottom-title { + position: absolute; + top: 20%; + font-size: 30px; + color: #000; +} +.bottom-content { + float: right; + margin: 100px 0; + width: 79%; +} + +.partner-box { + // height: 1060px; + overflow: hidden; + position: relative; + padding: 0 12%; + background: #fff; +} +.partner-title { + position: absolute; + top: 15%; + font-size: 30px; + color: #000; +} +.partner-content { + float: right; + margin: 100px 0; + width: 79%; +} + +.join-box { + // height: 300px; + overflow: hidden; + position: relative; + padding: 0 12%; +} +.join-title { + position: absolute; + top: 40%; + font-size: 30px; + color: #000; +} +.join-content { + float: right; + margin: 70px 0; + font-size: 16px; + width: 79%; + color: rgba(0,0,0,0.65); + line-height: 36px; +} + +.content-box { + position: relative; + padding: 0 12%; + +} +.introduce-box { + width: 942px; + overflow: hidden; + position: relative; + background: #fff; + box-shadow: 0 3px 6px rgba(0,0,0,0.16) + cursor: pointer; + padding: 30px; +} +.introduce-title { + margin-top: 24px; + font-size: 30px; + color: rgba(0,0,0,0.85); +} +.introduce-content { + font-size: 16px; + color: rgba(0,0,0,0.65); +} diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index e825bbe..3eb28eb 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -9,7 +9,7 @@ - {{ con.title }} + {{ con.title }} @@ -60,17 +60,18 @@ export default { children: [ { title: '协同创新中心', - url: '', + url: '/NewPlatform/NewCore', }, { - title: '创新服务平台', - url: '', + title: '创新资源平台', + url: '/NewPlatform/News', }, { title: '科技创新服务', - url: '', + url: '/NewPlatform/NewService', }, ], + url: '/NewPlatform/NewCore', }, { name: '孵化平台', diff --git a/src/main.js b/src/main.js index 14c3c1e..38851f0 100644 --- a/src/main.js +++ b/src/main.js @@ -7,10 +7,14 @@ import router from './router'; import store from './store'; import './plugins/ant-design-vue.js'; import 'common/portrait.styl'; +import 'common/platform.styl'; import './assets/icon/iconfont.css'; import VueDOMPurifyHTML from 'vue-dompurify-html'; import moment from 'moment'; //导入文件 +import echarts from 'echarts'; + Vue.prototype.$moment = moment; //赋值使用 +Vue.prototype.$echarts = echarts; Vue.config.productionTip = false; diff --git a/src/router/index.js b/src/router/index.js index 594ccd5..2a50a83 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -83,6 +83,47 @@ const routes = [ name: 'About', component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/About.vue'), }, + // 创新平台界面 + { + path: '/NewPlatform/NewCore', + name: 'NewPlatform', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/NewPlatform.vue'), + children: [ + { + path: '/NewPlatform/NewCore', + name: 'Core', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Core.vue'), + }, + { + path: '/NewPlatform/News', + name: 'News', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Platform.vue'), + }, + { + path: '/NewPlatform/NewService', + name: 'Service', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Service.vue'), + }, + { + // 科技资源开放共享服务平台 + path: '/NewPlatform/Share', + name: 'Share', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Share.vue'), + }, + { + // 知识产权与技术转移转化服务平台 + path: '/NewPlatform/Transfer', + name: 'Transfer', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Transfer.vue'), + }, + { + // 资源开发利用平台 + path: '/NewPlatform/Develop', + name: 'Develop', + component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Develop.vue'), + }, + ], + }, , ]; diff --git a/src/views/NewPlatform/Children/Core.vue b/src/views/NewPlatform/Children/Core.vue new file mode 100644 index 0000000..b8a1798 --- /dev/null +++ b/src/views/NewPlatform/Children/Core.vue @@ -0,0 +1,138 @@ + + + + + diff --git a/src/views/NewPlatform/Children/Develop.vue b/src/views/NewPlatform/Children/Develop.vue new file mode 100644 index 0000000..c691f9e --- /dev/null +++ b/src/views/NewPlatform/Children/Develop.vue @@ -0,0 +1,19 @@ + + + diff --git a/src/views/NewPlatform/Children/Platform.vue b/src/views/NewPlatform/Children/Platform.vue new file mode 100644 index 0000000..fff39fa --- /dev/null +++ b/src/views/NewPlatform/Children/Platform.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/src/views/NewPlatform/Children/Service.vue b/src/views/NewPlatform/Children/Service.vue new file mode 100644 index 0000000..2a54c23 --- /dev/null +++ b/src/views/NewPlatform/Children/Service.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/NewPlatform/Children/Share.vue b/src/views/NewPlatform/Children/Share.vue new file mode 100644 index 0000000..919755b --- /dev/null +++ b/src/views/NewPlatform/Children/Share.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/views/NewPlatform/Children/Transfer.vue b/src/views/NewPlatform/Children/Transfer.vue new file mode 100644 index 0000000..e1d191a --- /dev/null +++ b/src/views/NewPlatform/Children/Transfer.vue @@ -0,0 +1,19 @@ + + + diff --git a/src/views/NewPlatform/Children/components/SenNav.vue b/src/views/NewPlatform/Children/components/SenNav.vue new file mode 100644 index 0000000..9ce663c --- /dev/null +++ b/src/views/NewPlatform/Children/components/SenNav.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/views/NewPlatform/NewPlatform.vue b/src/views/NewPlatform/NewPlatform.vue new file mode 100644 index 0000000..e0399bc --- /dev/null +++ b/src/views/NewPlatform/NewPlatform.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/views/NewPlatform/components/HNav.vue b/src/views/NewPlatform/components/HNav.vue new file mode 100644 index 0000000..d488b38 --- /dev/null +++ b/src/views/NewPlatform/components/HNav.vue @@ -0,0 +1,54 @@ + + + + +