3
0
Fork 0

feat(userData): 用户头像问题修复

This commit is contained in:
woody 2025-06-14 13:38:31 +08:00
parent 848687c076
commit 40c543b9b5
1 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,10 @@
<view class="content">
<view class="index-view tops" @click="updateImg">
<view class="user-name">{{ '头像' }}</view>
<view class="user-right rights">
<view
class="user-right rights"
style="display: flex; align-items: center"
>
<view class="avatar">
<image :src="userInfo.headPath" />
</view>
@ -344,7 +347,10 @@ page {
}
}
.avatar {
margin-top: 10rpx;
// margin-top: 10rpx;
display: flex;
align-items: center;
justify-content: center;
image {
width: 89rpx;
height: 89rpx;