feat(player): 全站 UI 主题重构与布局优化 — 从暗金奢华风格迁移至 Pinnacle 风格蓝白专业主题

一、全局主题重构(52 文件)
  - 设计体系从深色/金色奢华调性全面迁移至 Pinnacle 风格的清爽专业调性
  - 主色:深海蓝 #003D6B,辅色:橙色 #F8971F / #E8870A(赔率强调色)
  - 背景从纯黑/深灰改为白色/浅灰 (#F5F7FA, #E8EDF2)
  - 更新 CSS 变量设计令牌体系:--primary, --border, --text-muted, --bg-body, --bg-hover, --radius-sm 等
  - styles.css 全量重写,所有组件 scoped CSS 同步适配

二、紧凑布局优化
  - 首页:BannerCarousel 轮播高度缩减 (clamp 148→120px),MatchBetCard 内边距/间距/字号全面收紧
  - 首页:赛事卡片 padding 14px→10px,队旗尺寸 72×48→56×38,VS 区域缩小
  - 个人中心:钱包横幅宽高比 2/1→1.75/1,设置单元格 min-height 48→42px
  - 钱包页:交易行 padding/字号收紧,金额字号 15→14px
  - MainLayout:顶栏高度 50→48px,底部导航间距微调

三、对比度与可读性增强
  - 赛事详情/投注页背景从透明加深至 #E8EDF2
  - 所有卡片边框从 #E5E7EB 加深至 #CBD5E1,阴影强度提升
  - 盘口选择面板背景 #F5F7FA→#EDF0F4,增加 border-top 分隔线
  - 赔率颜色从 #F8971F 加深至 #E8870A,选中态 border-width 加粗至 2px
  - 标签字号增大并加粗 (font-weight: 600),颜色从 #6B7280 加深至 #4B5563

四、首页快捷入口 & 个人中心网格布局
  - 首页新增 4 宫格快捷入口(投注/充值/账单/活动),彩色图标区分功能
  - 个人中心重构为「4 宫格快捷操作 + 列表」结构:钱包/充值/返水/记录
  - 移除原个人中心金色入口列表项,精简设置列表为修改资料/投注规则/语言

五、顶部导航栏重设计
  - Logo 从 img 标签替换为内联 SVG 纯文字:THE(灰) + BET(深蓝) + 365(橙)
  - 客服按钮改为纯图标圆形按钮 (32×32px),增加竖线分隔符
  - Chip 高度 34→32px,间距 8→6px
  - 底部导航激活态指示条加粗至 2.5px,左右缩进从 22% 调至 18%

六、SVG Favicon
  - 新增纯路径 SVG favicon(无 <text> 元素,确保浏览器 favicon 沙箱兼容)
  - 深蓝圆角方块 + 白色 "B" 字母路径 + 橙色圆点 + 白色 "365" 数字路径
  - index.html 更新 favicon 引用为 /favicon.svg

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
2026-06-16 12:24:41 +08:00
parent 06d85953ba
commit 4a93fcfce0
52 changed files with 1605 additions and 1519 deletions

View File

@@ -106,7 +106,11 @@ watch(
<template>
<div class="layout">
<header v-if="showHeader" class="header">
<img src="/logo.png" alt="TheBet365" class="logo" />
<svg class="logo" viewBox="0 0 130 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-label="TheBet365">
<text x="0" y="18" font-family="'Inter','SF Pro Display',system-ui,sans-serif" font-size="11" font-weight="800" fill="#6B7280" letter-spacing="0.14em">THE</text>
<text x="32" y="18" font-family="'Inter','SF Pro Display',system-ui,sans-serif" font-size="18" font-weight="900" fill="#003D6B" letter-spacing="0.01em">BET</text>
<text x="74" y="18" font-family="'Inter','SF Pro Display',system-ui,sans-serif" font-size="18" font-weight="900" fill="#F8971F" letter-spacing="0.01em">365</text>
</svg>
<div class="header-actions">
<button
type="button"
@@ -126,8 +130,8 @@ watch(
<circle cx="12" cy="11" r="1" fill="currentColor" />
<circle cx="15" cy="11" r="1" fill="currentColor" />
</svg>
<span class="support-label">{{ t('support.short') }}</span>
</button>
<div class="header-divider" />
<LocaleSwitcher />
<template v-if="auth.user">
<CashBalanceChip />
@@ -193,22 +197,27 @@ watch(
height: 100%;
min-height: 100dvh;
overflow: hidden;
background: transparent;
background: var(--bg-body);
}
.header {
flex-shrink: 0;
display: flex; justify-content: space-between; align-items: center;
padding: 8px 12px;
background: rgba(17, 17, 17, 0.94);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 12px;
height: 48px;
background: #FFFFFF;
border-bottom: 1px solid var(--border);
z-index: 110;
}
.logo {
height: 36px; width: auto; display: block;
filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.2));
height: 22px;
width: auto;
display: block;
flex-shrink: 0;
}
.header-actions {
--header-chip-h: 36px;
--header-chip-h: 32px;
display: flex;
gap: 6px;
align-items: center;
@@ -224,59 +233,66 @@ watch(
width: var(--header-chip-h);
}
.header-divider {
width: 1px;
height: 18px;
background: #E5E7EB;
flex-shrink: 0;
margin: 0 2px;
}
.support-btn {
display: inline-flex;
align-items: center;
gap: 4px;
height: var(--header-chip-h, 36px);
padding: 0 10px;
border-radius: 6px;
border: 1px solid var(--border-gold-soft, rgba(200, 168, 78, 0.25));
background: rgba(200, 168, 78, 0.08);
color: var(--primary-light, #c8a84e);
justify-content: center;
gap: 0;
width: var(--header-chip-h, 32px);
height: var(--header-chip-h, 32px);
padding: 0;
border-radius: 50%;
border: 1px solid var(--border);
background: #F5F7FA;
color: var(--primary);
font-size: 12px;
font-weight: 700;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
flex-shrink: 1;
min-width: 0;
transition: background 0.15s, border-color 0.15s;
flex-shrink: 0;
}
.support-btn:active {
background: rgba(200, 168, 78, 0.16);
background: var(--bg-hover);
border-color: var(--border-active);
}
.support-icon {
width: 18px;
height: 18px;
width: 16px;
height: 16px;
flex-shrink: 0;
}
.support-label {
max-width: 48px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: none;
}
.login-btn {
padding: 6px 16px;
border-radius: 6px;
border: 1px solid var(--primary, #c8a84e);
background: transparent;
color: var(--primary-light, #c8a84e);
padding: 6px 18px;
border-radius: var(--radius-sm);
border: 1px solid var(--primary);
background: var(--primary);
color: #FFFFFF;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
transition: background 0.15s;
}
.login-btn:active {
background: var(--primary-dark);
}
.login-btn:active {
background: rgba(200, 168, 78, 0.15);
}
.announce-strip {
flex-shrink: 0;
z-index: 105;
background: #FFFFFF;
border-bottom: 1px solid var(--border);
}
@@ -286,17 +302,16 @@ watch(
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 12px 16px 0;
padding: 10px 14px 0;
}
.main.has-nav {
padding-bottom: 16px;
}
.bottom-nav {
display: flex;
background: rgba(17, 17, 17, 0.96);
background: #FFFFFF;
border-top: 1px solid var(--border);
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
z-index: 100;
padding-bottom: env(safe-area-inset-bottom, 0);
}
@@ -307,15 +322,16 @@ watch(
align-items: center;
justify-content: center;
gap: 3px;
padding: 6px 2px 8px;
font-size: 9px;
padding: 7px 2px 8px;
font-size: 10px;
color: var(--text-muted);
font-weight: 600;
letter-spacing: 0.02em;
font-weight: 500;
letter-spacing: 0.01em;
position: relative;
transition: color 0.2s;
line-height: 1.2;
min-width: 0;
text-decoration: none;
}
.nav-label {
@@ -327,22 +343,23 @@ watch(
}
.nav-item.active {
color: var(--primary-light);
font-weight: 800;
color: var(--primary);
font-weight: 700;
}
.nav-item.active :deep(.nav-icon) {
filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.35));
color: var(--primary);
filter: drop-shadow(0 1px 2px rgba(0, 61, 107, 0.2));
}
.nav-item.active::after {
content: '';
position: absolute;
top: 0;
left: 22%;
right: 22%;
height: 2px;
left: 18%;
right: 18%;
height: 2.5px;
background: var(--primary);
border-radius: 0 0 4px 4px;
border-radius: 0 0 3px 3px;
}
</style>
</style>