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:
@@ -307,9 +307,10 @@ function goMatch(id: string) {
|
||||
.bet-page {
|
||||
margin: 0 -16px;
|
||||
padding-bottom: 8px;
|
||||
background: #E8EDF2;
|
||||
}
|
||||
|
||||
/* Tab 面板切换:不用 display:none,避免浏览器释放图片资源导致重新加载 */
|
||||
/* Tab panel toggle: avoid display:none to prevent browser releasing image resources */
|
||||
.tab-panel {
|
||||
display: block;
|
||||
}
|
||||
@@ -339,18 +340,23 @@ function goMatch(id: string) {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
padding: 12px 8px;
|
||||
border-radius: 10px;
|
||||
background: #1a1a1a;
|
||||
border: 1px solid #2a2a2a;
|
||||
color: var(--text-muted);
|
||||
padding: 10px 8px;
|
||||
border-radius: 8px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #CBD5E1;
|
||||
color: #6B7280;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.main-tab.active {
|
||||
font-weight: 800;
|
||||
font-weight: 700;
|
||||
background: #EBF3FB;
|
||||
border-color: #003D6B;
|
||||
color: #003D6B;
|
||||
}
|
||||
|
||||
.tab-icon {
|
||||
@@ -366,24 +372,23 @@ function goMatch(id: string) {
|
||||
|
||||
.time-tab {
|
||||
flex: 1;
|
||||
padding: 10px 16px;
|
||||
padding: 9px 16px;
|
||||
border-radius: 999px;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
color: var(--primary-light);
|
||||
background: #141414;
|
||||
border: 1px solid var(--primary);
|
||||
font-weight: 700;
|
||||
color: #003D6B;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #CBD5E1;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.time-tab.active {
|
||||
background: var(--gradient-gold) !important;
|
||||
border-color: #fff1a8 !important;
|
||||
color: #2a1a00 !important;
|
||||
font-weight: 800;
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(255, 244, 200, 0.28) inset,
|
||||
0 4px 16px rgba(212, 175, 55, 0.28);
|
||||
text-shadow: 0 1px 0 rgba(255, 252, 235, 0.75);
|
||||
background: #003D6B !important;
|
||||
border-color: #003D6B !important;
|
||||
color: #FFFFFF !important;
|
||||
font-weight: 700;
|
||||
box-shadow: 0 2px 8px rgba(0, 61, 107, 0.25);
|
||||
}
|
||||
|
||||
.phase-filter {
|
||||
@@ -398,29 +403,29 @@ function goMatch(id: string) {
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #999;
|
||||
background: #141414;
|
||||
border: 1px solid #333;
|
||||
color: #6B7280;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #CBD5E1;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.phase-toggle--active {
|
||||
color: var(--primary-light);
|
||||
border-color: var(--primary);
|
||||
background: rgba(200, 168, 78, 0.08);
|
||||
color: #003D6B;
|
||||
border-color: #003D6B;
|
||||
background: rgba(0, 61, 107, 0.06);
|
||||
}
|
||||
|
||||
.phase-toggle-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: #555;
|
||||
background: #CBD5E1;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
.phase-toggle--active .phase-toggle-dot {
|
||||
background: var(--primary-light);
|
||||
background: #003D6B;
|
||||
}
|
||||
|
||||
.league-list {
|
||||
@@ -431,7 +436,7 @@ function goMatch(id: string) {
|
||||
.placeholder,
|
||||
.empty {
|
||||
text-align: center;
|
||||
color: var(--text-muted);
|
||||
color: #6B7280;
|
||||
padding: 48px 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user