陈剑华

fix: 16746 头图卡-设置不展示标题_实际展示标题

@@ -27,7 +27,7 @@ export struct Card5Component { @@ -27,7 +27,7 @@ export struct Card5Component {
27 .width(CommonConstants.FULL_WIDTH) 27 .width(CommonConstants.FULL_WIDTH)
28 .autoResize(true) 28 .autoResize(true)
29 .borderRadius($r('app.float.image_border_radius')) 29 .borderRadius($r('app.float.image_border_radius'))
30 - if ((this.titleShowPolicy === 1 || this.contentDTO.titleShow === 1) && this.contentDTO.newsTitle) { 30 + // if ((this.titleShowPolicy === 1 || this.contentDTO.titleShow === 1) && this.contentDTO.newsTitle) {
31 Row() 31 Row()
32 .width(CommonConstants.FULL_WIDTH) 32 .width(CommonConstants.FULL_WIDTH)
33 .height(59) 33 .height(59)
@@ -54,7 +54,7 @@ export struct Card5Component { @@ -54,7 +54,7 @@ export struct Card5Component {
54 .justifyContent(FlexAlign.Start) 54 .justifyContent(FlexAlign.Start)
55 // .height(40) 55 // .height(40)
56 .margin({ left: 12, bottom: 10, right: 12 }) 56 .margin({ left: 12, bottom: 10, right: 12 })
57 - } 57 + // }
58 } 58 }
59 .alignContent(Alignment.Bottom) 59 .alignContent(Alignment.Bottom)
60 .width(CommonConstants.FULL_WIDTH) 60 .width(CommonConstants.FULL_WIDTH)