diff --git a/app/(enterprise)/_layout.tsx b/app/(enterprise)/_layout.tsx index d0896ec..2373dda 100644 --- a/app/(enterprise)/_layout.tsx +++ b/app/(enterprise)/_layout.tsx @@ -11,7 +11,7 @@ export const unstable_settings = { initialRouteName: 'job-management', }; -/** 企业端用 success(绿) 区分求职端 primary(蓝);未选中 -outline,选中填充实心 */ +/** 企业端底部 Tab 与求职端共用品牌主色 primary;未选中 -outline,选中填充实心 */ const ICON_MAP = { 'enterprise-overview': { outline: 'person-outline', filled: 'person' }, 'job-management': { outline: 'folder-outline', filled: 'folder' }, @@ -80,7 +80,7 @@ function TabItem({ - + @@ -203,6 +203,6 @@ const styles = StyleSheet.create({ }, tabLabelActive: { fontWeight: '600', - color: colors.success, + color: colors.primary, }, }); diff --git a/app/(enterprise)/enterprise-overview.tsx b/app/(enterprise)/enterprise-overview.tsx index 3b007b1..fba607e 100644 --- a/app/(enterprise)/enterprise-overview.tsx +++ b/app/(enterprise)/enterprise-overview.tsx @@ -24,15 +24,15 @@ const COLOR_TOKENS: Record = { /* ===================== 子组件:顶部导航 ===================== */ -function Header({ onBack }: { onBack: () => void }) { +function Header({ onBack, onSettings }: { onBack: () => void; onSettings: () => void }) { return ( 我的 - - + + ); @@ -188,7 +188,7 @@ export default function EnterpriseOverviewScreen() { -
router.back()} /> +
router.back()} onSettings={() => router.push('/settings')} /> diff --git a/src/api/api.ts b/src/api/api.ts index 21130ed..641d62a 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -626,7 +626,7 @@ const MOCK_MENU_ITEMS: MenuItem[] = [ { id: 'progress', title: '求职进度', icon: 'list-outline', route: '/progress' }, { id: 'game', title: '通关小游戏', icon: 'trophy-outline', route: '/game' }, { id: 'legal', title: '阿布阿诺法律服务', icon: 'shield-checkmark-outline', route: '/legal' }, - { id: 'enterprise-overview', title: '企业数据总览', icon: 'business-outline', route: '/enterprise-overview' }, + { id: 'enterprise-overview', title: '企业主页', icon: 'business-outline', route: '/enterprise-overview' }, { id: 'job-publish', title: '发布岗位', icon: 'add-circle-outline', route: '/job-publish' }, { id: 'job-evaluations', title: '岗位评价管理', icon: 'chatbubbles-outline', route: '/job-evaluations' }, { id: 'candidate-detail', title: '候选人详情', icon: 'person-outline', route: '/candidate-detail' },