送金币弹窗:彻底修复按钮蓝色背景失效变紫的Bug,将背景色移回静态style
This commit is contained in:
@@ -1142,10 +1142,11 @@
|
|||||||
{{-- 操作按钮 --}}
|
{{-- 操作按钮 --}}
|
||||||
<div style="display:flex; justify-content:center; gap:10px; margin-bottom:20px;">
|
<div style="display:flex; justify-content:center; gap:10px; margin-bottom:20px;">
|
||||||
<button x-on:click="send()"
|
<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="background: linear-gradient(135deg, #3b82f6, #2563eb); color:#fff; border:none; border-radius:8px;
|
||||||
:style="(sending || !amount)
|
padding:8px 20px; font-size:13px; font-weight:bold; cursor:pointer;
|
||||||
? 'background: linear-gradient(135deg, #3b82f6, #2563eb); opacity: 0.5; cursor: not-allowed; box-shadow: none;'
|
box-shadow: 0 4px 12px rgba(37,99,235,0.4);
|
||||||
: 'background: linear-gradient(135deg, #3b82f6, #2563eb); 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"
|
:disabled="sending || !amount"
|
||||||
onmouseover="if(!this.disabled) this.style.transform='translateY(-2px)'"
|
onmouseover="if(!this.disabled) this.style.transform='translateY(-2px)'"
|
||||||
onmouseout="if(!this.disabled) this.style.transform=''"
|
onmouseout="if(!this.disabled) this.style.transform=''"
|
||||||
|
|||||||
Reference in New Issue
Block a user