diff --git a/app/(tabs)/profile.tsx b/app/(tabs)/profile.tsx index d07a3ec..628663b 100644 --- a/app/(tabs)/profile.tsx +++ b/app/(tabs)/profile.tsx @@ -51,7 +51,6 @@ const MENU_ICON_THEME: Record = { progress: { bg: colors.infoLight, color: colors.infoText }, game: { bg: colors.successLight, color: colors.successText }, legal: { bg: colors.primaryLight, color: colors.primaryDark }, - 'enterprise-overview': { bg: colors.primaryLight, color: colors.primary }, 'job-publish': { bg: colors.actionLight, color: colors.actionText }, 'job-evaluations': { bg: colors.successLight, color: colors.successText }, 'candidate-detail': { bg: colors.infoLight, color: colors.infoText }, @@ -61,7 +60,7 @@ const MENU_ICON_THEME: Record = { 'enterprise-chat': { bg: colors.successLight, color: colors.successText }, 'operation-rules': { bg: colors.primaryLight, color: colors.primaryText }, 'audit-report': { bg: colors.infoLight, color: colors.infoText }, - 'enterprise-certification': { bg: colors.successLight, color: colors.successText }, + 'enterprise-certification': { bg: colors.primaryLight, color: colors.primary }, }; function getMenuIconBg(id: string): string { return MENU_ICON_THEME[id]?.bg ?? colors.primaryLight; @@ -152,7 +151,7 @@ function EnterpriseEntryCard({ entry }: { entry: EnterpriseEntry }) { return ( router.push('/enterprise-overview')}> - + {entry.title} @@ -692,14 +691,14 @@ const styles = StyleSheet.create({ width: 44, height: 44, borderRadius: 12, - backgroundColor: colors.successLight, + backgroundColor: colors.primaryLight, alignItems: 'center', justifyContent: 'center', }, enterpriseText: { flex: 1, marginLeft: 12 }, enterpriseTitle: { fontSize: 15, fontWeight: '700', color: colors.textPrimary }, enterpriseDesc: { fontSize: 12, color: colors.textSecondary, marginTop: 3 }, - enterpriseAction: { fontSize: 13, fontWeight: '600', color: colors.successText }, + enterpriseAction: { fontSize: 13, fontWeight: '600', color: colors.primaryDark }, /* ---- 功能菜单 ---- */ menuCard: { backgroundColor: colors.white, diff --git a/src/api/api.ts b/src/api/api.ts index 641d62a..09f2e64 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-certification', title: '企业入驻', icon: 'business-outline', route: '/enterprise-certification' }, { 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' },