| | |
| | | <template> |
| | | <view class="container"> |
| | | <view class="pageBg"></view> |
| | | <div class="avatarBox"> |
| | | <!-- @click="uploadAvatar" --> |
| | | <u-avatar :src="userInfo.avatar || defaultAvatar" size="114" mode="aspectFill" /> |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | } |
| | | position: relative; |
| | | } |
| | | .pageBg { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: url("@/static/images/user/userbg.svg") no-repeat ; |
| | | background-size: 100%; |
| | | } |
| | | .avatarBox { |
| | | width: 228rpx; |
| | | height: 228rpx; |
| | |
| | | } |
| | | |
| | | .detailBox { |
| | | position: absolute; |
| | | top: 360rpx; |
| | | width: 702rpx; |
| | | min-height: 430rpx; |
| | | background: #FFFFFF; |