From 1d1e8299169ed1f15a848dbaea41ea0c8090a365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=B3=E4=B8=9C=E6=B5=B7?= Date: Mon, 16 Jun 2025 15:54:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9D=97=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/application/MailBox.ets | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/entry/src/main/ets/application/MailBox.ets b/entry/src/main/ets/application/MailBox.ets index 3399782..2406b19 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] -- Gitee