diff --git a/offer_frontend/src/layouts/PortalLayout.vue b/offer_frontend/src/layouts/PortalLayout.vue index d939af1..a4f9efe 100644 --- a/offer_frontend/src/layouts/PortalLayout.vue +++ b/offer_frontend/src/layouts/PortalLayout.vue @@ -112,13 +112,13 @@ a { text-decoration: none; } min-height: 100vh; display: flex; flex-direction: column; - background: #FBF5F5; + background: #FAFAFA; font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; } /* 顶部公告条 */ .top-bar { - background: #8B4545; + background: #1A1A1A; color: rgba(255,255,255,0.75); font-size: 12px; letter-spacing: 0.05em; @@ -133,19 +133,19 @@ a { text-decoration: none; } } .top-bar-left::before { content: '★'; - color: #C8973A; + color: #B8860B; margin-right: 6px; font-size: 10px; } .top-bar-right { display: flex; align-items: center; gap: 6px; } .top-link { color: rgba(255,255,255,0.65); transition: color 0.2s; } -.top-link:hover, .clickable:hover { color: #C8973A; cursor: pointer; } +.top-link:hover, .clickable:hover { color: #B8860B; cursor: pointer; } .top-divider { color: rgba(255,255,255,0.25); } /* 主导航 */ .main-header { - background: linear-gradient(180deg, #C17A7A 0%, #A85555 100%); - box-shadow: 0 4px 20px rgba(168,85,85,0.3); + background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%); + box-shadow: 0 4px 20px rgba(0,0,0,0.3); position: sticky; top: 0; z-index: 100; @@ -171,15 +171,15 @@ a { text-decoration: none; } .emblem-ring { width: 48px; height: 48px; border-radius: 50%; - border: 2px solid #C8973A; - background: linear-gradient(135deg, rgba(200,151,58,0.15), rgba(200,151,58,0.05)); + border: 2px solid #B8860B; + background: linear-gradient(135deg, rgba(184,134,11,0.15), rgba(184,134,11,0.05)); display: flex; align-items: center; justify-content: center; - box-shadow: 0 0 16px rgba(200,151,58,0.3), inset 0 0 8px rgba(200,151,58,0.1); + box-shadow: 0 0 16px rgba(184,134,11,0.3), inset 0 0 8px rgba(184,134,11,0.1); } .emblem-char { font-size: 20px; font-weight: 900; - color: #C8973A; + color: #B8860B; letter-spacing: -1px; } .logo-text-block { display: flex; flex-direction: column; } @@ -192,7 +192,7 @@ a { text-decoration: none; } } .logo-sub { font-size: 9px; - color: rgba(200,151,58,0.7); + color: rgba(184,134,11,0.7); letter-spacing: 0.2em; margin-top: 2px; } @@ -218,13 +218,13 @@ a { text-decoration: none; } position: absolute; bottom: 4px; left: 50%; right: 50%; height: 2px; - background: #C8973A; + background: #B8860B; border-radius: 1px; transition: left 0.25s ease, right 0.25s ease; } .nav-link:hover { color: #fff; } .nav-link:hover::after, .nav-link.active::after { left: 20%; right: 20%; } -.nav-link.active { color: #C8973A; font-weight: 600; } +.nav-link.active { color: #B8860B; font-weight: 600; } /* 操作区 */ .header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; } @@ -240,11 +240,11 @@ a { text-decoration: none; } transition: all 0.2s; font-family: inherit; } -.btn-ghost:hover { border-color: #C8973A; color: #C8973A; } +.btn-ghost:hover { border-color: #B8860B; color: #B8860B; } .btn-primary { padding: 7px 20px; - background: #E57373; - border: 1px solid #E57373; + background: #B8860B; + border: 1px solid #B8860B; 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: #E86C6C; border-color: #E86C6C; } +.btn-primary:hover { background: #A67C07; border-color: #A67C07; } .user-badge { display: flex; align-items: center; gap: 8px; padding: 6px 14px; @@ -264,18 +264,18 @@ a { text-decoration: none; } } .user-avatar { width: 26px; height: 26px; - background: #B5272C; + background: #B8860B; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; } .user-name { color: rgba(255,255,255,0.85); font-size: 13px; } -/* 红色底线装饰 */ -.header-underline { height: 3px; background: #8B4545; } +/* 金色底线装饰 */ +.header-underline { height: 3px; background: #1A1A1A; } .underline-fill { height: 100%; - background: linear-gradient(90deg, #E57373 0%, #EF9A9A 40%, #D4A95D 100%); + background: linear-gradient(90deg, #B8860B 0%, #D4AF37 50%, #B8860B 100%); } /* 内容区 */ @@ -289,8 +289,8 @@ a { text-decoration: none; } /* 页脚 */ .portal-footer { - background: #8B4545; - border-top: 3px solid #E57373; + background: #1A1A1A; + border-top: 3px solid #B8860B; padding: 20px 0; } .footer-inner { @@ -308,8 +308,8 @@ a { text-decoration: none; } } .f-emblem { width: 28px; height: 28px; border-radius: 50%; - border: 1px solid #C8973A; - color: #C8973A; font-weight: 900; font-size: 13px; + border: 1px solid #B8860B; + color: #B8860B; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; } .footer-copy { diff --git a/offer_frontend/src/views/portal/HomeView.vue b/offer_frontend/src/views/portal/HomeView.vue index cd23405..2bb8f1a 100644 --- a/offer_frontend/src/views/portal/HomeView.vue +++ b/offer_frontend/src/views/portal/HomeView.vue @@ -333,14 +333,14 @@ onMounted(async () => {