From 394e9243855d3833c6d65a210aa7e0c8761bc4a5 Mon Sep 17 00:00:00 2001 From: binbin0314 Date: Wed, 20 Jan 2021 18:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PlatformList/PlatformList.vue | 2 +- src/views/Activity/ActDetails.vue | 20 +- .../Children/MakerSpace.vue | 49 +--- .../IncubationPlatform/Children/Services.vue | 46 ++-- src/views/Industry/Children/Serve.vue | 238 ++++++++++++++++-- src/views/NewPlatform/Children/AchDet.vue | 2 +- .../Children/ShareChild/InsDet.vue | 4 +- .../Children/ShareChild/Institute.vue | 8 +- 8 files changed, 265 insertions(+), 104 deletions(-) diff --git a/src/components/PlatformList/PlatformList.vue b/src/components/PlatformList/PlatformList.vue index 03120d9..1e5c163 100644 --- a/src/components/PlatformList/PlatformList.vue +++ b/src/components/PlatformList/PlatformList.vue @@ -189,7 +189,7 @@ export default { name: 'Institute', params: { id: item.id, - direction: item.direction, + description: item.description, name: item.name, }, }); diff --git a/src/views/Activity/ActDetails.vue b/src/views/Activity/ActDetails.vue index b98d9ca..63d1ec8 100644 --- a/src/views/Activity/ActDetails.vue +++ b/src/views/Activity/ActDetails.vue @@ -6,24 +6,16 @@
- - {{ actDetail.releaseTime }}-{{ actDetail.closeTime }} + + {{ actDetail.time }} - {{ actDetail.address }} + {{ actDetail.site }}
- + @@ -38,7 +30,9 @@ export default { return {}; }, computed: mapState('home', ['actDetail']), - created() {}, + created() { + console.log(this.actDetail); + }, methods: {}, }; diff --git a/src/views/IncubationPlatform/Children/MakerSpace.vue b/src/views/IncubationPlatform/Children/MakerSpace.vue index dfa654b..c1e5084 100644 --- a/src/views/IncubationPlatform/Children/MakerSpace.vue +++ b/src/views/IncubationPlatform/Children/MakerSpace.vue @@ -11,7 +11,7 @@
众创空间介绍
-
+
本众创空间分为线下实体众创空间与线上虚拟众创空间,重点面向功能食品、生物医药和大健康产业 领域科技型中小微企业、创客和创新创业团队开展创业孵化,培育高新技术企业,促进科技成果转化和产业集聚发展。 @@ -24,14 +24,10 @@
目前空间已引入科创咨询专业服务机构,并与多家 - 第三方专业机构 + 第三方专业机构 建立战略合作,聘请 创业导师 - 30余名,服务领域涵盖专业技术、企业管理、科创咨询、财务税务、法务咨询等,可随时为入孵企业提供针 - 对性、一对一创业辅导服务。 + 30余名,服务领域涵盖专业技术、企业管理、科创咨询、财务税务、法务咨询等,可随时为入孵企业提供针 对性、一对一创业辅导服务。
@@ -44,43 +40,18 @@
-

{{ item.title }}

+

{{ item.title }}

实体空间由 - 孵化场所、 - 公共实验室、 - 中试基地部分组成。 + 孵化场所、 + 公共实验室、 + 中试基地部分组成。

-

{{ item.content }}

+

{{ item.content }}

- +
-
+

{{ item.title }}

diff --git a/src/views/IncubationPlatform/Children/Services.vue b/src/views/IncubationPlatform/Children/Services.vue index 20f7558..c21e64c 100644 --- a/src/views/IncubationPlatform/Children/Services.vue +++ b/src/views/IncubationPlatform/Children/Services.vue @@ -26,13 +26,8 @@ :title="item.intro" />

{{ item.name }}

-

{{ item.intro }}

-

查看全部

- +

{{ item.intro }}

+

{{ showList[index] }}

@@ -90,9 +85,6 @@ - - {{ intro }} -
@@ -131,11 +123,9 @@ export default { action: upload, fileList: [], visible: false, - visible1: false, formItemLayout, formTailLayout, confirmLoading: false, - confirmLoading1: false, platform: { companyName: '', // 公司名称 manName: '', // 联系人 @@ -156,6 +146,7 @@ export default { phoneRules: [ { required: true, pattern: new RegExp(/^[1][3,4,5,6,7,8,9][0-9]{9}$/), whitespace: true, message: '请输入正确的手机号' }, ], + showList: ['查看全部', '查看全部', '查看全部', '查看全部'], typeData: { type: 0, id: '', @@ -220,13 +211,6 @@ export default { this.typeData.id = id; this.visible = true; }, - showIntro(intro) { - this.visible1 = true; - this.intro = intro; - }, - handleCancel1() { - this.visible1 = false; - }, // 取消显示 handleCancel(e) { this.visible = false; @@ -330,6 +314,25 @@ export default { fileChange(info) { this.fileList = info.fileList; }, + showDiv(index) { + var divs = document.getElementsByClassName('item-intro'); + let list = ['查看全部', '查看全部', '查看全部', '查看全部']; + for (let i = 0; i < divs.length; i++) { + if (index === i) { + if (divs[index].style.height === '90px' || divs[index].style.height === '') { + list[i] = '收起'; + divs[i].style.height = 'auto'; + } else { + divs[i].style.height = '90px'; + list[i] = '查看全部'; + } + } else { + divs[i].style.height = '90px'; + list[i] = '查看全部'; + } + } + this.showList = list; + }, }, }; @@ -356,8 +359,9 @@ export default { .item-intro { display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; + // -webkit-line-clamp: 3; + // -webkit-box-orient: vertical; + height: 90px; overflow: hidden; } diff --git a/src/views/Industry/Children/Serve.vue b/src/views/Industry/Children/Serve.vue index 0e0e84f..0f1513b 100644 --- a/src/views/Industry/Children/Serve.vue +++ b/src/views/Industry/Children/Serve.vue @@ -8,35 +8,81 @@
服务流程
- +
-
- -

{{ item.name }}

+
+ +

{{ item.name }}

{{ item.intro }}

-

了解更多→

+ >了解更多→

-->
+ + + + + + + + + + + + +
+ + + 获取验证码 + +
+
+ +
+ + 重新发送 {{ interval }} + + 获取验证码 + +
+
+ + + + + + 点击上传附件 + + +
+