From e5193462610684cfe4e62c68b5441bc4e11624d6 Mon Sep 17 00:00:00 2001 From: lafay <2021211506@stu.hit.edu.cn> Date: Sun, 26 Apr 2026 19:54:10 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20update=20staff=20identity=20lab?= =?UTF-8?q?el=20to=20"=E5=AE=98=E6=96=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change staff identity display text from "职工认证" to "官方" and update corresponding colors to gold theme in UserProfileHeader and VerificationSettingsScreen. --- src/components/business/UserProfileHeader.tsx | 2 +- src/screens/profile/VerificationSettingsScreen.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/business/UserProfileHeader.tsx b/src/components/business/UserProfileHeader.tsx index 8b54cde..52e7417 100644 --- a/src/components/business/UserProfileHeader.tsx +++ b/src/components/business/UserProfileHeader.tsx @@ -586,7 +586,7 @@ const IDENTITY_CONFIG: Record< general: { label: '未认证', color: '#9CA3AF', bg: '#F3F4F6' }, student: { label: '学生认证', color: '#10B981', bg: '#D1FAE5' }, teacher: { label: '教师认证', color: '#3B82F6', bg: '#DBEAFE' }, - staff: { label: '职工认证', color: '#8B5CF6', bg: '#EDE9FE' }, + staff: { label: '官方', color: '#D4AF37', bg: '#FFF8DC' }, alumni: { label: '校友认证', color: '#F59E0B', bg: '#FEF3C7' }, external: { label: '未认证', color: '#9CA3AF', bg: '#F3F4F6' }, }; diff --git a/src/screens/profile/VerificationSettingsScreen.tsx b/src/screens/profile/VerificationSettingsScreen.tsx index 1065b5c..fe6476e 100644 --- a/src/screens/profile/VerificationSettingsScreen.tsx +++ b/src/screens/profile/VerificationSettingsScreen.tsx @@ -57,7 +57,7 @@ const IDENTITY_TEXT: Record = { general: '普通用户', student: '在校学生', teacher: '教职工', - staff: '工作人员', + staff: '官方工作人员', alumni: '校友', external: '外部人员', };