yangchenggong1_wd

fix |> 20557 直播预告页面,直播简介信息过多时,鸿蒙不支持上滑,导致信息展示不完整

@@ -11,6 +11,7 @@ export struct TabInfoComponent { @@ -11,6 +11,7 @@ export struct TabInfoComponent {
11 } 11 }
12 12
13 build() { 13 build() {
  14 + Scroll(){
14 Column() { 15 Column() {
15 this.showLiveTitle() 16 this.showLiveTitle()
16 this.showLiveDetails() 17 this.showLiveDetails()
@@ -20,8 +21,10 @@ export struct TabInfoComponent { @@ -20,8 +21,10 @@ export struct TabInfoComponent {
20 left: 16, 21 left: 16,
21 right: 16 22 right: 16
22 }) 23 })
23 - .height('100%')  
24 .alignItems(HorizontalAlign.Start) 24 .alignItems(HorizontalAlign.Start)
  25 + }.layoutWeight(1)
  26 + .width("100%")
  27 + .scrollBar(BarState.Off)
25 } 28 }
26 29
27 aboutToDisappear(): void { 30 aboutToDisappear(): void {