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
yuzhilin
2024-05-20 09:23:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75833cd8886197a2bca1a729a92a33044d5f0945
75833cd8
1 parent
f8c41437
feat:事件推调用
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/utils/InsightIntentShare.ets
sight_harmony/products/phone/src/main/ets/utils/InsightIntentExecutorImpl.ets
sight_harmony/features/wdComponent/src/main/ets/utils/InsightIntentShare.ets
View file @
75833cd
...
...
@@ -82,7 +82,7 @@ export function viewBlogInsightIntentShare(context: common.UIAbilityContext, ent
}
}
//ViewBlog意图共享-节目详情
目前单独在
详情页上报
//ViewBlog意图共享-节目详情 详情页上报
export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, item: ContentDetailDTO,
interactData?: InteractDataDTO) {
let identifier = generateUUID()
...
...
sight_harmony/products/phone/src/main/ets/utils/InsightIntentExecutorImpl.ets
View file @
75833cd
...
...
@@ -45,10 +45,10 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor {
console.log('yzl jumpToView',JSON.stringify(param))
return new Promise((resolve, reject) => {
// TODO 实现意图调用,loadContent的入参为歌曲落地页路径,例如:pages/SongPage
// TODO 热启动是否切到主页
pageLoader.loadContent('pages/MainPage')
.then(() => {
let entityGroupId: string = (param.items as Array<object>)?.[0]?.['entityGroupId'];
ProcessUtils.jumpChannelTab(entityGroupId,'')
resolve({
code: 0,
result: {
...
...
@@ -68,7 +68,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor {
}
/**
* 实现事件推荐功能
* 实现事件推荐功能
-打开早晚报
* @param param 意图参数
* @param pageLoader 窗口
*/
...
...
@@ -77,7 +77,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor {
return new Promise((resolve, reject) => {
pageLoader.loadContent('pages/MainPage')
.then(() => {
// TODO 事件推荐调用
ProcessUtils.gotoMorningEveningPaper()
resolve({
code: 0,
result: {
...
...
Please
register
or
login
to post a comment