From d6f14868fd09746ec9e2461854b482a89c09a71e Mon Sep 17 00:00:00 2001 From: lkddi Date: Sun, 12 Apr 2026 18:15:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E7=99=BE=E5=AE=B6?= =?UTF-8?q?=E4=B9=90=E9=80=9A=E7=9F=A5=E5=90=8E=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20=E5=BF=AB=E9=80=9F=E5=8F=82=E4=B8=8E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/OpenBaccaratRoundJob.php | 6 +++++- .../views/chat/partials/games/baccarat-panel.blade.php | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/Jobs/OpenBaccaratRoundJob.php b/app/Jobs/OpenBaccaratRoundJob.php index 6c9f57c..5d6e874 100644 --- a/app/Jobs/OpenBaccaratRoundJob.php +++ b/app/Jobs/OpenBaccaratRoundJob.php @@ -73,7 +73,11 @@ class OpenBaccaratRoundJob implements ShouldQueue } $killText = implode('或', array_map('intval', $killPoints)); - $content = "🎲 【百家乐】第 #{$round->id} 局开始!下注时间 {$betSeconds} 秒,押注范围 {$minBet}~{$maxBet} 金币。赔率:🔵大/🟡小 1:{$bigRate} · 💥豹子 1:{$tripleRate}(☠️ {$killText} 点庄家收割)"; + $quickOpenButton = ''; + $content = "🎲 【百家乐】第 #{$round->id} 局开始!下注时间 {$betSeconds} 秒,押注范围 {$minBet}~{$maxBet} 金币。赔率:🔵大/🟡小 1:{$bigRate} · 💥豹子 1:{$tripleRate}(☠️ {$killText} 点庄家收割)".$quickOpenButton; $msg = [ 'id' => $chatState->nextMessageId(1), 'room_id' => 1, diff --git a/resources/views/chat/partials/games/baccarat-panel.blade.php b/resources/views/chat/partials/games/baccarat-panel.blade.php index 055e32b..bc56b37 100644 --- a/resources/views/chat/partials/games/baccarat-panel.blade.php +++ b/resources/views/chat/partials/games/baccarat-panel.blade.php @@ -526,7 +526,15 @@ }, /** - * 重置为未开局空状态 + * 从大厅或通知点击打开 + */ + openFromHall() { + this.show = true; + this.loadCurrentRound(); + }, + + /** + * 自动重置为未开局空状态 */ setIdleState() { clearInterval(this.countdownTimer);