yuzhilin

屏蔽音频详情和活动入口

@@ -31,14 +31,14 @@ export struct CompParser { @@ -31,14 +31,14 @@ export struct CompParser {
31 compIndex: number = 0; 31 compIndex: number = 0;
32 32
33 build() { 33 build() {
34 - Column(){ 34 + Column() {
35 this.componentBuilder(this.compDTO, this.compIndex); 35 this.componentBuilder(this.compDTO, this.compIndex);
36 - Divider().strokeWidth(1).color('#f5f5f5').padding({left:16,right:16})  
37 } 36 }
38 } 37 }
39 38
40 @Builder 39 @Builder
41 componentBuilder(compDTO: CompDTO, compIndex: number) { 40 componentBuilder(compDTO: CompDTO, compIndex: number) {
  41 + if (compDTO.objectType !== '3' && compDTO.objectType !== '13') { //暂时屏蔽活动和音频详情入口
42 if (compDTO.compStyle === CompStyle.Label_03) { 42 if (compDTO.compStyle === CompStyle.Label_03) {
43 LabelComponent({ compDTO: compDTO }) 43 LabelComponent({ compDTO: compDTO })
44 } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) { 44 } else if (compDTO.compStyle === CompStyle.Zh_Carousel_Layout_01) {
@@ -76,15 +76,13 @@ export struct CompParser { @@ -76,15 +76,13 @@ export struct CompParser {
76 Text(compDTO.compStyle) 76 Text(compDTO.compStyle)
77 .width(CommonConstants.FULL_PARENT) 77 .width(CommonConstants.FULL_PARENT)
78 .padding(10) 78 .padding(10)
79 - .onClick(()=>{  
80 - if (compDTO.compStyle === CompStyle.Zh_Single_Row_06) {//精选评论 79 + .onClick(() => {
  80 + if (compDTO.compStyle === CompStyle.Zh_Single_Row_06) { //精选评论
81 WDRouterRule.jumpWithPage(WDRouterPage.QualityCommentsPage) 81 WDRouterRule.jumpWithPage(WDRouterPage.QualityCommentsPage)
82 } 82 }
83 }) 83 })
84 - // Text(compDTO.compStyle)  
85 - // .width(CommonConstants.FULL_PARENT)  
86 - // .padding(10)  
87 - // .backgroundColor(Color.Brown) // 展示本页未实现的compStyle 84 + }
  85 + Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 })
88 } 86 }
89 } 87 }
90 } 88 }