diff --git a/CertManager/src/main/ets/pages/picker/AuthorizedAppManagementPage.ets b/CertManager/src/main/ets/pages/picker/AuthorizedAppManagementPage.ets index d98ca7c..75549d0 100644 --- a/CertManager/src/main/ets/pages/picker/AuthorizedAppManagementPage.ets +++ b/CertManager/src/main/ets/pages/picker/AuthorizedAppManagementPage.ets @@ -110,7 +110,8 @@ export struct AuthorizedAppManagementPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.AUTHORIZED_APP_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.AUTHORIZED_APP_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CaCertPage.ets b/CertManager/src/main/ets/pages/picker/CaCertPage.ets index 1472518..685251f 100644 --- a/CertManager/src/main/ets/pages/picker/CaCertPage.ets +++ b/CertManager/src/main/ets/pages/picker/CaCertPage.ets @@ -45,7 +45,8 @@ export struct CaCertPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_CERTIFICATE_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_CERTIFICATE_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CaSystemDetailPage.ets b/CertManager/src/main/ets/pages/picker/CaSystemDetailPage.ets index 510888f..3144907 100644 --- a/CertManager/src/main/ets/pages/picker/CaSystemDetailPage.ets +++ b/CertManager/src/main/ets/pages/picker/CaSystemDetailPage.ets @@ -90,7 +90,8 @@ export struct CaSystemDetailPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_SYSTEM_DETAIL_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_SYSTEM_DETAIL_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CaUserDetailPage.ets b/CertManager/src/main/ets/pages/picker/CaUserDetailPage.ets index bc762bf..bf05c25 100644 --- a/CertManager/src/main/ets/pages/picker/CaUserDetailPage.ets +++ b/CertManager/src/main/ets/pages/picker/CaUserDetailPage.ets @@ -173,7 +173,8 @@ export struct CaUserDetailPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_USER_DETAIL_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CA_USER_DETAIL_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CredListPage.ets b/CertManager/src/main/ets/pages/picker/CredListPage.ets index 2d02baa..afb94fa 100644 --- a/CertManager/src/main/ets/pages/picker/CredListPage.ets +++ b/CertManager/src/main/ets/pages/picker/CredListPage.ets @@ -42,7 +42,8 @@ export struct CredListPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CREDENTIAL_LIST_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CREDENTIAL_LIST_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CredPwdInputPage.ets b/CertManager/src/main/ets/pages/picker/CredPwdInputPage.ets index f706d6c..e690afd 100644 --- a/CertManager/src/main/ets/pages/picker/CredPwdInputPage.ets +++ b/CertManager/src/main/ets/pages/picker/CredPwdInputPage.ets @@ -134,7 +134,8 @@ export struct CredPwdInputPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_PWD_INPUT_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_PWD_INPUT_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CredSystemDetailPage.ets b/CertManager/src/main/ets/pages/picker/CredSystemDetailPage.ets index dcbf7c4..7bacc87 100644 --- a/CertManager/src/main/ets/pages/picker/CredSystemDetailPage.ets +++ b/CertManager/src/main/ets/pages/picker/CredSystemDetailPage.ets @@ -131,7 +131,8 @@ export struct CredSystemDetailPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_SYSTEM_DETAIL_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_SYSTEM_DETAIL_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack; diff --git a/CertManager/src/main/ets/pages/picker/CredUserDetailPage.ets b/CertManager/src/main/ets/pages/picker/CredUserDetailPage.ets index 76cd715..97648a0 100644 --- a/CertManager/src/main/ets/pages/picker/CredUserDetailPage.ets +++ b/CertManager/src/main/ets/pages/picker/CredUserDetailPage.ets @@ -45,13 +45,11 @@ export struct CredUserDetailPage { @State private itemBackgroundColor: ResourceColor = ''; - @Styles - pressedStyles(): void { + @Styles pressedStyles(): void { .backgroundColor($r('sys.color.ohos_id_color_click_effect')) } - @Styles - normalStyles(): void { + @Styles normalStyles(): void { .backgroundColor(this.itemBackgroundColor) } @@ -142,7 +140,8 @@ export struct CredUserDetailPage { } .hideTitleBar(true) .width(WidthPercent.WH_100_100) - .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_USER_DETAIL_ENTRY ? WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) + .height(this.sheetParam?.lastSheetPage === NavEntryKey.CRED_USER_DETAIL_ENTRY ? + WidthPercent.WH_AUTO : this.sheetParam?.sheetMinHeight) .backgroundColor($r('sys.color.background_secondary')) .onReady((ctx: NavDestinationContext) => { this.stack = ctx.pathStack;