From 22981802ca942cc2a44b9dc536a9cc9b74933b57 Mon Sep 17 00:00:00 2001 From: lkddi Date: Sat, 25 Apr 2026 10:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E5=BD=A9=E7=A5=A8=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E5=85=B3=E9=97=AD=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chat/partials/games/lottery-panel.blade.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/views/chat/partials/games/lottery-panel.blade.php b/resources/views/chat/partials/games/lottery-panel.blade.php index 5692444..4a2fcbc 100644 --- a/resources/views/chat/partials/games/lottery-panel.blade.php +++ b/resources/views/chat/partials/games/lottery-panel.blade.php @@ -50,7 +50,7 @@ x-text="'距开奖 ' + countdownText"> - × @@ -635,4 +635,10 @@ clearInterval(data._timer); } }; + + // 顶部关闭按钮由脚本集中绑定,避免标题栏继续保留内联 onclick。 + document.querySelector('[data-lottery-panel-close]')?.addEventListener('click', function(e) { + e.preventDefault(); + closeLotteryPanel(); + });