From 0d1323fb39db5e8d3b124e61303bde1b1352b887 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 29 二月 2024 21:48:02 +0800 Subject: [PATCH] feat(daima代码合并): 和宁 --- pages/personalCenter/components/user-center-card/index.wxss | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) diff --git a/pages/personalCenter/components/user-center-card/index.wxss b/pages/personalCenter/components/user-center-card/index.wxss new file mode 100644 index 0000000..cee02f2 --- /dev/null +++ b/pages/personalCenter/components/user-center-card/index.wxss @@ -0,0 +1,60 @@ +.user-center-card { + /* 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-bottom: 30rpx; + margin-left: 20rpx; + height: 96rpx; + line-height: 48rpx; + display: flex; + justify-content: flex-start; + align-items: center; + color: #333; + position: relative; +} + +.user-center-card__header__avatar { + width: 96rpx; + height: 96rpx; + border-radius: 48rpx; + overflow: hidden; +} + +.user-center-card__header__name { + font-size: 36rpx; + line-height: 48rpx; + color: #333; + font-weight: bold; + margin-left: 24rpx; + margin-right: 16rpx; +} + +.user-center-card__header__transparent { + position: absolute; + left: 0; + top: 0; + background-color: transparent; + height: 100%; + width: 100%; +} + +.user-center-card__icon { + line-height: 96rpx; +} + +.setting { + margin-left: auto; + display: flex; + align-items: center; +} + +.setting .img { + height: 34rpx; + width: 34rpx; + margin-right: 10rpx; +} \ No newline at end of file -- Gitblit v1.9.1