Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -221,7 +221,9 @@ struct createImg { | @@ -221,7 +221,9 @@ struct createImg { | ||
| 221 | }) { | 221 | }) { |
| 222 | Image(this.loadImg ? item.fullUrl : '') | 222 | Image(this.loadImg ? item.fullUrl : '') |
| 223 | .backgroundColor(0xf5f5f5) | 223 | .backgroundColor(0xf5f5f5) |
| 224 | - .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) | 224 | + // .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305) |
| 225 | + .width('100%') | ||
| 226 | + .autoResize(true) | ||
| 225 | .autoResize(true) | 227 | .autoResize(true) |
| 226 | .borderRadius(this.caclImageRadius(index)) | 228 | .borderRadius(this.caclImageRadius(index)) |
| 227 | .opacity(!item.weight && !item.height ? 0 : 1) | 229 | .opacity(!item.weight && !item.height ? 0 : 1) |
-
Please register or login to post a comment