wangliang_wd

feat:优化用户头像显示

... ... @@ -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)
}
}
... ...