feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-04 19:59:06 +08:00
parent 1fd4e084b6
commit 15192c433b
576 changed files with 18075 additions and 18912 deletions
+8 -5
View File
@@ -74,7 +74,7 @@ const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
const userRole = userState?.user?.role || 0;
const userGroup = userState?.user?.group || 'default';
const { mainNavLinks } = useNavigation(
const { mainNavLinks: configuredNavLinks } = useNavigation(
t,
docsLink,
headerNavModules,
@@ -82,9 +82,12 @@ const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
userGroup,
{ showOrgEntry, orgEntryPath },
);
const mainNavLinks = configuredNavLinks.filter(
(link) => link.itemKey !== 'keyManagement',
);
return (
<header className='text-semi-color-text-0 sticky top-0 z-50 transition-all duration-300 relative'>
<header className='text-ui-color-text-0 sticky top-0 z-50 transition-all duration-300 relative'>
{/* ===== BACKGROUND LAYERS ===== */}
{/* Main gradient background with glassmorphism */}
@@ -116,12 +119,12 @@ const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
unreadKeys={getUnreadKeys()}
/>
<div className='relative w-full px-2 sm:px-3 md:px-4'>
<div className='ui-topbar relative w-full'>
{/* 高度断点必须用 md(768) 而非 sm(640):PageLayout 的 headerBarHeight 按
MOBILE_BREAKPOINT=768 算 56/64,用 sm 会让 640~767px 区间实际 64px、
而侧栏 top、抽屉遮罩 top 全按 56px 定位,差 8px。 */}
<div className='flex items-center justify-between gap-1 md:gap-0 h-14 md:h-16'>
<div className='flex items-center min-w-0 md:min-w-[auto]'>
<div className='flex items-center justify-between gap-1 md:gap-0 h-14 md:h-[72px]'>
<div className='ui-header-brand flex items-center min-w-0 md:min-w-[auto]'>
<MobileMenuButton
isConsoleRoute={isConsoleRoute}
isMobile={isMobile}