陈剑华

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

@@ -155,6 +155,7 @@ export struct RmhTitle { @@ -155,6 +155,7 @@ export struct RmhTitle {
155 .height(21) 155 .height(21)
156 .lineHeight(21) 156 .lineHeight(21)
157 .margin({bottom: 1}) 157 .margin({bottom: 1})
  158 +
158 Flex({alignContent: FlexAlign.Start, wrap: FlexWrap.NoWrap}) { 159 Flex({alignContent: FlexAlign.Start, wrap: FlexWrap.NoWrap}) {
159 Row() { 160 Row() {
160 if (!(this.hideTime && this.getDaysBetweenDates(Number(this.publishTime)) > 2)) { 161 if (!(this.hideTime && this.getDaysBetweenDates(Number(this.publishTime)) > 2)) {
@@ -184,9 +185,9 @@ export struct RmhTitle { @@ -184,9 +185,9 @@ export struct RmhTitle {
184 } 185 }
185 186
186 } 187 }
187 - .width('75%')  
188 .height(14) 188 .height(14)
189 } 189 }
  190 + .width('calc(100% - 36vp - 8vp)')
190 } 191 }
191 .justifyContent(FlexAlign.SpaceBetween) 192 .justifyContent(FlexAlign.SpaceBetween)
192 193
@@ -78,13 +78,17 @@ export struct Card14Component { @@ -78,13 +78,17 @@ export struct Card14Component {
78 .fontFamily('PingFang SC-Regular') 78 .fontFamily('PingFang SC-Regular')
79 .textAlign(TextAlign.Start) 79 .textAlign(TextAlign.Start)
80 .margin({right: 12}) 80 .margin({right: 12})
81 - .width('64%') 81 + .width('calc(100% - 117vp - 12vp)')
82 82
83 Image(this.loadImg ? this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '') 83 Image(this.loadImg ? this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '')
84 - .backgroundColor(0xf5f5f5) 84 + .backgroundColor(0xf5f5f5)
85 .aspectRatio(3 / 2) 85 .aspectRatio(3 / 2)
86 .height(78) 86 .height(78)
87 .borderRadius($r('app.float.image_border_radius')) 87 .borderRadius($r('app.float.image_border_radius'))
  88 + .border({
  89 + width: 1,
  90 + color: '#0D000000'
  91 + })
88 .backgroundImageSize(ImageSize.Auto) 92 .backgroundImageSize(ImageSize.Auto)
89 93
90 } 94 }