Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -124,6 +124,7 @@ export struct TabLiveItemComponent { | @@ -124,6 +124,7 @@ export struct TabLiveItemComponent { | ||
| 124 | RelativeContainer() { | 124 | RelativeContainer() { |
| 125 | Image(this.item.transcodeImageUrl) | 125 | Image(this.item.transcodeImageUrl) |
| 126 | .width('100%') | 126 | .width('100%') |
| 127 | + .height(174) | ||
| 127 | .objectFit(ImageFit.Cover) | 128 | .objectFit(ImageFit.Cover) |
| 128 | .borderRadius(4) | 129 | .borderRadius(4) |
| 129 | .id('iv_id') | 130 | .id('iv_id') |
| @@ -159,7 +160,7 @@ export struct TabLiveItemComponent { | @@ -159,7 +160,7 @@ export struct TabLiveItemComponent { | ||
| 159 | .margin({ | 160 | .margin({ |
| 160 | top: 8, | 161 | top: 8, |
| 161 | }) | 162 | }) |
| 162 | - .aspectRatio(this.getAspectRation()) | 163 | + .height(174) |
| 163 | .onClick(() => { | 164 | .onClick(() => { |
| 164 | this.gotoVideoPlayPage() | 165 | this.gotoVideoPlayPage() |
| 165 | }) | 166 | }) |
-
Please register or login to post a comment