Showing
1 changed file
with
5 additions
and
0 deletions
| @@ -7,6 +7,7 @@ import MinePageDatasModel from '../../model/MinePageDatasModel'; | @@ -7,6 +7,7 @@ import MinePageDatasModel from '../../model/MinePageDatasModel'; | ||
| 7 | import SearcherAboutDataModel from '../../model/SearcherAboutDataModel'; | 7 | import SearcherAboutDataModel from '../../model/SearcherAboutDataModel'; |
| 8 | import { SearchDescription } from '../../viewmodel/SearchResultContentItem'; | 8 | import { SearchDescription } from '../../viewmodel/SearchResultContentItem'; |
| 9 | import { CardParser } from '../CardParser' | 9 | import { CardParser } from '../CardParser' |
| 10 | +import { Card9Component } from './Card9Component'; | ||
| 10 | 11 | ||
| 11 | const TAG: string = 'More_Comp'; | 12 | const TAG: string = 'More_Comp'; |
| 12 | 13 | ||
| @@ -23,7 +24,11 @@ export struct MoreComponent { | @@ -23,7 +24,11 @@ export struct MoreComponent { | ||
| 23 | build() { | 24 | build() { |
| 24 | if (this.showDetail) { | 25 | if (this.showDetail) { |
| 25 | ForEach(this.contentDTO.sameContentList, (item: ContentDTO, index: number) => { | 26 | ForEach(this.contentDTO.sameContentList, (item: ContentDTO, index: number) => { |
| 27 | + if (item.appStyle !== "9") { | ||
| 26 | CardParser({compDTO:new CompDTO, contentDTO: item }) | 28 | CardParser({compDTO:new CompDTO, contentDTO: item }) |
| 29 | + } else { | ||
| 30 | + Card9Component({ compDTO: new CompDTO, contentDTO:item, pageId: "", pageName: "" }) | ||
| 31 | + } | ||
| 27 | }) | 32 | }) |
| 28 | } else { | 33 | } else { |
| 29 | Column() { | 34 | Column() { |
-
Please register or login to post a comment