Showing
1 changed file
with
10 additions
and
2 deletions
| @@ -41,13 +41,21 @@ export class ProcessUtils { | @@ -41,13 +41,21 @@ export class ProcessUtils { | ||
| 41 | break; | 41 | break; |
| 42 | case ContentConstants.TYPE_SPECIAL_TOPIC: | 42 | case ContentConstants.TYPE_SPECIAL_TOPIC: |
| 43 | // 专题详情,跳转h5 | 43 | // 专题详情,跳转h5 |
| 44 | - // ProcessUtils.gotoWeb(content); | 44 | + ProcessUtils.gotoSpecialTopic(content); |
| 45 | break; | 45 | break; |
| 46 | default: | 46 | default: |
| 47 | break; | 47 | break; |
| 48 | } | 48 | } |
| 49 | } | 49 | } |
| 50 | - | 50 | + private static gotoSpecialTopic(content: ContentDTO) { |
| 51 | + let taskAction: Action = { | ||
| 52 | + type: 'JUMP_H5_BY_WEB_VIEW', | ||
| 53 | + params: { | ||
| 54 | + url: content.linkUrl | ||
| 55 | + } as Params, | ||
| 56 | + }; | ||
| 57 | + WDRouterRule.jumpWithAction(taskAction) | ||
| 58 | + } | ||
| 51 | private static gotoWeb(content: ContentDTO) { | 59 | private static gotoWeb(content: ContentDTO) { |
| 52 | // // topicId | 60 | // // topicId |
| 53 | // content.channelId; | 61 | // content.channelId; |
-
Please register or login to post a comment