From f00c1cca98455a036548672d28e7e8ad13729a21 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期四, 11 四月 2024 21:57:27 +0800 Subject: [PATCH] 问题修改 --- pages/personalCenter/components/user-center-card/index.wxss | 37 ++++++++++++++++++++++++++----------- 1 files changed, 26 insertions(+), 11 deletions(-) diff --git a/pages/personalCenter/components/user-center-card/index.wxss b/pages/personalCenter/components/user-center-card/index.wxss index d618c8b..2d2c798 100644 --- a/pages/personalCenter/components/user-center-card/index.wxss +++ b/pages/personalCenter/components/user-center-card/index.wxss @@ -6,28 +6,36 @@ } .user-center-card__header { - margin-top: 160rpx; + margin-top: 120rpx; margin-bottom: 30rpx; margin-left: 20rpx; height: 120rpx; - line-height: 48rpx; + /* line-height: 48rpx; */ display: flex; justify-content: flex-start; - align-items: center; + /* align-items: center; */ color: #333; position: relative; } .user-center-card__header__avatar { - width: 120rpx; - height: 120rpx; - border-radius: 48rpx; + width: 120rpx !important; + height: 120rpx !important; + border-radius: 50%; overflow: hidden; } +.user-center-card__header__avatar .img { + width: 100%; + height: 100%; + border-radius: 50%; +} + + + .user-center-card__header__name { - font-size: 36rpx; - line-height: 48rpx; + font-size: 38rpx; + line-height: 56rpx; color: #333; font-weight: bold; margin-left: 24rpx; @@ -37,11 +45,15 @@ .userTypeBox { margin-left: 24rpx; font-size: 28rpx; - padding-top: 15rpx; + padding-top: 18rpx; +} + +.txt { + margin-right: 20rpx; } .edit { - margin-left: 20rpx; + color: #ff6d00; } @@ -61,11 +73,14 @@ .setting { margin-left: auto; display: flex; - align-items: center; + padding-top: 8rpx; + /* align-items: center; */ } .setting .img { height: 34rpx; width: 34rpx; margin-right: 10rpx; + margin-top: 8rpx; + } \ No newline at end of file -- Gitblit v1.9.1