Showing
2 changed files
with
1 additions
and
3 deletions
| @@ -12,7 +12,7 @@ struct LiveMorePage { | @@ -12,7 +12,7 @@ struct LiveMorePage { | ||
| 12 | 12 | ||
| 13 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number; | 13 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number; |
| 14 | 14 | ||
| 15 | - @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 | 15 | + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 |
| 16 | 16 | ||
| 17 | title: string = '直播列表' | 17 | title: string = '直播列表' |
| 18 | 18 |
| @@ -31,7 +31,6 @@ export default struct TemplatePageComponent { | @@ -31,7 +31,6 @@ export default struct TemplatePageComponent { | ||
| 31 | // 滚动 | 31 | // 滚动 |
| 32 | private templateScroller: Scroller = new Scroller() | 32 | private templateScroller: Scroller = new Scroller() |
| 33 | 33 | ||
| 34 | - @Consume bottomSafeHeight:number | ||
| 35 | //识别不同页面的业务类型 | 34 | //识别不同页面的业务类型 |
| 36 | pageDataSourceType: string = '' | 35 | pageDataSourceType: string = '' |
| 37 | 36 | ||
| @@ -109,7 +108,6 @@ export default struct TemplatePageComponent { | @@ -109,7 +108,6 @@ export default struct TemplatePageComponent { | ||
| 109 | this.requestPageData() | 108 | this.requestPageData() |
| 110 | } | 109 | } |
| 111 | }) | 110 | }) |
| 112 | - // Column().backgroundColor(Color.Blue).width('100%').height('100%').margin({bottom:px2vp(this.bottomSafeHeight)}) | ||
| 113 | } | 111 | } |
| 114 | } | 112 | } |
| 115 | 113 |
-
Please register or login to post a comment