Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-09-25 17:22:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2521a64e6ae9c4e92bc0f3716f9bfa0495f2c9b9
2521a64e
1 parent
0bec4c7c
feat:优化用户头像显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageUserSimpleInfoUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageUserSimpleInfoUI.ets
View file @
2521a64
...
...
@@ -58,14 +58,14 @@ export default struct MinePageUserSimpleInfoUI {
.alt(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon'))
.width(64)
.height(64)
.objectFit(ImageFit.Fill)
.borderRadius(32)
.objectFit(ImageFit.Auto)
.clip(new Circle({ width: 64, height: 64 }))
if(StringUtils.isNotEmpty(this.levelHead)){
Image(this.levelHead)
.width(90)
.height(90)
.objectFit(ImageFit.
Cover
)
.objectFit(ImageFit.
Auto
)
// .borderRadius(50)
}
}
...
...
Please
register
or
login
to post a comment