chenjun3_wd

过滤月度排行

@@ -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,7 +37,10 @@ export struct CompParser { @@ -36,7 +37,10 @@ export struct CompParser {
36 37
37 build() { 38 build() {
38 Column() { 39 Column() {
39 - this.componentBuilder(this.compDTO, this.compIndex); 40 + if (this.compDTO.name !="月度排行卡") {
  41 +
  42 + this.componentBuilder(this.compDTO, this.compIndex);
  43 + }
40 } 44 }
41 } 45 }
42 46
@@ -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 })