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 @@
加入流程
-{{ item.title }}
+ > + {{ item.title }} +
实体空间由
孵化场所、
@@ -73,7 +78,10 @@
>
{{ item.title }}
+
+ {{ item.title }}
+
{{ item.content }}