| | |
| | | click: (url: string, index: number) => typeof url === 'string', |
| | | }; |
| | | |
| | | const whitePageList = [RouterPath.home, RouterPath.mine]; |
| | | const whitePageList = [RouterPath.home, RouterPath.service, RouterPath.mine]; |
| | | |
| | | export default { |
| | | name: 'CustomTabBar', |
| | |
| | | }} |
| | | > |
| | | <TarBarItem |
| | | text={'找工作'} |
| | | text={'首页'} |
| | | icon="../assets/tabbar/icon-home.png" |
| | | activeIcon="../assets/tabbar/icon-home-active.png" |
| | | pagePath={TabBarPageRouter.Home} |
| | |
| | | ></TarBarItem> |
| | | |
| | | <TarBarItem |
| | | text="任务" |
| | | text="服务" |
| | | icon="../assets/tabbar/icon-task.png" |
| | | activeIcon="../assets/tabbar/icon-task-active.png" |
| | | pagePath={TabBarPageRouter.Task} |
| | | pagePath={TabBarPageRouter.Service} |
| | | currentPath={_router.path} |
| | | active={system.activeTab === 1} |
| | | className="task" |