From ab7cc7102e5d485fd611ad4ddcadb0a42b956984 Mon Sep 17 00:00:00 2001
From: doublex001 <16157008+doublex001@user.noreply.gitee.com>
Date: Tue, 1 Sep 2026 14:02:16 +0800
Subject: [PATCH] =?UTF-8?q?refactor(enterprise):=20=E4=BC=81=E4=B8=9A?=
=?UTF-8?q?=E7=AB=AF=E4=B8=BB=E8=89=B2=E7=BB=9F=E4=B8=80=E4=B8=BA=20primar?=
=?UTF-8?q?y=EF=BC=8C=E6=88=91=E7=9A=84=E9=A1=B5=E6=8E=A5=E5=85=A5?=
=?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=85=A5=E5=8F=A3=EF=BC=8C=E7=BB=9F=E4=B8=80?=
=?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=AF=9D=E6=9C=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/(enterprise)/_layout.tsx | 6 +++---
app/(enterprise)/enterprise-overview.tsx | 8 ++++----
src/api/api.ts | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
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' },