yangchenggong1_wd

desc:搜索结果

... ... @@ -54,61 +54,64 @@ export struct SearchResultContentComponent{
//TODO 48 个赋值
let contentDTO:ContentDTO = {
appStyle:value.data.appStyle+"",
cityCode:value.data.cityCode,
coverSize:"",
coverType:-1,
coverUrl:value.data.appStyleImages.split("&&")[0],
description:value.data.description,
districtCode:value.data.districtCode,
endTime:value.data.endTime,
hImageUrl:"",
heatValue:"",
innerUrl:"",
landscape:Number.parseInt(value.data.landscape),
appStyle: value.data.appStyle + "",
cityCode: value.data.cityCode,
coverSize: "",
coverType: -1,
coverUrl: value.data.appStyleImages.split("&&")[0],
description: value.data.description,
districtCode: value.data.districtCode,
endTime: value.data.endTime,
hImageUrl: "",
heatValue: "",
innerUrl: "",
landscape: Number.parseInt(value.data.landscape),
// lengthTime:null,
linkUrl:value.data.linkUrl,
openLikes:Number.parseInt(value.data.openLikes),
openUrl:"",
pageId:value.data.pageId,
programAuth:"",
programId:"",
programName:"",
programSource:-1,
programType:-1,
provinceCode:value.data.provinceCode,
showTitleEd:value.data.showTitleEd,
showTitleIng:value.data.showTitleIng,
showTitleNo:value.data.showTitleNo,
startTime:value.data.startTime,
subType:"",
subtitle:"",
title:value.data.title,
vImageUrl:"",
screenType:"",
source:StringUtils.isEmpty(value.data.creatorName)?value.data.sourceName:value.data.creatorName,
objectId:"",
objectType:value.data.type,
channelId:value.data.channelId,
relId:value.data.relId,
relType:value.data.relType,
newsTitle:value.data.titleLiteral,// 有颜色,目前没做
publishTime:value.data.publishTime,
visitorComment:-1,
fullColumnImgUrls:photos,
newsSummary:"",
hasMore:-1,
slideShows:[],
voiceInfo:{} as VoiceInfoDTO,
tagWord:-1,
isSelect:true,
rmhInfo:{} as RmhInfoDTO,
photoNum:-1,
liveInfo:{} as LiveInfoDTO,
videoInfo:{
videoDuration:Number.parseInt(value.data.duration)
linkUrl: value.data.linkUrl,
openLikes: Number.parseInt(value.data.openLikes),
openUrl: "",
pageId: value.data.pageId,
programAuth: "",
programId: "",
programName: "",
programSource: -1,
programType: -1,
provinceCode: value.data.provinceCode,
showTitleEd: value.data.showTitleEd,
showTitleIng: value.data.showTitleIng,
showTitleNo: value.data.showTitleNo,
startTime: value.data.startTime,
subType: "",
subtitle: "",
title: value.data.title,
vImageUrl: "",
screenType: "",
source: StringUtils.isEmpty(value.data.creatorName) ? value.data.sourceName : value.data.creatorName,
objectId: "",
objectType: value.data.type,
channelId: value.data.channelId,
relId: value.data.relId,
relType: value.data.relType,
newsTitle: value.data.titleLiteral,
publishTime: value.data.publishTime,
visitorComment: -1,
fullColumnImgUrls: photos,
newsSummary: "",
hasMore: -1,
slideShows: [],
voiceInfo: {} as VoiceInfoDTO,
tagWord: -1,
isSelect: true,
rmhInfo: {} as RmhInfoDTO,
photoNum: -1,
liveInfo: {} as LiveInfoDTO,
videoInfo: {
videoDuration: Number.parseInt(value.data.duration)
} as VideoInfoDTO,
interactData:{} as InteractDataDTO
interactData: {} as InteractDataDTO,
corner: '',
rmhPlatform: 0,
newTags: ''
}
this.data.push(contentDTO)
... ...