From c1b88589d3bf89ce223ecb322d2abeb299a647b1 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Sat, 6 May 2023 17:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/pages/myInfo/myInfo.wxml | 2 +- weapp/pages/myInfo/myInfo.wxss | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/weapp/pages/myInfo/myInfo.wxml b/weapp/pages/myInfo/myInfo.wxml index 5f6d81c..7df8dff 100644 --- a/weapp/pages/myInfo/myInfo.wxml +++ b/weapp/pages/myInfo/myInfo.wxml @@ -1,7 +1,7 @@ - + diff --git a/weapp/pages/myInfo/myInfo.wxss b/weapp/pages/myInfo/myInfo.wxss index 832eb6a..3bbcb05 100644 --- a/weapp/pages/myInfo/myInfo.wxss +++ b/weapp/pages/myInfo/myInfo.wxss @@ -12,13 +12,14 @@ page { } .bg { - width: 100%; - height: 160px; - position: fixed; - display: flex; - justify-content: center; - background-image: linear-gradient(180deg, #1979ff 0%, #4E87FF 100%); - border-radius: 0 0 50% 50%; + position: absolute; + left: -25%; + width: 150%; + height: 145px; + background-color: #1979ff; + border-bottom-left-radius: 100%; + border-bottom-right-radius: 100%; + background-image: linear-gradient(0deg, #4E87FF, #1979ff 100%); z-index: -1; } @@ -151,7 +152,7 @@ page { .foot-container { position: absolute; bottom: 50px; - width: 343px; + width: 90%; height: 42px; border: 1px solid #006BE3; border-radius: 24px;