diff --git a/src/pages/my/my.vue b/src/pages/my/my.vue index 154fbe2..fcd1f69 100644 --- a/src/pages/my/my.vue +++ b/src/pages/my/my.vue @@ -2,6 +2,7 @@ + {{userInfo.nickName}} @@ -34,11 +35,13 @@ page { background-color: #f9f9f9; } .user { + position: relative; height: 330rpx; display: flex; flex-direction: column; justify-content: center; align-items: center; + overflow: hidden; .user_btn { background-color: #07c160; color: #fff; @@ -56,6 +59,17 @@ page { .user_nickName { font-size: 32rpx; margin-top: 20rpx; + color: #fff; } } + +.user_avatar_bg { + width: 120%; + height: 120%; + position: absolute; + left: -10%; + top: -10%; + z-index: -1; + filter: blur(30px) grayscale(20%); +} \ No newline at end of file