陈剑华

fix: 19531 【UI走查-卡片】折叠屏展开-人民号单图卡

... ... @@ -155,6 +155,7 @@ export struct RmhTitle {
.height(21)
.lineHeight(21)
.margin({bottom: 1})
Flex({alignContent: FlexAlign.Start, wrap: FlexWrap.NoWrap}) {
Row() {
if (!(this.hideTime && this.getDaysBetweenDates(Number(this.publishTime)) > 2)) {
... ... @@ -184,9 +185,9 @@ export struct RmhTitle {
}
}
.width('75%')
.height(14)
}
.width('calc(100% - 36vp - 8vp)')
}
.justifyContent(FlexAlign.SpaceBetween)
... ...
... ... @@ -78,13 +78,17 @@ export struct Card14Component {
.fontFamily('PingFang SC-Regular')
.textAlign(TextAlign.Start)
.margin({right: 12})
.width('64%')
.width('calc(100% - 117vp - 12vp)')
Image(this.loadImg ? this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '')
.backgroundColor(0xf5f5f5)
.backgroundColor(0xf5f5f5)
.aspectRatio(3 / 2)
.height(78)
.borderRadius($r('app.float.image_border_radius'))
.border({
width: 1,
color: '#0D000000'
})
.backgroundImageSize(ImageSize.Auto)
}
... ...