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 @@