送金币弹窗:彻底修复按钮蓝色背景失效变紫的Bug,将背景色移回静态style

This commit is contained in:
2026-03-12 17:39:10 +08:00
parent 1328b3d8cb
commit 51aa3931b9
@@ -1142,10 +1142,11 @@
{{-- 操作按钮 --}}
<div style="display:flex; justify-content:center; gap:10px; margin-bottom:20px;">
<button x-on:click="send()"
style="color:#fff; border:none; border-radius:8px; padding:8px 20px; font-size:13px; font-weight:bold; cursor:pointer; transition:transform .12s, box-shadow .12s;"
:style="(sending || !amount)
? 'background: linear-gradient(135deg, #3b82f6, #2563eb); opacity: 0.5; cursor: not-allowed; box-shadow: none;'
: 'background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 4px 12px rgba(37,99,235,0.4);'"
style="background: linear-gradient(135deg, #3b82f6, #2563eb); color:#fff; border:none; border-radius:8px;
padding:8px 20px; font-size:13px; font-weight:bold; cursor:pointer;
box-shadow: 0 4px 12px rgba(37,99,235,0.4);
transition:transform .12s, box-shadow .12s, opacity .12s;"
:style="(sending || !amount) ? 'opacity: 0.5; cursor: not-allowed; box-shadow: none;' : ''"
:disabled="sending || !amount"
onmouseover="if(!this.disabled) this.style.transform='translateY(-2px)'"
onmouseout="if(!this.disabled) this.style.transform=''"