feat(game): 添加最大投注金额限制功能
- 在 UserStreakMessageData 接口中添加 maxBetPerNumber 字段 - 在 WebSocket 消息解析器中处理 max_bet_per_number 数据 - 实现游戏实时同步中最大投注金额的更新逻辑 - 将最大投注金额同步到游戏会话状态的仪表板数据 - 更新通知弹窗组件样式以支持当前文本颜色 - 在通知弹窗标题区域应用主题色调类名
This commit is contained in:
@@ -181,6 +181,7 @@ export function AppNotificationAlert() {
|
||||
isMobileViewport
|
||||
? 'flex min-h-design-28'
|
||||
: 'flex min-h-design-38',
|
||||
tone.title,
|
||||
)}
|
||||
>
|
||||
<AlertTitle
|
||||
@@ -196,7 +197,7 @@ export function AppNotificationAlert() {
|
||||
{activeDialog.description ? (
|
||||
<AlertDescription
|
||||
className={cn(
|
||||
'whitespace-pre-line text-white/62',
|
||||
'whitespace-pre-line !text-current',
|
||||
isMobileViewport
|
||||
? 'pt-design-2 text-design-9 leading-[1.35]'
|
||||
: 'pt-design-3 text-design-12 leading-[1.45]',
|
||||
|
||||
Reference in New Issue
Block a user