liyubing

Merge remote-tracking branch 'origin/main'

@@ -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,
@@ -172,6 +172,12 @@ struct OneKeyLoginPage { @@ -172,6 +172,12 @@ struct OneKeyLoginPage {
172 .backgroundColor("#ED2800") 172 .backgroundColor("#ED2800")
173 .onClick(() => { 173 .onClick(() => {
174 174
  175 + if (!this.agreeProtocol) {
  176 + this.toastText = "请阅读并勾选用户协议、隐私政策和华为账号用户认证协议"
  177 + this.dialogToast.open()
  178 + return
  179 + }
  180 + TrackingButton.click("oneClickLoginPageLoginButton", TrackConstants.PageName.OneClick_Login, TrackConstants.PageName.OneClick_Login)
175 this.requestLogin() 181 this.requestLogin()
176 }) 182 })
177 183
@@ -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 }