Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -245,9 +245,9 @@ struct createImg { | @@ -245,9 +245,9 @@ struct createImg { | ||
| 245 | // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) | 245 | // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) |
| 246 | .width('100%') | 246 | .width('100%') |
| 247 | .autoResize(true) | 247 | .autoResize(true) |
| 248 | - .objectFit(ImageFit.Cover) | 248 | + // .objectFit(ImageFit.Cover) |
| 249 | .autoResize(true) | 249 | .autoResize(true) |
| 250 | - .aspectRatio(3/4) | 250 | + // .aspectRatio(3/4) |
| 251 | .borderRadius(this.caclImageRadius(index)) | 251 | .borderRadius(this.caclImageRadius(index)) |
| 252 | .opacity(!item.weight && !item.height ? 0 : 1) | 252 | .opacity(!item.weight && !item.height ? 0 : 1) |
| 253 | .onComplete((event?) => { | 253 | .onComplete((event?) => { |
-
Please register or login to post a comment