陈剑华

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

@@ -29,6 +29,7 @@ export struct ZhSingleRow06 { @@ -29,6 +29,7 @@ export struct ZhSingleRow06 {
29 @State loadImg: boolean = false; 29 @State loadImg: boolean = false;
30 30
31 async aboutToAppear(): Promise<void> { 31 async aboutToAppear(): Promise<void> {
  32 + console.log('Zh_Single_Row-06', JSON.stringify(this.compDTO.operDataList[0]?.commentInfo))
32 this.getInteractDataStatus() 33 this.getInteractDataStatus()
33 this.loadImg = await onlyWifiLoadImg(); 34 this.loadImg = await onlyWifiLoadImg();
34 } 35 }
@@ -101,13 +102,24 @@ export struct ZhSingleRow06 { @@ -101,13 +102,24 @@ export struct ZhSingleRow06 {
101 .textOverflow({overflow: TextOverflow.Ellipsis}) 102 .textOverflow({overflow: TextOverflow.Ellipsis})
102 .lineHeight(23) 103 .lineHeight(23)
103 .fontSize(16) 104 .fontSize(16)
  105 + .margin({bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 10})
  106 + .padding({bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 10})
  107 + .textAlign(TextAlign.Start)
  108 + .width('100%')
  109 + .border({width: { bottom: this.compDTO.operDataList[0]?.commentInfo?.commentPics ? 0 : 1 }})
  110 + .borderColor(0xf4f4f4)
  111 +
  112 + Text('[动画表情]')
  113 + .fontWeight(500)
  114 + .lineHeight(23)
  115 + .fontSize(16)
104 .margin({bottom: 10}) 116 .margin({bottom: 10})
105 .padding({bottom: 10}) 117 .padding({bottom: 10})
106 .textAlign(TextAlign.Start) 118 .textAlign(TextAlign.Start)
107 .width('100%') 119 .width('100%')
108 .border({width: {bottom: 1}}) 120 .border({width: {bottom: 1}})
109 .borderColor(0xf4f4f4) 121 .borderColor(0xf4f4f4)
110 - 122 + .visibility(this.compDTO.operDataList[0]?.commentInfo?.commentPics ? Visibility.Visible : Visibility.None)
111 123
112 Row() { 124 Row() {
113 Image($r('app.media.icon_clip')) 125 Image($r('app.media.icon_clip'))