| | |
| | | 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', |
| | |
| | | }); |
| | | |
| | | 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(() => { |
| | |
| | | |
| | | .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; |
| | |
| | | |
| | | .common-navigation-bar-title { |
| | | @include ellipsis; |
| | | font-weight: 600; |
| | | font-weight: 500; |
| | | line-height: 48px; |
| | | } |
| | | |
| | | &.dark { |