Showing
2 changed files
with
5 additions
and
2 deletions
| @@ -96,7 +96,7 @@ export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, | @@ -96,7 +96,7 @@ export function viewBlogItemInsightIntentShare(context: common.UIAbilityContext, | ||
| 96 | }, | 96 | }, |
| 97 | intentEntityInfo: { | 97 | intentEntityInfo: { |
| 98 | entityName: 'Blog', | 98 | entityName: 'Blog', |
| 99 | - entityId: String(item?.newsId) || '', | 99 | + entityId: `objectId=${item?.newsId}&objectType=${item?.newsType}` || '', |
| 100 | displayName: item?.newsTitle || '', | 100 | displayName: item?.newsTitle || '', |
| 101 | entityGroupId: String(item?.reLInfo?.channelId), //channelId | 101 | entityGroupId: String(item?.reLInfo?.channelId), //channelId |
| 102 | logoURL: item.fullColumnImgUrls.length > 0 ? item.fullColumnImgUrls[0]?.url : item.firstFrameImageUri || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', | 102 | logoURL: item.fullColumnImgUrls.length > 0 ? item.fullColumnImgUrls[0]?.url : item.firstFrameImageUri || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', |
| @@ -145,7 +145,7 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | @@ -145,7 +145,7 @@ export function viewColumInsightIntentShare(context: common.UIAbilityContext, en | ||
| 145 | entityId, | 145 | entityId, |
| 146 | displayName: pageInfoBean?.topicInfo?.title, | 146 | displayName: pageInfoBean?.topicInfo?.title, |
| 147 | description: pageInfoBean?.shareSummary, | 147 | description: pageInfoBean?.shareSummary, |
| 148 | - logoURL: pageInfoBean?.shareCoverUrl, | 148 | + logoURL: pageInfoBean?.shareCoverUrl || 'https://cdnjdphoto.aikan.pdnews.cn/WapApi/800/launcher_icon.png', |
| 149 | activityType: ['RecentViews'], | 149 | activityType: ['RecentViews'], |
| 150 | columnTitle: pageInfoBean?.topicInfo?.title, | 150 | columnTitle: pageInfoBean?.topicInfo?.title, |
| 151 | columnSubTitle: pageInfoBean?.shareSummary, | 151 | columnSubTitle: pageInfoBean?.shareSummary, |
| @@ -12,6 +12,7 @@ import DailyPaperTopicModel from 'wdComponent/src/main/ets/model/DailyPaperTopic | @@ -12,6 +12,7 @@ import DailyPaperTopicModel from 'wdComponent/src/main/ets/model/DailyPaperTopic | ||
| 12 | */ | 12 | */ |
| 13 | export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | 13 | export default class InsightIntentExecutorImpl extends InsightIntentExecutor { |
| 14 | private static readonly ViewBlog = 'ViewBlog'; | 14 | private static readonly ViewBlog = 'ViewBlog'; |
| 15 | + private static readonly ViewColumn = 'ViewColumn'; | ||
| 15 | private static readonly ViewColumnUpdate = 'ViewColumnUpdate'; | 16 | private static readonly ViewColumnUpdate = 'ViewColumnUpdate'; |
| 16 | 17 | ||
| 17 | /** | 18 | /** |
| @@ -31,6 +32,8 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | @@ -31,6 +32,8 @@ export default class InsightIntentExecutorImpl extends InsightIntentExecutor { | ||
| 31 | return this.jumpToViewBlog(param, pageLoader); | 32 | return this.jumpToViewBlog(param, pageLoader); |
| 32 | case InsightIntentExecutorImpl.ViewColumnUpdate: | 33 | case InsightIntentExecutorImpl.ViewColumnUpdate: |
| 33 | return this.jumpToViewColumnUpdate(param, pageLoader); | 34 | return this.jumpToViewColumnUpdate(param, pageLoader); |
| 35 | + case InsightIntentExecutorImpl.ViewColumn: | ||
| 36 | + return this.jumpToViewColumnUpdate(param, pageLoader); | ||
| 34 | default: | 37 | default: |
| 35 | break; | 38 | break; |
| 36 | } | 39 | } |
-
Please register or login to post a comment