Showing
1 changed file
with
10 additions
and
1 deletions
| 1 | +import { WindowModel } from 'wdKit/Index'; | ||
| 1 | import { QualityCommentsComponent } from '../comment/view/QualityCommentsComponent'; | 2 | import { QualityCommentsComponent } from '../comment/view/QualityCommentsComponent'; |
| 2 | 3 | ||
| 3 | @Entry | 4 | @Entry |
| 4 | @Component | 5 | @Component |
| 5 | struct QualityCommentsPage { | 6 | struct QualityCommentsPage { |
| 7 | + onPageShow(): void { | ||
| 8 | + WindowModel.shared.setWindowLayoutFullScreen(true) | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + onPageHide(): void { | ||
| 12 | + WindowModel.shared.setWindowLayoutFullScreen(false) | ||
| 13 | + } | ||
| 14 | + | ||
| 6 | build() { | 15 | build() { |
| 7 | - Column(){ | 16 | + Column() { |
| 8 | QualityCommentsComponent(); | 17 | QualityCommentsComponent(); |
| 9 | } | 18 | } |
| 10 | 19 |
-
Please register or login to post a comment