陈剑华

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

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