From 5e3d521096e7ab8491c5d706b492fc72d1a7a299 Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Wed, 25 Mar 2026 14:46:57 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=B4=E6=96=B0=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E6=95=B4=E4=BD=93=E6=A0=B7=E5=BC=8F=E4=B8=BA=E6=B5=85=E7=BA=A2?= =?UTF-8?q?=E8=89=B2=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将PortalLayout.vue和HomeView.vue的配色方案从深蓝央企风格更新为浅红色主题: - 顶部条/页脚:#8B4545 (深玫瑰棕) - 主导航渐变:#C17A7A -> #A85555 (柔和玫瑰色) - 页面背景:#FBF5F5 (极浅粉) - 主要按钮/图标:#E57373 (浅红色) - 次要强调:#EF9A9A (更浅粉红) - 辅助色:#D4A95D (暖金色) Co-Authored-By: Claude Haiku 4.5 --- offer_frontend/src/layouts/PortalLayout.vue | 24 ++++----- offer_frontend/src/views/portal/HomeView.vue | 54 ++++++++++---------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/offer_frontend/src/layouts/PortalLayout.vue b/offer_frontend/src/layouts/PortalLayout.vue index f3d6394..d939af1 100644 --- a/offer_frontend/src/layouts/PortalLayout.vue +++ b/offer_frontend/src/layouts/PortalLayout.vue @@ -112,14 +112,14 @@ a { text-decoration: none; } min-height: 100vh; display: flex; flex-direction: column; - background: #F0EDE8; + background: #FBF5F5; font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; } /* 顶部公告条 */ .top-bar { - background: #0E1E3D; - color: rgba(255,255,255,0.65); + background: #8B4545; + color: rgba(255,255,255,0.75); font-size: 12px; letter-spacing: 0.05em; } @@ -144,8 +144,8 @@ a { text-decoration: none; } /* 主导航 */ .main-header { - background: linear-gradient(180deg, #12264F 0%, #0E1E3D 100%); - box-shadow: 0 4px 20px rgba(14,30,61,0.4); + background: linear-gradient(180deg, #C17A7A 0%, #A85555 100%); + box-shadow: 0 4px 20px rgba(168,85,85,0.3); position: sticky; top: 0; z-index: 100; @@ -243,8 +243,8 @@ a { text-decoration: none; } .btn-ghost:hover { border-color: #C8973A; color: #C8973A; } .btn-primary { padding: 7px 20px; - background: #B5272C; - border: 1px solid #B5272C; + background: #E57373; + border: 1px solid #E57373; color: #fff; border-radius: 3px; font-size: 13px; @@ -254,7 +254,7 @@ a { text-decoration: none; } font-weight: 600; font-family: inherit; } -.btn-primary:hover { background: #9A2024; border-color: #9A2024; } +.btn-primary:hover { background: #E86C6C; border-color: #E86C6C; } .user-badge { display: flex; align-items: center; gap: 8px; padding: 6px 14px; @@ -272,10 +272,10 @@ a { text-decoration: none; } .user-name { color: rgba(255,255,255,0.85); font-size: 13px; } /* 红色底线装饰 */ -.header-underline { height: 3px; background: #0E1E3D; } +.header-underline { height: 3px; background: #8B4545; } .underline-fill { height: 100%; - background: linear-gradient(90deg, #B5272C 0%, #E63329 40%, #C8973A 100%); + background: linear-gradient(90deg, #E57373 0%, #EF9A9A 40%, #D4A95D 100%); } /* 内容区 */ @@ -289,8 +289,8 @@ a { text-decoration: none; } /* 页脚 */ .portal-footer { - background: #0E1E3D; - border-top: 3px solid #B5272C; + background: #8B4545; + border-top: 3px solid #E57373; padding: 20px 0; } .footer-inner { diff --git a/offer_frontend/src/views/portal/HomeView.vue b/offer_frontend/src/views/portal/HomeView.vue index b68dabf..cd23405 100644 --- a/offer_frontend/src/views/portal/HomeView.vue +++ b/offer_frontend/src/views/portal/HomeView.vue @@ -186,7 +186,7 @@
工作地点
- + {{ selectedJob.location }}
@@ -210,7 +210,7 @@
- + {{ selectedJob.organization.email }}