Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -32,6 +32,7 @@ let preferenceTheme: dataPreferences.Preferences | null = null | @@ -32,6 +32,7 @@ let preferenceTheme: dataPreferences.Preferences | null = null | ||
| 32 | struct LiveMorePage { | 32 | struct LiveMorePage { |
| 33 | @State data: LazyDataSource<ContentDTO> = new LazyDataSource(); | 33 | @State data: LazyDataSource<ContentDTO> = new LazyDataSource(); |
| 34 | topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number; | 34 | topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number; |
| 35 | + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 | ||
| 35 | type: number = 1; | 36 | type: number = 1; |
| 36 | pageSize: number = 20; | 37 | pageSize: number = 20; |
| 37 | operDataList: ContentDTO[] = []; | 38 | operDataList: ContentDTO[] = []; |
| @@ -100,6 +101,7 @@ struct LiveMorePage { | @@ -100,6 +101,7 @@ struct LiveMorePage { | ||
| 100 | right: $r('app.float.card_comp_pagePadding_lf'), | 101 | right: $r('app.float.card_comp_pagePadding_lf'), |
| 101 | bottom: $r('app.float.card_comp_pagePadding_tb') | 102 | bottom: $r('app.float.card_comp_pagePadding_tb') |
| 102 | }) | 103 | }) |
| 104 | + .margin({bottom:px2vp(this.bottomSafeHeight)}) | ||
| 103 | .onClick(() => { | 105 | .onClick(() => { |
| 104 | ProcessUtils.processPage(this.contentDTO) | 106 | ProcessUtils.processPage(this.contentDTO) |
| 105 | }) | 107 | }) |
-
Please register or login to post a comment