From 431d1d006b512e4865a5202635699d8fe5400bde Mon Sep 17 00:00:00 2001 From: lucky Date: Tue, 26 Jan 2021 23:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=97=E5=88=9B=E7=A9=BA=E9=97=B4=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/portrait.styl | 6 ++++++ .../SettledEnterprise/SettledEnterprise.vue | 11 +++++++++-- .../IncubationPlatform/Children/MakerSpace.vue | 14 +++++++++++--- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/common/portrait.styl b/src/common/portrait.styl index 57bd260..6339959 100644 --- a/src/common/portrait.styl +++ b/src/common/portrait.styl @@ -363,6 +363,12 @@ .fill-width{ width:100%; + text-align: center; + background: #fff; + + img{ + width: 85%; + } } img{ diff --git a/src/components/SettledEnterprise/SettledEnterprise.vue b/src/components/SettledEnterprise/SettledEnterprise.vue index cb07b6c..f1da8b7 100644 --- a/src/components/SettledEnterprise/SettledEnterprise.vue +++ b/src/components/SettledEnterprise/SettledEnterprise.vue @@ -36,13 +36,17 @@ export default { oMarquee: null, //播报的容器 BBLineH: null, BBScrollAmount: 1, - BBLineCount: 10, + BBLineCount: 0, rollRestTime: 500, rollTime: 10, + length: 0, }; }, + mounted() { - this.BBLineH = document.getElementsByClassName('fast-box')[0].offsetHeight * 0.166; + const length = this.lists.length / 100; + // this.BBLineH = document.getElementsByClassName('fast-box')[0].offsetHeight * length; + this.BBLineH = 76; this.scrollBox(); }, methods: { @@ -66,6 +70,9 @@ export default { */ run() { const that = this; + + that.BBLineCount = this.lists.length; + if (that.BBScrollAmount == 0) { //若单次滚动的距离为0,则开始下一次监听,不计数 window.setTimeout(function() { diff --git a/src/views/IncubationPlatform/Children/MakerSpace.vue b/src/views/IncubationPlatform/Children/MakerSpace.vue index 36eb15b..2a38a74 100644 --- a/src/views/IncubationPlatform/Children/MakerSpace.vue +++ b/src/views/IncubationPlatform/Children/MakerSpace.vue @@ -37,7 +37,9 @@

加入流程

- +
+ +
@@ -46,7 +48,10 @@

{{ item.title }}

+ > + {{ item.title }} + +

实体空间由 孵化场所、 @@ -73,7 +78,10 @@ >

-

{{ item.title }}

+

+ {{ item.title }} + +

{{ item.content }}