Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -18,7 +18,7 @@ export struct PlayerVideoControlComponent { | @@ -18,7 +18,7 @@ export struct PlayerVideoControlComponent { | ||
| 18 | @Consume contentDetailData: ContentDetailDTO | 18 | @Consume contentDetailData: ContentDetailDTO |
| 19 | @Consume isSmall:boolean | 19 | @Consume isSmall:boolean |
| 20 | @Consume isFullScreen: boolean | 20 | @Consume isFullScreen: boolean |
| 21 | - | 21 | + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 |
| 22 | aboutToAppear(): void { | 22 | aboutToAppear(): void { |
| 23 | if (this.playerController) { | 23 | if (this.playerController) { |
| 24 | //播放进度监听 | 24 | //播放进度监听 |
| @@ -100,7 +100,7 @@ export struct PlayerVideoControlComponent { | @@ -100,7 +100,7 @@ export struct PlayerVideoControlComponent { | ||
| 100 | left: 10, | 100 | left: 10, |
| 101 | right: 10, | 101 | right: 10, |
| 102 | top: 15, | 102 | top: 15, |
| 103 | - bottom: 15 | 103 | + bottom:`${this.bottomSafeHeight}px` |
| 104 | }) | 104 | }) |
| 105 | } | 105 | } |
| 106 | 106 |
-
Please register or login to post a comment