陈剑华

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

... ... @@ -35,7 +35,12 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent {
.width(14)
.height(14)
}
}.justifyContent(FlexAlign.SpaceBetween)
.visibility(this.showMore() ? Visibility.Visible : Visibility.None)
.onClick(() => {
ProcessUtils.compJumpPage(this.compDTO)
})
}
.justifyContent(FlexAlign.SpaceBetween)
.margin({ top: 8, bottom: 8 })
.width('100%')
... ... @@ -73,5 +78,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent {
})
}
showMore() {
return (!!this.compDTO.dataSourceType && this.compDTO.dataSourceType !== 'OBJECT_POS') || !(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '')
}
}
\ No newline at end of file
... ...