yuzhilin

fix:H5稿件跳转端外链接

@@ -156,10 +156,8 @@ function handleJsCallAppInnerLinkMethod(data: Message) { @@ -156,10 +156,8 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
156 relType: urlParams.get('relType') || '', 156 relType: urlParams.get('relType') || '',
157 pageId: urlParams.get('pageId') || '', 157 pageId: urlParams.get('pageId') || '',
158 objectType: '', 158 objectType: '',
159 - linkUrl: urlParams.get('url') || '' 159 + linkUrl: encodeURI(urlParams.get('url') || '')
160 } as ContentDTO 160 } as ContentDTO
161 - if (urlParams.get('skipType') === '1') {  
162 -  
163 switch (urlParams.get('type')) { 161 switch (urlParams.get('type')) {
164 case 'video': 162 case 'video':
165 content.objectType = ContentConstants.TYPE_VOD 163 content.objectType = ContentConstants.TYPE_VOD
@@ -182,8 +180,14 @@ function handleJsCallAppInnerLinkMethod(data: Message) { @@ -182,8 +180,14 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
182 ProcessUtils.processPage(content) 180 ProcessUtils.processPage(content)
183 break; 181 break;
184 case 'h5': 182 case 'h5':
185 - content.objectType = ContentConstants.TYPE_LINK  
186 - ProcessUtils.processPage(content) 183 + if (urlParams.get('skipType') === '1') {
  184 + content.objectType = ContentConstants.TYPE_LINK
  185 + ProcessUtils.processPage(content)
  186 + }
  187 + if (urlParams.get('skipType') === '4') {
  188 + content.objectType = ContentConstants.TYPE_LINK
  189 + ProcessUtils.jumpExternalWebPage(content.linkUrl)
  190 + }
187 break; 191 break;
188 case 'topic': 192 case 'topic':
189 if (urlParams.get('subType') === 'h5') { 193 if (urlParams.get('subType') === 'h5') {
@@ -208,7 +212,7 @@ function handleJsCallAppInnerLinkMethod(data: Message) { @@ -208,7 +212,7 @@ function handleJsCallAppInnerLinkMethod(data: Message) {
208 default: 212 default:
209 break; 213 break;
210 } 214 }
211 - } 215 +
212 } 216 }
213 217
214 function handleJsCallGetAppLoginAuthInfo() { 218 function handleJsCallGetAppLoginAuthInfo() {