Showing
2 changed files
with
4 additions
and
3 deletions
| @@ -48,6 +48,7 @@ export struct ENewspaperPageDialog { | @@ -48,6 +48,7 @@ export struct ENewspaperPageDialog { | ||
| 48 | .justifyContent(FlexAlign.Center) | 48 | .justifyContent(FlexAlign.Center) |
| 49 | .width(30) | 49 | .width(30) |
| 50 | .height(30) | 50 | .height(30) |
| 51 | + .borderRadius(3) | ||
| 51 | .backgroundColor(this.currentPageNum != item.pageNum ? Color.White : $r('app.color.color_ED2800')) | 52 | .backgroundColor(this.currentPageNum != item.pageNum ? Color.White : $r('app.color.color_ED2800')) |
| 52 | .onClick((event: ClickEvent) => { | 53 | .onClick((event: ClickEvent) => { |
| 53 | this.currentPageNum = item.pageNum | 54 | this.currentPageNum = item.pageNum |
| @@ -81,10 +81,10 @@ export struct DetailPlayLivePage { | @@ -81,10 +81,10 @@ export struct DetailPlayLivePage { | ||
| 81 | .width('100%') | 81 | .width('100%') |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | - aboutToDisappear(): void { | 84 | + async aboutToDisappear() { |
| 85 | Logger.info(TAG, `wyj-aboutToDisappear`) | 85 | Logger.info(TAG, `wyj-aboutToDisappear`) |
| 86 | - this.playerController?.stop() | ||
| 87 | - this.playerController?.release() | 86 | + await this.playerController?.stop() |
| 87 | + await this.playerController?.release() | ||
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | onPageShowCus(): void { | 90 | onPageShowCus(): void { |
-
Please register or login to post a comment