Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-04-16 12:11:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
918d61d26733f7f3f2a59652b092a2eb63f07c23
918d61d2
1 parent
808b082e
desc:搜索结果
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
53 deletions
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
View file @
918d61d
...
...
@@ -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)
...
...
Please
register
or
login
to post a comment