Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -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)) |
-
Please register or login to post a comment