Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -54,7 +54,8 @@ export struct Card5Component { | @@ -54,7 +54,8 @@ export struct Card5Component { | ||
| 54 | bottomRight: $r('app.float.image_border_radius') | 54 | bottomRight: $r('app.float.image_border_radius') |
| 55 | } | 55 | } |
| 56 | ) | 56 | ) |
| 57 | - .aspectRatio(343 / 225) | 57 | + // .aspectRatio(343 / 225) |
| 58 | + .autoResize(true) | ||
| 58 | if (!!this.titleShowPolicy || this.titleShowPolicy === null ) { | 59 | if (!!this.titleShowPolicy || this.titleShowPolicy === null ) { |
| 59 | Row() | 60 | Row() |
| 60 | .borderRadius( | 61 | .borderRadius( |
-
Please register or login to post a comment