diff --git a/entry/src/main/ets/application/MailBox.ets b/entry/src/main/ets/application/MailBox.ets index 3399782f3446122dd87b2abb8ace0f4149ef719f..2406b1924026c96bd933204317f0a61d5ebd1d51 100644 --- a/entry/src/main/ets/application/MailBox.ets +++ b/entry/src/main/ets/application/MailBox.ets @@ -28,10 +28,8 @@ struct MailBox { // [Start set_show_side_bar_build] build() { - // [StartExclude set_show_side_bar_build] GridRow() { GridCol({ span: { sm: 12, md: 12, lg: 12 } }) { - // [EndExclude set_show_side_bar_build] // [Start set_show_side_bar] SideBarContainer(SideBarContainerType.AUTO) { // Area A @@ -46,13 +44,11 @@ struct MailBox { Column() { Stack() { MailNavigation() - // [StartExclude set_show_side_bar_build] // [StartExclude set_show_side_bar] if (this.isFold && this.currentBreakPoint !== 'lg') { Column().width('100%').height('100%').backgroundColor('#33000000') } // [EndExclude set_show_side_bar] - // [EndExclude set_show_side_bar_build] } } .height('100%') @@ -68,8 +64,11 @@ struct MailBox { .onChange((value: boolean) => { this.isFold = value; }) + // [EndExclude set_show_side_bar_build] } - }.onBreakpointChange((breakpoint: string) => { + } + // [StartExclude set_show_side_bar_build] + .onBreakpointChange((breakpoint: string) => { this.currentBreakPoint = breakpoint; }) // [EndExclude set_show_side_bar_build]