Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
liyubing
2024-06-20 11:12:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
51218a3ab54f953a04b7f682edad5e38e70a7f88
51218a3a
1 parent
931512e1
feat:1)公共跳转地方添加频道跳转功能
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
sight_harmony/commons/wdConstant/src/main/ets/constants/ContentConstants.ets
sight_harmony/commons/wdRouter/src/main/ets/utils/ProcessUtils.ets
sight_harmony/commons/wdConstant/src/main/ets/constants/ContentConstants.ets
View file @
51218a3
...
...
@@ -38,6 +38,10 @@ export class ContentConstants {
*/
static readonly TYPE_NINE: string = "9";
/**
* 11:频道跳转
*/
static readonly TYPE_CHANNEL: string = "11";
/**
* 13:音频详情
*/
static readonly TYPE_AUDIO: string = "13";
...
...
sight_harmony/commons/wdRouter/src/main/ets/utils/ProcessUtils.ets
View file @
51218a3
...
...
@@ -134,6 +134,10 @@ export class ProcessUtils {
// 专题详情,跳转h5
ProcessUtils.gotoSpecialTopic(content);
break;
case ContentConstants.TYPE_CHANNEL:
// 频道跳转
HomeChannelUtils.jumpChannelTab(content.objectId, content.pageId, content.newsTitle)
break;
//动态详情页(动态图文)
case ContentConstants.TYPE_FOURTEEN:
ProcessUtils.gotoDynamicDetailPage(content);
...
...
Please
register
or
login
to post a comment