| | |
| | | import { storeToRefs } from 'pinia'; |
| | | import { TabBarPageRouter } from '@/constants'; |
| | | // import IconPublish from '@/assets/tabbar/icon-publish.png'; |
| | | import { useUser, useIsLogin, useMyMessageCount } from '@/hooks'; |
| | | import { useUser, useIsLogin } from '@/hooks'; |
| | | import { Message } from '@12333/utils'; |
| | | import { MatchMakingIdentityEnumTitle } from '@12333/constants'; |
| | | |
| | | type TarBarItemProps = { |
| | | text: string; |
| | |
| | | |
| | | const router = Taro.useRouter(); |
| | | |
| | | const { matchMakingIdentity } = useUser(); |
| | | |
| | | const isLogin = useIsLogin(); |
| | | |
| | | const loginTipShowed = ref(false); |
| | |
| | | } |
| | | |
| | | return () => { |
| | | const homeTitle = MatchMakingIdentityEnumTitle[matchMakingIdentity.value]; |
| | | return ( |
| | | <View |
| | | class="bottom-tab" |
| | |
| | | }} |
| | | > |
| | | <TarBarItem |
| | | text={homeTitle} |
| | | text={'homeTitle'} |
| | | icon="../assets/tabbar/icon-home.png" |
| | | activeIcon="../assets/tabbar/icon-home-active.png" |
| | | pagePath={TabBarPageRouter.Home} |