Showing
1 changed file
with
5 additions
and
5 deletions
| @@ -246,14 +246,10 @@ export struct Card10ComponentTimelineItem { | @@ -246,14 +246,10 @@ export struct Card10ComponentTimelineItem { | ||
| 246 | 246 | ||
| 247 | Stack() { | 247 | Stack() { |
| 248 | Image(this.loadImg ? this.slideItem.fullColumnImgUrls[0].url : '') | 248 | Image(this.loadImg ? this.slideItem.fullColumnImgUrls[0].url : '') |
| 249 | - .backgroundColor(0xf5f5f5) | 249 | + .backgroundColor(this.loadImg ? '' : 0xf5f5f5) |
| 250 | .width(117) | 250 | .width(117) |
| 251 | .height(78) | 251 | .height(78) |
| 252 | .objectFit(ImageFit.Contain) | 252 | .objectFit(ImageFit.Contain) |
| 253 | - .borderRadius($r('app.float.image_border_radius')) | ||
| 254 | - .borderStyle(BorderStyle.Solid) | ||
| 255 | - .borderWidth(0.5) | ||
| 256 | - .borderColor($r('app.color.color_0D000000')) | ||
| 257 | CardMediaInfo({ | 253 | CardMediaInfo({ |
| 258 | contentDTO: this.createMediaInfoContent(this.slideItem) | 254 | contentDTO: this.createMediaInfoContent(this.slideItem) |
| 259 | }) | 255 | }) |
| @@ -261,6 +257,10 @@ export struct Card10ComponentTimelineItem { | @@ -261,6 +257,10 @@ export struct Card10ComponentTimelineItem { | ||
| 261 | .margin({ left: 12 }) | 257 | .margin({ left: 12 }) |
| 262 | .alignContent(Alignment.BottomEnd) | 258 | .alignContent(Alignment.BottomEnd) |
| 263 | .height(78) | 259 | .height(78) |
| 260 | + .borderRadius($r('app.float.image_border_radius')) | ||
| 261 | + .borderStyle(BorderStyle.Solid) | ||
| 262 | + .borderWidth(0.5) | ||
| 263 | + .borderColor($r('app.color.color_0D000000')) | ||
| 264 | } else { | 264 | } else { |
| 265 | Column() { | 265 | Column() { |
| 266 | Stack() { | 266 | Stack() { |
-
Please register or login to post a comment