陈剑华

fix: 19927 3:2横划卡-后台配置1个运营位,跳转设置--不跳转,鸿蒙端不应展示更多按钮

@@ -35,7 +35,12 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { @@ -35,7 +35,12 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent {
35 .width(14) 35 .width(14)
36 .height(14) 36 .height(14)
37 } 37 }
38 - }.justifyContent(FlexAlign.SpaceBetween) 38 + .visibility(this.showMore() ? Visibility.Visible : Visibility.None)
  39 + .onClick(() => {
  40 + ProcessUtils.compJumpPage(this.compDTO)
  41 + })
  42 + }
  43 + .justifyContent(FlexAlign.SpaceBetween)
39 .margin({ top: 8, bottom: 8 }) 44 .margin({ top: 8, bottom: 8 })
40 .width('100%') 45 .width('100%')
41 46
@@ -73,5 +78,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { @@ -73,5 +78,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent {
73 }) 78 })
74 } 79 }
75 80
  81 + showMore() {
  82 + return (!!this.compDTO.dataSourceType && this.compDTO.dataSourceType !== 'OBJECT_POS') || !(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '')
  83 + }
76 84
77 } 85 }