陈剑华

fix: 19925 3:2横划卡-后台配置2个运营位,客户端无法向右滑动查看完整横划卡

... ... @@ -120,9 +120,9 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent {
.textAlign(TextAlign.Start)
.margin({ top: 8 })
.width(this.compDTO.operDataList.length == 2 ? 210 : 150)
.lineHeight(21)
.lineHeight(19)
}
.height(this.compDTO.operDataList.length == 2 ? 180 : 148)
.height(this.compDTO.operDataList.length == 2 ? 190 : 148)
.padding({ right: 16 })
// .offset({x:16})
.onClick(() => {
... ... @@ -160,7 +160,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent {
}
}
.align(Alignment.Start)
.scrollable(this.compDTO.operDataList.length > 2 ? ScrollDirection.Horizontal : ScrollDirection.None)
.scrollable(this.compDTO.operDataList.length >= 2 ? ScrollDirection.Horizontal : ScrollDirection.None)
.scrollBar(BarState.Off)
.edgeEffect(EdgeEffect.None)
.onReachEnd(() => {
... ...