wangliang_wd

feat:优化早晚报图片展示

@@ -443,8 +443,8 @@ export struct PaperSingleColumn999CardView { @@ -443,8 +443,8 @@ export struct PaperSingleColumn999CardView {
443 Stack({ alignContent: Alignment.BottomEnd }) { 443 Stack({ alignContent: Alignment.BottomEnd }) {
444 Image(this.item?.coverUrl) 444 Image(this.item?.coverUrl)
445 .borderRadius(5) 445 .borderRadius(5)
446 - .objectFit(ImageFit.Cover)  
447 - .aspectRatio(319 / 200) ///图片设计比例 446 + .objectFit(ImageFit.Fill)
  447 + .aspectRatio(319 / 179) ///图片设计比例
448 .padding({ top: 10 }) 448 .padding({ top: 10 })
449 //视频 449 //视频
450 if (this.item?.videoInfo) { 450 if (this.item?.videoInfo) {
@@ -490,7 +490,7 @@ export struct PaperSingleColumn999CardView { @@ -490,7 +490,7 @@ export struct PaperSingleColumn999CardView {
490 // autoplay: true, 490 // autoplay: true,
491 // loop: true, 491 // loop: true,
492 // }) 492 // })
493 - 493 +
494 Text(this.buildLiveStateString()) 494 Text(this.buildLiveStateString())
495 .fontColor(Color.White) 495 .fontColor(Color.White)
496 .fontSize($r('app.float.vp_12')) 496 .fontSize($r('app.float.vp_12'))