Showing
1 changed file
with
14 additions
and
11 deletions
| @@ -11,17 +11,20 @@ export struct TabInfoComponent { | @@ -11,17 +11,20 @@ export struct TabInfoComponent { | ||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | build() { | 13 | build() { |
| 14 | - Column() { | ||
| 15 | - this.showLiveTitle() | ||
| 16 | - this.showLiveDetails() | ||
| 17 | - LiveCountdownComponent({liveDetailsBean:this.contentDetailData}) | ||
| 18 | - }.margin({ | ||
| 19 | - top: 13, | ||
| 20 | - left: 16, | ||
| 21 | - right: 16 | ||
| 22 | - }) | ||
| 23 | - .height('100%') | ||
| 24 | - .alignItems(HorizontalAlign.Start) | 14 | + Scroll(){ |
| 15 | + Column() { | ||
| 16 | + this.showLiveTitle() | ||
| 17 | + this.showLiveDetails() | ||
| 18 | + LiveCountdownComponent({liveDetailsBean:this.contentDetailData}) | ||
| 19 | + }.margin({ | ||
| 20 | + top: 13, | ||
| 21 | + left: 16, | ||
| 22 | + right: 16 | ||
| 23 | + }) | ||
| 24 | + .alignItems(HorizontalAlign.Start) | ||
| 25 | + }.layoutWeight(1) | ||
| 26 | + .width("100%") | ||
| 27 | + .scrollBar(BarState.Off) | ||
| 25 | } | 28 | } |
| 26 | 29 | ||
| 27 | aboutToDisappear(): void { | 30 | aboutToDisappear(): void { |
-
Please register or login to post a comment