Showing
1 changed file
with
2 additions
and
3 deletions
| @@ -14,10 +14,9 @@ struct ShowUserHeaderPage { | @@ -14,10 +14,9 @@ struct ShowUserHeaderPage { | ||
| 14 | Row() { | 14 | Row() { |
| 15 | Image(this.headPhotoUrl) | 15 | Image(this.headPhotoUrl) |
| 16 | .alt($r('app.media.default_head')) | 16 | .alt($r('app.media.default_head')) |
| 17 | - .width('720lpx') | ||
| 18 | - .height('720lpx') | 17 | + .width('100%') |
| 19 | .objectFit(ImageFit.Auto) | 18 | .objectFit(ImageFit.Auto) |
| 20 | - .clip(new Circle({ width: '720lpx', height: '720lpx' })) | 19 | + // .clip(new Circle({ width: '720lpx', height: '720lpx' })) |
| 21 | } | 20 | } |
| 22 | .width('100%') | 21 | .width('100%') |
| 23 | .height('100%') | 22 | .height('100%') |
-
Please register or login to post a comment