陈剑华

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

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