Showing
2 changed files
with
2 additions
and
37 deletions
| @@ -651,7 +651,7 @@ export class HttpUrlUtils { | @@ -651,7 +651,7 @@ export class HttpUrlUtils { | ||
| 651 | 651 | ||
| 652 | //获取点赞数 | 652 | //获取点赞数 |
| 653 | static getLikeCount() { | 653 | static getLikeCount() { |
| 654 | - let url = HttpUrlUtils.getHost() + "/api/rmrb-contact/contact/zh/c/v2/content/interactData"; | 654 | + let url = HttpUrlUtils.getHost() + HttpUrlUtils.INTERACT_V2_DATA_PATH; |
| 655 | return url; | 655 | return url; |
| 656 | } | 656 | } |
| 657 | 657 |
| @@ -365,42 +365,7 @@ export struct DynamicDetailComponent { | @@ -365,42 +365,7 @@ export struct DynamicDetailComponent { | ||
| 365 | .scrollBar(BarState.Off) | 365 | .scrollBar(BarState.Off) |
| 366 | .alignSelf(ItemAlign.Start) | 366 | .alignSelf(ItemAlign.Start) |
| 367 | //底部交互区 | 367 | //底部交互区 |
| 368 | - Row() { | ||
| 369 | - Image($r('app.media.icon_arrow_left')) | ||
| 370 | - .width(24) | ||
| 371 | - .height(24) | ||
| 372 | - .onClick((event: ClickEvent) => { | ||
| 373 | - router.back() | ||
| 374 | - }) | ||
| 375 | - | ||
| 376 | - Row() { | ||
| 377 | - Image($r('app.media.icon_comment')) | ||
| 378 | - .width(24) | ||
| 379 | - .height(24) | ||
| 380 | - .margin({ right: 24 }) | ||
| 381 | - .id('comment') | ||
| 382 | - | ||
| 383 | - Image($r('app.media.icon_star')) | ||
| 384 | - .width(24) | ||
| 385 | - .height(24) | ||
| 386 | - .margin({ right: 24 }) | ||
| 387 | - | ||
| 388 | - Image($r('app.media.icon_listen')) | ||
| 389 | - .width(24) | ||
| 390 | - .height(24) | ||
| 391 | - .margin({ right: 24 }) | ||
| 392 | - | ||
| 393 | - Image($r('app.media.icon_forward')) | ||
| 394 | - .width(24) | ||
| 395 | - .height(24) | ||
| 396 | - | ||
| 397 | - } | ||
| 398 | - } | ||
| 399 | - .width(CommonConstants.FULL_WIDTH) | ||
| 400 | - .height(56) | ||
| 401 | - .padding({ left: 15, right: 15, bottom: 50, top: 20 }) | ||
| 402 | - .justifyContent(FlexAlign.SpaceBetween) | ||
| 403 | - .backgroundColor(Color.White) | 368 | + OperRowListView({ contentDetailData: this.contentDetailData,interactData:this.interactDataDTO,newsStatusOfUser:this.newsStatusOfUser }) |
| 404 | } | 369 | } |
| 405 | } | 370 | } |
| 406 | .alignSelf(ItemAlign.Start) | 371 | .alignSelf(ItemAlign.Start) |
-
Please register or login to post a comment