yuzhilin

fix:H5稿件跳转端外链接

... ... @@ -156,10 +156,8 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
relType: urlParams.get('relType') || '',
pageId: urlParams.get('pageId') || '',
objectType: '',
linkUrl: urlParams.get('url') || ''
linkUrl: encodeURI(urlParams.get('url') || '')
} as ContentDTO
if (urlParams.get('skipType') === '1') {
switch (urlParams.get('type')) {
case 'video':
content.objectType = ContentConstants.TYPE_VOD
... ... @@ -182,8 +180,14 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
ProcessUtils.processPage(content)
break;
case 'h5':
if (urlParams.get('skipType') === '1') {
content.objectType = ContentConstants.TYPE_LINK
ProcessUtils.processPage(content)
}
if (urlParams.get('skipType') === '4') {
content.objectType = ContentConstants.TYPE_LINK
ProcessUtils.jumpExternalWebPage(content.linkUrl)
}
break;
case 'topic':
if (urlParams.get('subType') === 'h5') {
... ... @@ -208,7 +212,7 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
default:
break;
}
}
}
function handleJsCallGetAppLoginAuthInfo() {
... ...