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
陈剑华
2024-06-27 10:38:56 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
39d2e5b081c02953b5a7520ab4ca234af198bfdc
39d2e5b0
2 parents
232a5974
9a0963e4
Merge remote-tracking branch 'origin/main'
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
sight_harmony/commons/wdRouter/src/main/ets/utils/ProcessUtils.ets
sight_harmony/commons/wdRouter/src/main/ets/utils/ProcessUtils.ets
View file @
39d2e5b
...
...
@@ -222,6 +222,7 @@ export class ProcessUtils {
ProcessUtils.gotoThemeListPage(content)
break;
default:
ToastUtils.shortToast('敬请期待')
break;
}
}
...
...
@@ -423,20 +424,22 @@ export class ProcessUtils {
Logger.debug(TAG, `gotoLive, ${content.objectId}`);
}
//音频详情页
public static gotoAudio(content: ContentDTO) {
let taskAction: Action = {
type: 'JUMP_DETAIL_PAGE',
params: {
detailPageType: 13,
contentID: content?.objectId,
extra: {
relType: content?.relType,
relId: content?.relId,
} as ExtraDTO,
targetLayout: content.customParamTargetLayout
} as Params,
};
WDRouterRule.jumpWithAction(taskAction)
ToastUtils.shortToast('该音频类型暂不支持')
// let taskAction: Action = {
// type: 'JUMP_DETAIL_PAGE',
// params: {
// detailPageType: 13,
// contentID: content?.objectId,
// extra: {
// relType: content?.relType,
// relId: content?.relId,
// } as ExtraDTO,
// targetLayout: content.customParamTargetLayout
// } as Params,
// };
// WDRouterRule.jumpWithAction(taskAction)
Logger.debug(TAG, `gotoAudio, ${content.objectId}`);
}
...
...
Please
register
or
login
to post a comment