From 6e8a196ecf127c12d8237b1c0b117f897b281c7d Mon Sep 17 00:00:00 2001 From: li Date: Thu, 22 Jan 2026 16:56:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=9B=E7=89=9B/=E4=B8=89=E5=8D=A1?= =?UTF-8?q?=E7=AB=96=E5=B1=8F=E4=BC=98=E5=8C=96=20-=20=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E7=89=8C=E6=98=BE=E7=A4=BA=E3=80=81=E5=8D=A1=E7=89=8C=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E3=80=81=E4=B8=8B=E6=B3=A8=E9=87=91=E9=A2=9D=E7=BC=A9?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加定位牌(nn_position)在视频左侧显示 - 卡牌区域添加庄家/闲1/闲2/闲3标签 - 优化下注金额显示,使用scale(0.5)避免翻倍文字溢出 - 调整poker-section高度(60→40px)和路单高度(100→130px) - 修复overflow设置允许筹码和金额显示溢出 Co-Authored-By: Claude Opus 4.5 --- src/components/PlayTable/TableBullbull.vue | 29 +-- src/components/PlayWay.vue | 22 ++- src/views/play.vue | 204 ++++++++++++++++++++- 3 files changed, 232 insertions(+), 23 deletions(-) diff --git a/src/components/PlayTable/TableBullbull.vue b/src/components/PlayTable/TableBullbull.vue index f77b98ed..b3c86dab 100644 --- a/src/components/PlayTable/TableBullbull.vue +++ b/src/components/PlayTable/TableBullbull.vue @@ -224,6 +224,7 @@ $text-red: #f56c6c; flex: 1; display: flex; flex-direction: column; + overflow: visible; /* 允许金额显示溢出 */ } } @@ -231,6 +232,7 @@ $text-red: #f56c6c; flex: 1; display: flex; border-bottom: 1px solid $border-light; + overflow: visible; /* 允许金额显示溢出 */ &:last-child { border-bottom: none; @@ -240,7 +242,8 @@ $text-red: #f56c6c; flex: 1; position: relative; border-right: 1px solid $border-light; - + overflow: visible; /* 允许金额显示溢出 */ + &:last-child { border-right: none; } @@ -256,6 +259,7 @@ $text-red: #f56c6c; cursor: pointer; padding: 4px; box-sizing: border-box; + overflow: visible; /* 允许金额显示溢出 */ &:active { background: rgba(255, 255, 255, 0.1); @@ -290,23 +294,26 @@ $text-red: #f56c6c; .money { position: absolute; - bottom: 4px; + bottom: 1px; left: 50%; - transform: translateX(-50%); - background: rgba(0,0,0,0.6); - padding: 2px 8px; - border-radius: 10px; + transform: translateX(-50%) scale(0.5); + transform-origin: center bottom; + background: rgba(0,0,0,0.85); + padding: 2px 4px; + border-radius: 4px; color: #ffd700; - font-size: 12px; + font-size: 9px; white-space: nowrap; display: flex; align-items: center; - gap: 2px; - z-index: 5; + gap: 1px; + z-index: 100; + pointer-events: none; .coin-icon { - width: 10px; - height: 10px; + width: 6px; + height: 6px; + flex-shrink: 0; border-radius: 50%; background: #ffd700; border: 1px solid #b8860b; diff --git a/src/components/PlayWay.vue b/src/components/PlayWay.vue index 9fc886d9..a114f343 100644 --- a/src/components/PlayWay.vue +++ b/src/components/PlayWay.vue @@ -31,15 +31,23 @@ {{ tableData.number_tab_number || '0-0' }} - +
-
- {{ key }} - {{ val }} -
-
+
+ {{ Lang[Type].player }}1 + {{ tableData.player_1_count || 0 }} +
+
+ {{ Lang[Type].player }}2 + {{ tableData.player_2_count || 0 }} +
+
+ {{ Lang[Type].player }}3 + {{ tableData.player_3_count || 0 }} +
+
{{ Lang[Type].game }} - {{ tableData.number_tab_number || '0-0' }} + {{ tableData.number_tab_number - 1 || 0 }}
diff --git a/src/views/play.vue b/src/views/play.vue index 592280bb..9cc63c94 100644 --- a/src/views/play.vue +++ b/src/views/play.vue @@ -89,7 +89,7 @@ -
+