张善主

fix(动态详情):底部bar调整

@@ -61,6 +61,8 @@ export struct DynamicDetailComponent { @@ -61,6 +61,8 @@ export struct DynamicDetailComponent {
61 @State isNetConnected: boolean = true 61 @State isNetConnected: boolean = true
62 @State isPageEnd: boolean = false 62 @State isPageEnd: boolean = false
63 63
  64 + @State publishCommentModel: publishCommentModel = new publishCommentModel()
  65 +
64 66
65 async aboutToAppear() { 67 async aboutToAppear() {
66 await this.getContentDetailData() 68 await this.getContentDetailData()
@@ -431,19 +433,13 @@ export struct DynamicDetailComponent { @@ -431,19 +433,13 @@ export struct DynamicDetailComponent {
431 } 433 }
432 } 434 }
433 //底部交互区 435 //底部交互区
434 - OperRowListView({ contentDetailData: this.contentDetailData  
435 - ,interactData:this.interactDataDTO  
436 - ,newsStatusOfUser:this.newsStatusOfUser  
437 - ,publishCommentModel: {  
438 - targetId: String(this.contentDetailData?.newsId || ''),  
439 - targetRelId: this.contentDetailData?.reLInfo?.relId,  
440 - targetTitle: this.contentDetailData?.newsTitle,  
441 - targetRelType: this.contentDetailData?.reLInfo?.relType,  
442 - targetRelObjectId: String(this.contentDetailData?.reLInfo?.relObjectId),  
443 - keyArticle: String(this.contentDetailData?.keyArticle),  
444 - targetType: String(this.contentDetailData?.newsType),  
445 - } as publishCommentModel  
446 - ,needLike:false}) 436 + OperRowListView({
  437 + contentDetailData: this.contentDetailData,
  438 + publishCommentModel: this.publishCommentModel,
  439 + operationButtonList: ['comment', 'collect', 'share'],
  440 + styleType: 1,
  441 + })
  442 +
447 } 443 }
448 } 444 }
449 .alignSelf(ItemAlign.Start) 445 .alignSelf(ItemAlign.Start)