Showing
1 changed file
with
4 additions
and
2 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 | } |
| @@ -279,7 +282,6 @@ export struct MultiPictureDetailPageComponent { | @@ -279,7 +282,6 @@ export struct MultiPictureDetailPageComponent { | ||
| 279 | .height('100%') | 282 | .height('100%') |
| 280 | .vertical(false) | 283 | .vertical(false) |
| 281 | .autoPlay(false) | 284 | .autoPlay(false) |
| 282 | - .cachedCount(3) | ||
| 283 | .indicator(false) | 285 | .indicator(false) |
| 284 | .displayCount(1) | 286 | .displayCount(1) |
| 285 | .loop(false) | 287 | .loop(false) |
| @@ -552,7 +554,7 @@ export struct MultiPictureDetailPageComponent { | @@ -552,7 +554,7 @@ export struct MultiPictureDetailPageComponent { | ||
| 552 | attentionCreatorId: this.contentDetailData?.rmhInfo?.rmhId || '', // 被关注用户号主id | 554 | attentionCreatorId: this.contentDetailData?.rmhInfo?.rmhId || '', // 被关注用户号主id |
| 553 | // userType: 1, | 555 | // userType: 1, |
| 554 | // userId: '1', | 556 | // userId: '1', |
| 555 | - status: 1, | 557 | + status: this.followStatus == '1' ? 0 : 1, |
| 556 | } | 558 | } |
| 557 | PageRepository.postInteractAccentionOperate(params).then(res => { | 559 | PageRepository.postInteractAccentionOperate(params).then(res => { |
| 558 | console.log(TAG, '关注号主==', JSON.stringify(res.data)) | 560 | console.log(TAG, '关注号主==', JSON.stringify(res.data)) |
-
Please register or login to post a comment