From 411457104073c6d9c9598d6a37294e798656638c Mon Sep 17 00:00:00 2001 From: lkddi Date: Wed, 4 Mar 2026 15:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E5=8F=8C=E8=89=B2?= =?UTF-8?q?=E7=90=83=E5=BD=A9=E7=A5=A8=E5=89=8D=E5=8F=B0=20UI=EF=BC=88?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E4=BA=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎟️ lottery-panel.blade.php 彩票面板 - 红球 1~12(12宫格选3)/ 蓝球 1~6(骰子点数选1) - 购物车机制:可加入多注后一次性购买 - 机选按钮(单注/3注) - 本期我的购票记录展示(含中奖标记) - 最近8期历史开奖号码表格 - 规则折叠说明(奖级表格) - 停售/已开奖状态自动切换 - 内联购票结果提示(3秒自动消失) 🎮 游戏大厅集成 - game-hall 注入 lottery 开关状态 - GAME_HALL_GAMES 追加双色球卡片(动态展示奖池/倒计时/超级期徽章) - frame.blade.php 引入 lottery-panel 🗺️ 路由 /games/enabled 已含 lottery 键 --- resources/views/chat/frame.blade.php | 2 + .../views/chat/partials/game-hall.blade.php | 42 ++ .../chat/partials/lottery-panel.blade.php | 618 ++++++++++++++++++ 3 files changed, 662 insertions(+) create mode 100644 resources/views/chat/partials/lottery-panel.blade.php diff --git a/resources/views/chat/frame.blade.php b/resources/views/chat/frame.blade.php index be32cef..231d78e 100644 --- a/resources/views/chat/frame.blade.php +++ b/resources/views/chat/frame.blade.php @@ -147,6 +147,8 @@ @include('chat.partials.horse-race-panel') {{-- ═══════════ 神秘占卜游戏面板 ═══════════ --}} @include('chat.partials.fortune-panel') + {{-- ═══════════ 双色球彩票面板 ═══════════ --}} + @include('chat.partials.lottery-panel') {{-- ═══════════ 娱乐游戏大厅弹窗 ═══════════ --}} @include('chat.partials.game-hall') diff --git a/resources/views/chat/partials/game-hall.blade.php b/resources/views/chat/partials/game-hall.blade.php index ff1b8d4..525cbed 100644 --- a/resources/views/chat/partials/game-hall.blade.php +++ b/resources/views/chat/partials/game-hall.blade.php @@ -22,6 +22,7 @@ 'horse_racing' => \App\Models\GameConfig::isEnabled('horse_racing'), 'fortune_telling' => \App\Models\GameConfig::isEnabled('fortune_telling'), 'fishing' => \App\Models\GameConfig::isEnabled('fishing'), + 'lottery' => \App\Models\GameConfig::isEnabled('lottery'), ]; @endphp