王士厅

多图类型稿件详情页-已关注号主无法取消关注

@@ -221,6 +221,9 @@ export struct MultiPictureDetailPageComponent { @@ -221,6 +221,9 @@ export struct MultiPictureDetailPageComponent {
221 .backgroundColor('#333333') 221 .backgroundColor('#333333')
222 .width(54) 222 .width(54)
223 .height(24) 223 .height(24)
  224 + .onClick(() => {
  225 + this.handleAccention()
  226 + })
224 } 227 }
225 228
226 } 229 }
@@ -551,7 +554,7 @@ export struct MultiPictureDetailPageComponent { @@ -551,7 +554,7 @@ export struct MultiPictureDetailPageComponent {
551 attentionCreatorId: this.contentDetailData?.rmhInfo?.rmhId || '', // 被关注用户号主id 554 attentionCreatorId: this.contentDetailData?.rmhInfo?.rmhId || '', // 被关注用户号主id
552 // userType: 1, 555 // userType: 1,
553 // userId: '1', 556 // userId: '1',
554 - status: 1, 557 + status: this.followStatus == '1' ? 0 : 1,
555 } 558 }
556 PageRepository.postInteractAccentionOperate(params).then(res => { 559 PageRepository.postInteractAccentionOperate(params).then(res => {
557 console.log(TAG, '关注号主==', JSON.stringify(res.data)) 560 console.log(TAG, '关注号主==', JSON.stringify(res.data))