Showing
2 changed files
with
3 additions
and
1 deletions
| @@ -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 |
-
Please register or login to post a comment