From 8c11896d28dbb9f289c6a268b9a40e49630d6d5e Mon Sep 17 00:00:00 2001 From: JackLee <809262979@qq.com> Date: Fri, 10 Apr 2026 21:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=B0=BA=E5=AF=B8=E6=9B=B4=E5=8A=A0=E5=90=88=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/CustomController/Button.ets | 4 ++-- entry/src/main/ets/pages/Index.ets | 6 +++--- entry/src/main/ets/pages/TitleLayout/TitleColumnSub.ets | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/entry/src/main/ets/pages/CustomController/Button.ets b/entry/src/main/ets/pages/CustomController/Button.ets index d8c9c167..e954a30f 100644 --- a/entry/src/main/ets/pages/CustomController/Button.ets +++ b/entry/src/main/ets/pages/CustomController/Button.ets @@ -180,14 +180,14 @@ export struct SubColumnMenu { Button(){ Row(){ Image($r('app.media.'+(this.icon!=undefined ? this.icon:(this.menus[this.curtIndex]as TitleButton).eIcon))) - .width(mwInfo.width*0.015) + .width(mwInfo.width*0.013) .scale({ centerX: '50%', centerY: '50%' }) if(this.name!=undefined){ Text(this.name) .fontSize(16) } }.width('auto') - }.constraintSize({ minWidth: mwInfo.width*0.015 }) + }.constraintSize({ minWidth: mwInfo.width*0.013 }) .backgroundColor(Color.Transparent) .bindMenu(this.BaseMenu) .type(ButtonType.Normal) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index ce0537ef..7306e80b 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -26,7 +26,7 @@ struct Index { //工具栏 Row() { TitleColumnSub() - }.height('5%') + }.height('4%') .align(Alignment.Start) //分割线 @@ -77,7 +77,7 @@ struct Index { }) //右侧边导航区 RightSideTab() - }.height('75%') + }.height('77%') //分割线 Divider().vertical(false).strokeWidth(1).lineCap(LineCapStyle.Round).width('100%').backgroundColor(Color.Grey) ///状态栏 @@ -87,7 +87,7 @@ struct Index { .align(Alignment.End) .alignItems(HorizontalAlign.Start) .justifyContent(FlexAlign.Center) - .height('5%') + .height('4%') }.width('100%') .height('100%') } diff --git a/entry/src/main/ets/pages/TitleLayout/TitleColumnSub.ets b/entry/src/main/ets/pages/TitleLayout/TitleColumnSub.ets index 3b29472a..6dfdc6b8 100644 --- a/entry/src/main/ets/pages/TitleLayout/TitleColumnSub.ets +++ b/entry/src/main/ets/pages/TitleLayout/TitleColumnSub.ets @@ -52,8 +52,8 @@ export struct TitleColumnSub { this.viewDialog=this.ViewDialog(); } this.viewDialog.open(); - }).width(mwInfo.width*0.015) - .height(mwInfo.width*0.015) + }).width(mwInfo.width*0.013) + .height(mwInfo.width*0.013) .backgroundColor(Color.Transparent) .backgroundImage($r('app.media.' + SwitchView[0].eIcon)) .backgroundImageSize({