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({