Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -219,7 +219,8 @@ struct createImg { | @@ -219,7 +219,8 @@ struct createImg { | ||
| 219 | }) { | 219 | }) { |
| 220 | Image(this.loadImg ? item.fullUrl : '') | 220 | Image(this.loadImg ? item.fullUrl : '') |
| 221 | .backgroundColor(0xf5f5f5) | 221 | .backgroundColor(0xf5f5f5) |
| 222 | - .width('100%') | 222 | + .width(113) |
| 223 | + .height(113) | ||
| 223 | .autoResize(true) | 224 | .autoResize(true) |
| 224 | .borderRadius(this.caclImageRadius(index)) | 225 | .borderRadius(this.caclImageRadius(index)) |
| 225 | .opacity(!item.weight && !item.height ? 0 : 1) | 226 | .opacity(!item.weight && !item.height ? 0 : 1) |
| @@ -233,6 +234,8 @@ struct createImg { | @@ -233,6 +234,8 @@ struct createImg { | ||
| 233 | Image(this.loadImg ? item.fullUrl : '') | 234 | Image(this.loadImg ? item.fullUrl : '') |
| 234 | .backgroundColor(0xf5f5f5) | 235 | .backgroundColor(0xf5f5f5) |
| 235 | .aspectRatio(1) | 236 | .aspectRatio(1) |
| 237 | + .width(113) | ||
| 238 | + .height(113) | ||
| 236 | .borderRadius(this.caclImageRadius(index)) | 239 | .borderRadius(this.caclImageRadius(index)) |
| 237 | if(this.getPicType(item.weight, item.height) !== 3){ | 240 | if(this.getPicType(item.weight, item.height) !== 3){ |
| 238 | Flex({ direction: FlexDirection.Row }) { | 241 | Flex({ direction: FlexDirection.Row }) { |
-
Please register or login to post a comment