From aff8d054df4a638f399dc8f15d98c19b9c9aa785 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 29 四月 2025 10:11:25 +0800 Subject: [PATCH] 扫码视频播放 --- pages/personalCenter/components/user-center-card/index.wxss | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 50 insertions(+), 10 deletions(-) diff --git a/pages/personalCenter/components/user-center-card/index.wxss b/pages/personalCenter/components/user-center-card/index.wxss index 62048d8..494ecdf 100644 --- a/pages/personalCenter/components/user-center-card/index.wxss +++ b/pages/personalCenter/components/user-center-card/index.wxss @@ -1,37 +1,61 @@ .user-center-card { - background-image: url('https://cdn-we-retail.ym.tencent.com/miniapp/template/user-center-bg-v1.png'); + /* background-image: url('https://cdn-we-retail.ym.tencent.com/miniapp/template/user-center-bg-v1.png'); */ background-size: cover; background-repeat: no-repeat; padding: 0 24rpx; } .user-center-card__header { - margin-top: 160rpx; + margin-top: 120rpx; margin-bottom: 30rpx; margin-left: 20rpx; - height: 96rpx; - line-height: 48rpx; + height: 120rpx; + /* 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: 96rpx; - height: 96rpx; - 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; margin-right: 16rpx; +} + +.userTypeBox { + margin-left: 24rpx; + font-size: 28rpx; + padding-top: 18rpx; +} + +.txt { + margin-right: 20rpx; + color: #0F1214; +} + +.edit { + + color: #ff6d00; } .user-center-card__header__transparent { @@ -45,4 +69,20 @@ .user-center-card__icon { line-height: 96rpx; +} + +.setting { + margin-left: auto; + display: flex; + padding-top: 8rpx; + /* align-items: center; */ + color: #0F1214; +} + +.setting .img { + height: 34rpx; + width: 34rpx; + margin-right: 10rpx; + margin-top: 8rpx; + } \ No newline at end of file -- Gitblit v1.9.1