From e30aaa06338475b9f964041b36973de303abff91 Mon Sep 17 00:00:00 2001 From: rose <1942951600@qq.com> Date: Wed, 12 May 2021 23:31:29 +0800 Subject: [PATCH] 2 --- src/common/platform.styl | 12 +++++------- src/views/Challenge/Children/Solicitation.vue | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/common/platform.styl b/src/common/platform.styl index efe73ea..e83dde1 100644 --- a/src/common/platform.styl +++ b/src/common/platform.styl @@ -48,20 +48,18 @@ width: 20px; background: #13ACC4; border-radius: 50%; - top: 50%; - margin-top: -10px; - position: absolute; + margin: auto 0 } .center-box { - overflow: hidden; + background: #fff; padding: 0 9%; - position: relative; + } .center-title { - position: absolute; - top: 40%; + + top: 10%; font-size: 30px; color: #000; } diff --git a/src/views/Challenge/Children/Solicitation.vue b/src/views/Challenge/Children/Solicitation.vue index 9d389bf..0ca0950 100644 --- a/src/views/Challenge/Children/Solicitation.vue +++ b/src/views/Challenge/Children/Solicitation.vue @@ -9,7 +9,7 @@
针对企业具体技术创新需求,通过“揭榜+比拼”方式,面向社会公开征集解决方案的服务。
-
+
目的及意义
@@ -92,7 +92,7 @@ export default { } .center-txt { - float: right; + margin: 22px 0; width: 79%; line-height: 36px; @@ -100,6 +100,6 @@ export default { } .center-title { - top: 30% !important; + // top: 30% !important; }