陈剑华

数据联调

@@ -11,6 +11,7 @@ import { @@ -11,6 +11,7 @@ import {
11 } from './view/HorizontalStrokeCardThreeTwoRadioForOneComponent'; 11 } from './view/HorizontalStrokeCardThreeTwoRadioForOneComponent';
12 import { ZhSingleRow02 } from './compview/ZhSingleRow02'; 12 import { ZhSingleRow02 } from './compview/ZhSingleRow02';
13 import { ZhSingleRow04 } from './compview/ZhSingleRow04'; 13 import { ZhSingleRow04 } from './compview/ZhSingleRow04';
  14 +import { ZhSingleRow05 } from './compview/ZhSingleRow05';
14 import { ZhSingleRow06 } from './compview/ZhSingleRow06'; 15 import { ZhSingleRow06 } from './compview/ZhSingleRow06';
15 import { ZhSingleColumn04 } from './compview/ZhSingleColumn04'; 16 import { ZhSingleColumn04 } from './compview/ZhSingleColumn04';
16 import { ZhSingleColumn05 } from './compview/ZhSingleColumn05'; 17 import { ZhSingleColumn05 } from './compview/ZhSingleColumn05';
@@ -40,6 +41,7 @@ export struct CompParser { @@ -40,6 +41,7 @@ export struct CompParser {
40 41
41 @Builder 42 @Builder
42 componentBuilder(compDTO: CompDTO, compIndex: number) { 43 componentBuilder(compDTO: CompDTO, compIndex: number) {
  44 + if (compDTO.operDataList[0]?.objectType !== '3' && compDTO.operDataList[0]?.objectType !== '13') { //暂时屏蔽活动和音频详情入口
43 if (compDTO.compStyle === CompStyle.Label_03) { 45 if (compDTO.compStyle === CompStyle.Label_03) {
44 LabelComponent({ compDTO: compDTO }) 46 LabelComponent({ compDTO: compDTO })
45 } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { 47 } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) {
@@ -62,6 +64,10 @@ export struct CompParser { @@ -62,6 +64,10 @@ export struct CompParser {
62 ZhGridLayout03({ compDTO: compDTO }) 64 ZhGridLayout03({ compDTO: compDTO })
63 } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_04) { 65 } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_04) {
64 ZhSingleRow04({ compDTO: compDTO }) 66 ZhSingleRow04({ compDTO: compDTO })
  67 + } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_05) {
  68 + ZhSingleRow05({ compDTO })
  69 + } else if (compDTO.compStyle === CompStyle.Zh_Single_Row_06) {
  70 + ZhSingleRow06({ compDTO })
65 } else if (compDTO.compStyle === CompStyle.Zh_Single_Column_02) { 71 } else if (compDTO.compStyle === CompStyle.Zh_Single_Column_02) {
66 //头图卡 和comStyle 2相同, 72 //头图卡 和comStyle 2相同,
67 Card5Component({ contentDTO: compDTO.operDataList[0] }) 73 Card5Component({ contentDTO: compDTO.operDataList[0] })
@@ -69,15 +75,22 @@ export struct CompParser { @@ -69,15 +75,22 @@ export struct CompParser {
69 ZhSingleColumn04({ compDTO: compDTO }) 75 ZhSingleColumn04({ compDTO: compDTO })
70 } else if (compDTO.compStyle === CompStyle.Zh_Single_Column_05) { 76 } else if (compDTO.compStyle === CompStyle.Zh_Single_Column_05) {
71 ZhSingleColumn05({ compDTO: compDTO }) 77 ZhSingleColumn05({ compDTO: compDTO })
  78 + } else if (compDTO.compStyle === CompStyle.Zh_Single_Column_09) {
  79 + ZhSingleColumn09({ compDTO })
72 } else if (!Number.isNaN(Number(compDTO.compStyle))) { 80 } else if (!Number.isNaN(Number(compDTO.compStyle))) {
73 CardParser({ contentDTO: compDTO.operDataList[0] }); 81 CardParser({ contentDTO: compDTO.operDataList[0] });
74 } 82 }
75 else { 83 else {
76 - // todo:组件未实现 / Component Not Implemented  
77 - // Text(compDTO.compStyle)  
78 - // .width(CommonConstants.FULL_PARENT)  
79 - // .padding(10)  
80 - // .backgroundColor(Color.Brown) // 展示本页未实现的compStyle 84 + Text(compDTO.compStyle)
  85 + .width(CommonConstants.FULL_PARENT)
  86 + .padding(10)
  87 + .onClick(() => {
  88 + if (compDTO.compStyle === CompStyle.Zh_Single_Row_06) { //精选评论
  89 + WDRouterRule.jumpWithPage(WDRouterPage.QualityCommentsPage)
  90 + }
  91 + })
  92 + }
  93 + Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 })
81 } 94 }
82 } 95 }
83 } 96 }
@@ -98,7 +98,7 @@ export struct ZhSingleRow06 { @@ -98,7 +98,7 @@ export struct ZhSingleRow06 {
98 .margin({ bottom: 8 }) 98 .margin({ bottom: 8 })
99 .height(251) 99 .height(251)
100 .onClick(() => { 100 .onClick(() => {
101 - ProcessUtils.processPage(this.compDTO.operDataList[0]) 101 + WDRouterRule.jumpWithPage(WDRouterPage.QualityCommentsPage)
102 }) 102 })
103 } 103 }
104 104