ref |> 修复早晚报cell上的图片边距带背景色问题
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -447,7 +447,7 @@ export struct PaperSingleColumn999CardView { | @@ -447,7 +447,7 @@ export struct PaperSingleColumn999CardView { | ||
| 447 | .borderRadius(5) | 447 | .borderRadius(5) |
| 448 | .objectFit(ImageFit.Fill) | 448 | .objectFit(ImageFit.Fill) |
| 449 | // .aspectRatio(319 / 179) ///图片设计比例 | 449 | // .aspectRatio(319 / 179) ///图片设计比例 |
| 450 | - .padding({ top: 10 }) | 450 | + .margin({ top: 10 }) |
| 451 | .backgroundColor('#f5f5f5') | 451 | .backgroundColor('#f5f5f5') |
| 452 | .width('100%') | 452 | .width('100%') |
| 453 | .height((DisplayUtils.getDeviceWidth() - 66)*(179 / 319)) | 453 | .height((DisplayUtils.getDeviceWidth() - 66)*(179 / 319)) |
-
Please register or login to post a comment