Showing
1 changed file
with
7 additions
and
2 deletions
| @@ -78,8 +78,13 @@ export struct ZhSingleRow02 { | @@ -78,8 +78,13 @@ export struct ZhSingleRow02 { | ||
| 78 | right: $r('app.float.card_comp_pagePadding_lf'), | 78 | right: $r('app.float.card_comp_pagePadding_lf'), |
| 79 | }) | 79 | }) |
| 80 | .onClick(() => { | 80 | .onClick(() => { |
| 81 | - let params = {'index': "1"} as Record<string, string>; | ||
| 82 | - WDRouterRule.jumpWithPage(WDRouterPage.followListPage, params) | 81 | + if (this.compDTO?.objectType === '11') { |
| 82 | + ProcessUtils.jumpChannelTab(this.compDTO.objectId, this.compDTO.pageId as string) | ||
| 83 | + } else if (this.compDTO?.objectType === '5') { | ||
| 84 | + ProcessUtils._gotoSpecialTopic(this.compDTO.linkUrl) | ||
| 85 | + } else if (this.compDTO?.objectType === '6') { | ||
| 86 | + ProcessUtils._gotoDefaultWeb(this.compDTO.linkUrl) | ||
| 87 | + } | ||
| 83 | }) | 88 | }) |
| 84 | } | 89 | } |
| 85 | .justifyContent(FlexAlign.SpaceBetween) | 90 | .justifyContent(FlexAlign.SpaceBetween) |
-
Please register or login to post a comment