feat(player): 统一移动端主题样式并优化多页面视觉一致性
将玩家端组件与核心页面全面切换为统一主题变量,优化卡片、按钮、弹窗、列表和盘口相关模块的视觉表现,并补充多语言文案以匹配新的交互与布局风格。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -149,19 +149,19 @@ function goDetail() {
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 14px 16px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
margin-bottom: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, box-shadow 0.15s;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.bet-card:active {
|
||||
background: #F5F7FA;
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
@@ -182,9 +182,9 @@ function goDetail() {
|
||||
.cashback-tag {
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: #F8971F;
|
||||
background: rgba(248, 151, 31, 0.08);
|
||||
border: 1px solid rgba(248, 151, 31, 0.2);
|
||||
color: var(--accent);
|
||||
background: rgba(244, 162, 97, 0.08);
|
||||
border: 1px solid rgba(244, 162, 97, 0.2);
|
||||
border-radius: 4px;
|
||||
padding: 1px 6px;
|
||||
}
|
||||
@@ -192,9 +192,9 @@ function goDetail() {
|
||||
.bet-type-tag {
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: #003D6B;
|
||||
background: rgba(0, 61, 107, 0.06);
|
||||
border: 1px solid rgba(0, 61, 107, 0.15);
|
||||
color: var(--primary);
|
||||
background: rgba(244, 162, 97, 0.06);
|
||||
border: 1px solid rgba(244, 162, 97, 0.15);
|
||||
border-radius: 4px;
|
||||
padding: 1px 6px;
|
||||
letter-spacing: 0.02em;
|
||||
@@ -202,7 +202,7 @@ function goDetail() {
|
||||
|
||||
.card-date {
|
||||
font-size: 10px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
@@ -211,7 +211,7 @@ function goDetail() {
|
||||
.title {
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
color: #1A1A2E;
|
||||
color: var(--text);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -225,7 +225,7 @@ function goDetail() {
|
||||
|
||||
.pick-label {
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
@@ -237,8 +237,8 @@ function goDetail() {
|
||||
.odds-badge {
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
color: #F8971F;
|
||||
background: rgba(248, 151, 31, 0.08);
|
||||
color: var(--warning);
|
||||
background: rgba(255, 179, 0, 0.08);
|
||||
border-radius: 4px;
|
||||
padding: 1px 6px;
|
||||
flex-shrink: 0;
|
||||
@@ -254,24 +254,24 @@ function goDetail() {
|
||||
|
||||
.stake-amt {
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.return-amt {
|
||||
font-size: 15px;
|
||||
font-weight: 900;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.return-amt.highlight { color: #059669; }
|
||||
.return-amt.pending { color: #F8971F; }
|
||||
.return-amt.lost { color: #DC2626; }
|
||||
.return-amt.highlight { color: var(--success); }
|
||||
.return-amt.pending { color: var(--warning); }
|
||||
.return-amt.lost { color: var(--danger); }
|
||||
|
||||
.chevron {
|
||||
flex-shrink: 0;
|
||||
font-size: 18px;
|
||||
color: #E5E7EB;
|
||||
color: var(--border);
|
||||
margin-left: 2px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user