From 4207528043bdc13615f9f1d9a2ae5151204ebdad Mon Sep 17 00:00:00 2001 From: lkddi Date: Sun, 1 Mar 2026 12:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E5=8F=91=E6=94=BE=E6=8C=89=E9=92=AE=E8=83=8C=E6=99=AF=E8=89=B2?= =?UTF-8?q?=E5=A7=8B=E7=BB=88=E9=80=9A=E8=BF=87=20:style=20=E6=B3=A8?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 background 从 static style 移入 :style 绑定, 两种状态(启用/禁用)均显式包含 background, 彻底避免 Alpine :style 动态绑定覆盖静态 style background 的问题。 按钮颜色:橙红渐变 #ea580c→#dc2626 - 启用:opacity:1 + box-shadow 投影 - 禁用:opacity:0.4 + no-shadow(未输入金额时) --- .../views/chat/partials/user-actions.blade.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/resources/views/chat/partials/user-actions.blade.php b/resources/views/chat/partials/user-actions.blade.php index 211c4c8..4b782f0 100644 --- a/resources/views/chat/partials/user-actions.blade.php +++ b/resources/views/chat/partials/user-actions.blade.php @@ -1009,13 +1009,14 @@ :max="quota.max_once || 999999" min="1" x-on:keydown.enter="send()" style="flex:1; height:44px; padding:0 14px; border:2px solid #fcd34d; border-radius:10px; font-size:15px; color:#92400e; outline:none; box-sizing:border-box;"> -