Showing
2 changed files
with
6 additions
and
6 deletions
| @@ -82,7 +82,7 @@ export function viewBlogInsightIntentShare(context: common.UIAbilityContext, ent | @@ -82,7 +82,7 @@ export function viewBlogInsightIntentShare(context: common.UIAbilityContext, ent | ||
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | -//ViewBlog意图共享-节目详情 目前单独在详情页上报 | 85 | +//ViewBlog意图共享-节目详情 详情页上报 |
| 86 | export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, item: ContentDetailDTO, | 86 | export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, item: ContentDetailDTO, |
| 87 | interactData?: InteractDataDTO) { | 87 | interactData?: InteractDataDTO) { |
| 88 | let identifier = generateUUID() | 88 | let identifier = generateUUID() |
| @@ -162,4 +162,4 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | @@ -162,4 +162,4 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | ||
| 162 | }).catch((err: BusinessError) => { | 162 | }).catch((err: BusinessError) => { |
| 163 | console.error(`yzl failed because ${err?.message}`); | 163 | console.error(`yzl failed because ${err?.message}`); |
| 164 | }); | 164 | }); |
| 165 | -} | 165 | +} |
| @@ -45,10 +45,10 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | @@ -45,10 +45,10 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | ||
| 45 | console.log('yzl jumpToView',JSON.stringify(param)) | 45 | console.log('yzl jumpToView',JSON.stringify(param)) |
| 46 | return new Promise((resolve, reject) => { | 46 | return new Promise((resolve, reject) => { |
| 47 | // TODO 实现意图调用,loadContent的入参为歌曲落地页路径,例如:pages/SongPage | 47 | // TODO 实现意图调用,loadContent的入参为歌曲落地页路径,例如:pages/SongPage |
| 48 | + // TODO 热启动是否切到主页 | ||
| 48 | pageLoader.loadContent('pages/MainPage') | 49 | pageLoader.loadContent('pages/MainPage') |
| 49 | .then(() => { | 50 | .then(() => { |
| 50 | - let entityGroupId: string = (param.items as Array<object>)?.[0]?.['entityGroupId']; | ||
| 51 | - ProcessUtils.jumpChannelTab(entityGroupId,'') | 51 | + |
| 52 | resolve({ | 52 | resolve({ |
| 53 | code: 0, | 53 | code: 0, |
| 54 | result: { | 54 | result: { |
| @@ -68,7 +68,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | @@ -68,7 +68,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | ||
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | /** | 70 | /** |
| 71 | - * 实现事件推荐功能 | 71 | + * 实现事件推荐功能-打开早晚报 |
| 72 | * @param param 意图参数 | 72 | * @param param 意图参数 |
| 73 | * @param pageLoader 窗口 | 73 | * @param pageLoader 窗口 |
| 74 | */ | 74 | */ |
| @@ -77,7 +77,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | @@ -77,7 +77,7 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | ||
| 77 | return new Promise((resolve, reject) => { | 77 | return new Promise((resolve, reject) => { |
| 78 | pageLoader.loadContent('pages/MainPage') | 78 | pageLoader.loadContent('pages/MainPage') |
| 79 | .then(() => { | 79 | .then(() => { |
| 80 | - // TODO 事件推荐调用 | 80 | + ProcessUtils.gotoMorningEveningPaper() |
| 81 | resolve({ | 81 | resolve({ |
| 82 | code: 0, | 82 | code: 0, |
| 83 | result: { | 83 | result: { |
-
Please register or login to post a comment