Showing
1 changed file
with
8 additions
and
3 deletions
| @@ -22,6 +22,7 @@ import { Card5Component } from './cardview/Card5Component'; | @@ -22,6 +22,7 @@ import { Card5Component } from './cardview/Card5Component'; | ||
| 22 | import { WDRouterPage, WDRouterRule } from 'wdRouter/Index'; | 22 | import { WDRouterPage, WDRouterRule } from 'wdRouter/Index'; |
| 23 | import { AdvCardParser } from './cardViewAdv/AdvCardParser'; | 23 | import { AdvCardParser } from './cardViewAdv/AdvCardParser'; |
| 24 | import PageModel from '../viewmodel/PageModel'; | 24 | import PageModel from '../viewmodel/PageModel'; |
| 25 | +import { LiveHorizontalCardComponent } from './view/LiveHorizontalCardComponent'; | ||
| 25 | 26 | ||
| 26 | /** | 27 | /** |
| 27 | * comp适配器. | 28 | * comp适配器. |
| @@ -36,9 +37,12 @@ export struct CompParser { | @@ -36,9 +37,12 @@ export struct CompParser { | ||
| 36 | 37 | ||
| 37 | build() { | 38 | build() { |
| 38 | Column() { | 39 | Column() { |
| 40 | + if (this.compDTO.name !="月度排行卡") { | ||
| 41 | + | ||
| 39 | this.componentBuilder(this.compDTO, this.compIndex); | 42 | this.componentBuilder(this.compDTO, this.compIndex); |
| 40 | } | 43 | } |
| 41 | } | 44 | } |
| 45 | + } | ||
| 42 | 46 | ||
| 43 | @Builder | 47 | @Builder |
| 44 | componentBuilder(compDTO: CompDTO, compIndex: number) { | 48 | componentBuilder(compDTO: CompDTO, compIndex: number) { |
| @@ -49,9 +53,10 @@ export struct CompParser { | @@ -49,9 +53,10 @@ export struct CompParser { | ||
| 49 | } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { | 53 | } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { |
| 50 | ZhCarouselLayout01({ compDTO: compDTO }) | 54 | ZhCarouselLayout01({ compDTO: compDTO }) |
| 51 | Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | 55 | Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) |
| 52 | - } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_01 && compDTO.imageScale === 2) { | ||
| 53 | - // LiveHorizontalCardComponent({ compDTO: compDTO }) | ||
| 54 | - // Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | 56 | + } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_01 && compDTO.imageScale === 2) {// && compDTO.name ==="横划卡" |
| 57 | + | ||
| 58 | + LiveHorizontalCardComponent({ compDTO: compDTO }) | ||
| 59 | + Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 }) | ||
| 55 | } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_01 && compDTO.imageScale === 3) { | 60 | } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_01 && compDTO.imageScale === 3) { |
| 56 | if (compDTO.operDataList.length > 1) { | 61 | if (compDTO.operDataList.length > 1) { |
| 57 | HorizontalStrokeCardThreeTwoRadioForMoreComponent({ compDTO: compDTO }) | 62 | HorizontalStrokeCardThreeTwoRadioForMoreComponent({ compDTO: compDTO }) |
-
Please register or login to post a comment