迁移游戏面板关闭事件

This commit is contained in:
2026-04-25 10:50:35 +08:00
parent e9a3310649
commit 8cdf8492fb
5 changed files with 61 additions and 3 deletions
@@ -34,7 +34,7 @@
<div x-show="dailyLimit > 0"
style="font-size:11px; color:rgba(255,255,255,.7); background:rgba(255,255,255,.15); padding:2px 8px; border-radius:10px;"
x-text="'剩余 ' + remaining + ' 次'"></div>
<span onclick="Alpine.$data(document.getElementById('slot-panel')).close()"
<span data-game-panel-close="slot-panel"
style="cursor:pointer; font-size:18px; color:rgba(255,255,255,.8); line-height:1; transition:opacity .15s;"
onmouseover="this.style.opacity=1" onmouseout="this.style.opacity=.8">&times;</span>
</div>