Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -103,8 +103,8 @@ export struct Card6Component { | @@ -103,8 +103,8 @@ export struct Card6Component { | ||
| 103 | .width('64%') | 103 | .width('64%') |
| 104 | .height(this.contentDTO.appStyle === CompStyle.Card_13 ? '' : 156) | 104 | .height(this.contentDTO.appStyle === CompStyle.Card_13 ? '' : 156) |
| 105 | 105 | ||
| 106 | - Stack() { | ||
| 107 | - Image(this.loadImg ? this.contentDTO.coverUrl : '') | 106 | + Stack({alignContent: Alignment.BottomEnd}) { |
| 107 | + Image(this.loadImg ? this.contentDTO.coverUrl || this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '') | ||
| 108 | .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5) | 108 | .backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5) |
| 109 | .borderRadius(5) | 109 | .borderRadius(5) |
| 110 | .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4) | 110 | .aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4) |
-
Please register or login to post a comment