From 1ba3a11308cf59c513d70fbc3608961f19a02621 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 14 五月 2025 17:41:50 +0800 Subject: [PATCH] fix: ui --- apps/taro/src/components/NavigationBar/CommonNavigationBar.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/taro/src/components/NavigationBar/CommonNavigationBar.vue b/apps/taro/src/components/NavigationBar/CommonNavigationBar.vue index c2e9a93..357afa6 100644 --- a/apps/taro/src/components/NavigationBar/CommonNavigationBar.vue +++ b/apps/taro/src/components/NavigationBar/CommonNavigationBar.vue @@ -25,7 +25,7 @@ import IconArrowWhite from '@/assets/common/icon-navi-arrow-white.png'; import Taro from '@tarojs/taro'; import { goBack } from '@/utils'; -import { TabBarPageRouter } from '@/constants'; +import { TabBarPageRouterForCheck } from '@/constants'; defineOptions({ name: 'CommonNavigationBar', @@ -43,7 +43,7 @@ }); const isTabbarPage = computed(() => - Object.values(TabBarPageRouter).some((x) => x.toLowerCase() === router.path.toLowerCase()) + Object.values(TabBarPageRouterForCheck).some((x) => x.toLowerCase() === router.path.toLowerCase()) ); const barStyle = computed(() => { @@ -70,9 +70,9 @@ .common-navigation-bar-wrapper { width: 100%; - line-height: 1; - font-size: 32px; - color: boleGetCssVar('color', 'title-color'); + line-height: 48px; + font-size: 34px; + color: boleGetCssVar('text-color', 'primary'); min-width: 0; position: relative; align-items: center; @@ -81,7 +81,8 @@ .common-navigation-bar-title { @include ellipsis; - font-weight: 600; + font-weight: 500; + line-height: 48px; } &.dark { -- Gitblit v1.9.1