优化游戏 金币显示

This commit is contained in:
2026-04-12 17:46:24 +08:00
parent e7aea014fb
commit 28cbf2b564
3 changed files with 28 additions and 2 deletions
@@ -24,13 +24,19 @@
<div
style="background:linear-gradient(135deg,#336699,#5a8fc0); padding:10px 16px;
display:flex; align-items:center; justify-content:space-between;">
<div>
<div style="flex: 1;">
<div style="color:#fff; font-weight:bold; font-size:14px;">🎲 百家乐</div>
<div style="color:rgba(255,255,255,.75); font-size:11px; margin-top:1px;">
<span x-show="roundId"> <span x-text="'#' + roundId"></span> </span>
<span x-show="!roundId" style="display:none;">等待开局中</span>
</div>
</div>
{{-- 金币余额 --}}
<div
style="font-size:12px; color:#d0e8ff; display:flex; align-items:center; gap:3px; margin-right: 12px;
background:rgba(0,0,0,.2); padding:2px 8px; border-radius:10px;">
💰 <strong style="color:#ffe082; font-size:13px;" x-text="Number(window.chatContext?.userJjb || 0).toLocaleString()">--</strong> 金币
</div>
{{-- 倒计时 --}}
<div x-show="phase === 'betting'" style="text-align:center;">
<div style="color:#fbbf24; font-size:28px; font-weight:900; line-height:1;" x-text="countdown">