yangchenggong1_wd

fix:bug[16995] 检索结果页-缺少评论数据元素

@@ -17,7 +17,7 @@ export struct FollowSecondTabsComponent{ @@ -17,7 +17,7 @@ export struct FollowSecondTabsComponent{
17 build(){ 17 build(){
18 Column(){ 18 Column(){
19 Divider().width('100%') 19 Divider().width('100%')
20 - .height('2lpx') 20 + .height('1lpx')
21 .strokeWidth('1lpx') 21 .strokeWidth('1lpx')
22 .backgroundColor($r('app.color.color_EDEDED')) 22 .backgroundColor($r('app.color.color_EDEDED'))
23 23
@@ -187,7 +187,15 @@ export struct SearchResultContentComponent{ @@ -187,7 +187,15 @@ export struct SearchResultContentComponent{
187 videoInfo: { 187 videoInfo: {
188 videoDuration: Number.parseInt(value.data.duration) 188 videoDuration: Number.parseInt(value.data.duration)
189 } as VideoInfoDTO, 189 } as VideoInfoDTO,
190 - interactData: {} as InteractDataDTO, 190 + interactData: {
  191 + collectNum:value.data.collectNum ,
  192 + commentNum:value.data.commentNum,
  193 + contentId:value.data.id,
  194 + contentType :Number.parseInt(value.data.type),
  195 + likeNum: value.data.likeNum,
  196 + readNum:Number.parseInt(value.data.readNum),
  197 + shareNum:Number.parseInt(value.data.shareNum)
  198 + } as InteractDataDTO,
191 corner: '', 199 corner: '',
192 rmhPlatform: 0, 200 rmhPlatform: 0,
193 newTags: '', 201 newTags: '',