Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -241,7 +241,7 @@ struct createImg { | @@ -241,7 +241,7 @@ struct createImg { | ||
| 241 | Image(this.loadImg ? item.url || item.fullUrl : '') | 241 | Image(this.loadImg ? item.url || item.fullUrl : '') |
| 242 | .backgroundColor(0xf5f5f5) | 242 | .backgroundColor(0xf5f5f5) |
| 243 | .width('100%') | 243 | .width('100%') |
| 244 | - .height(198) | 244 | + .aspectRatio(16 / 9) |
| 245 | .autoResize(true) | 245 | .autoResize(true) |
| 246 | .borderRadius(this.caclImageRadius(index)) | 246 | .borderRadius(this.caclImageRadius(index)) |
| 247 | .borderStyle(BorderStyle.Solid) | 247 | .borderStyle(BorderStyle.Solid) |
-
Please register or login to post a comment