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;