陈剑华

fix: 18537 精选评论卡-评论有动态表情时不该不展示

... ... @@ -29,6 +29,7 @@ export struct ZhSingleRow06 {
@State loadImg: boolean = false;
async aboutToAppear(): Promise<void> {
console.log('Zh_Single_Row-06', JSON.stringify(this.compDTO.operDataList[0]?.commentInfo))
this.getInteractDataStatus()
this.loadImg = await onlyWifiLoadImg();
}
... ... @@ -101,13 +102,24 @@ export struct ZhSingleRow06 {
.textOverflow({overflow: TextOverflow.Ellipsis})
.lineHeight(23)
.fontSize(16)
.margin({bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 10})
.padding({bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 10})
.textAlign(TextAlign.Start)
.width('100%')
.border({width: { bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 1 }})
.borderColor(0xf4f4f4)
Text('[动画表情]')
.fontWeight(500)
.lineHeight(23)
.fontSize(16)
.margin({bottom: 10})
.padding({bottom: 10})
.textAlign(TextAlign.Start)
.width('100%')
.border({width: {bottom: 1}})
.borderColor(0xf4f4f4)
.visibility(this.compDTO.operDataList[0]?.commentInfo?.commentPics ? Visibility.Visible : Visibility.None)
Row() {
Image($r('app.media.icon_clip'))
... ...