Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -58,14 +58,14 @@ export default struct MinePageUserSimpleInfoUI { | @@ -58,14 +58,14 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 58 | .alt(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon')) | 58 | .alt(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon')) |
| 59 | .width(64) | 59 | .width(64) |
| 60 | .height(64) | 60 | .height(64) |
| 61 | - .objectFit(ImageFit.Fill) | ||
| 62 | - .borderRadius(32) | 61 | + .objectFit(ImageFit.Auto) |
| 62 | + .clip(new Circle({ width: 64, height: 64 })) | ||
| 63 | 63 | ||
| 64 | if(StringUtils.isNotEmpty(this.levelHead)){ | 64 | if(StringUtils.isNotEmpty(this.levelHead)){ |
| 65 | Image(this.levelHead) | 65 | Image(this.levelHead) |
| 66 | .width(90) | 66 | .width(90) |
| 67 | .height(90) | 67 | .height(90) |
| 68 | - .objectFit(ImageFit.Cover) | 68 | + .objectFit(ImageFit.Auto) |
| 69 | // .borderRadius(50) | 69 | // .borderRadius(50) |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
-
Please register or login to post a comment