陈剑华

feat: 17150 功能缺陷-搜索结果页-命中内容未露出展示

@@ -5,6 +5,7 @@ import { BaseDTO } from './BaseDTO'; @@ -5,6 +5,7 @@ import { BaseDTO } from './BaseDTO';
5 5
6 @Observed 6 @Observed
7 export class CompDTO implements BaseDTO { 7 export class CompDTO implements BaseDTO {
  8 + contentText?: string = '';
8 backgroundColor: string = ''; 9 backgroundColor: string = '';
9 backgroundImgUrl: string = ''; 10 backgroundImgUrl: string = '';
10 cityCode: string = ''; 11 cityCode: string = '';
@@ -64,7 +64,7 @@ export struct SearchResultContentComponent { @@ -64,7 +64,7 @@ export struct SearchResultContentComponent {
64 if (this.hasMore) { 64 if (this.hasMore) {
65 SearcherAboutDataModel.getSearchResultListData("15", `${this.curPageNum}`, this.searchType, this.keywords, 65 SearcherAboutDataModel.getSearchResultListData("15", `${this.curPageNum}`, this.searchType, this.keywords,
66 getContext(this)).then((value) => { 66 getContext(this)).then((value) => {
67 - 67 + console.log('SearcherAboutDataModel', JSON.stringify(value))
68 if (!this.data || value.list.length == 0) { 68 if (!this.data || value.list.length == 0) {
69 this.hasMore = false 69 this.hasMore = false
70 this.isLoading = false 70 this.isLoading = false
@@ -474,6 +474,7 @@ export struct SearchResultContentComponent { @@ -474,6 +474,7 @@ export struct SearchResultContentComponent {
474 contentDTO.titleShow = value.data.type == "5" ? 1 : 0; 474 contentDTO.titleShow = value.data.type == "5" ? 1 : 0;
475 contentDTO.rmhInfo = rmhInfo 475 contentDTO.rmhInfo = rmhInfo
476 contentDTO.shareFlag = value.data.shareFlag 476 contentDTO.shareFlag = value.data.shareFlag
  477 + contentDTO.contentText = value.data.contentText
477 return contentDTO; 478 return contentDTO;
478 479
479 480