Showing
2 changed files
with
61 additions
and
1 deletions
| @@ -204,7 +204,12 @@ export class ProcessUtils { | @@ -204,7 +204,12 @@ export class ProcessUtils { | ||
| 204 | ProcessUtils.gotoAudio(content) | 204 | ProcessUtils.gotoAudio(content) |
| 205 | break; | 205 | break; |
| 206 | case ContentConstants.TYPE_TELETEXT: | 206 | case ContentConstants.TYPE_TELETEXT: |
| 207 | + | ||
| 208 | + if (content?.linkUrl) { | ||
| 209 | + ProcessUtils.gotoDefaultWebPage(content?.linkUrl); | ||
| 210 | + }else { | ||
| 207 | ProcessUtils.gotoWeb(content); | 211 | ProcessUtils.gotoWeb(content); |
| 212 | + } | ||
| 208 | break; | 213 | break; |
| 209 | case ContentConstants.TYPE_Activity: | 214 | case ContentConstants.TYPE_Activity: |
| 210 | // 图文详情,跳转h5 | 215 | // 图文详情,跳转h5 |
| 1 | - | 1 | +import { AgreementBean } from '../launchPage/AgreementBean'; |
| 2 | 2 | ||
| 3 | export interface NetLayerLaunchOperatModel { | 3 | export interface NetLayerLaunchOperatModel { |
| 4 | 4 | ||
| @@ -70,6 +70,54 @@ export interface mournsInfoModel{ | @@ -70,6 +70,54 @@ export interface mournsInfoModel{ | ||
| 70 | 70 | ||
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | +export interface NetLayerLaunchOperationUrlModel{ | ||
| 74 | + | ||
| 75 | + linkUrl : string //白名单文件下载地址 | ||
| 76 | + enabled : boolean //是否开启白名单功能,YES校验白名单,NO不校验白名单 | ||
| 77 | + md5 : string //白名单文件发生变更时的md5 | ||
| 78 | + | ||
| 79 | +} | ||
| 80 | + | ||
| 81 | +export interface NetLayerUserScoreOperateTypeSwitchModel{ | ||
| 82 | + | ||
| 83 | + turnOnPushSwitch: boolean //9打开推送开关 | ||
| 84 | + uploadAvatar: boolean //8上传头像 | ||
| 85 | + openClient: boolean //7打开客户端 | ||
| 86 | + follow: boolean //6关注 | ||
| 87 | + like: boolean //5点赞 | ||
| 88 | + sharing: boolean //4分享 | ||
| 89 | + reply: boolean //3回复(积分任务同评论) | ||
| 90 | + read: boolean //1阅读 | ||
| 91 | + comment: boolean //2评论 | ||
| 92 | +} | ||
| 93 | + | ||
| 94 | +export interface NetLayerUserScoreOperateTypesSwitchModel{ | ||
| 95 | + | ||
| 96 | + operateSwitch : boolean //全局开关 | ||
| 97 | + operateTypes: NetLayerUserScoreOperateTypeSwitchModel | ||
| 98 | + | ||
| 99 | +} | ||
| 100 | + | ||
| 101 | +export interface NetLayerLaunchHitsModel{ | ||
| 102 | + | ||
| 103 | + md5 : string | ||
| 104 | + hitList: Array<string> | ||
| 105 | + | ||
| 106 | +} | ||
| 107 | + | ||
| 108 | +export interface NetLayerLaunchAgreementModel{ | ||
| 109 | + | ||
| 110 | + md5 : string | ||
| 111 | + agreementList: AgreementBean[] | ||
| 112 | + | ||
| 113 | +} | ||
| 114 | + | ||
| 115 | +export interface NetLayerLaunchAreaModel{ | ||
| 116 | + | ||
| 117 | + md5 : string | ||
| 118 | + areasUrl: string | ||
| 119 | + | ||
| 120 | +} | ||
| 73 | 121 | ||
| 74 | export default interface LaunchDataModel{ | 122 | export default interface LaunchDataModel{ |
| 75 | 123 | ||
| @@ -77,6 +125,13 @@ export default interface LaunchDataModel{ | @@ -77,6 +125,13 @@ export default interface LaunchDataModel{ | ||
| 77 | launchAdInfo : NetLayerLauncherADInfoModel[] | 125 | launchAdInfo : NetLayerLauncherADInfoModel[] |
| 78 | h5Template : NetLayerLauncherH5TemplateInfoModel[] | 126 | h5Template : NetLayerLauncherH5TemplateInfoModel[] |
| 79 | mourns: mournsInfoModel | 127 | mourns: mournsInfoModel |
| 128 | + newsTabMd5: string | ||
| 129 | + bottomNavGroupMd5:string | ||
| 130 | + pointOperate:NetLayerUserScoreOperateTypesSwitchModel | ||
| 131 | + operationUrl:NetLayerLaunchOperationUrlModel // 白名单信息 | ||
| 132 | + hits:NetLayerLaunchHitsModel //热门搜索词 | ||
| 133 | + agreements:NetLayerLaunchAgreementModel | ||
| 134 | + areas:NetLayerLaunchAreaModel | ||
| 80 | 135 | ||
| 81 | } | 136 | } |
| 82 | 137 |
-
Please register or login to post a comment