From 9c4598ab66dbec6d907135cc9f014815c702df27 Mon Sep 17 00:00:00 2001 From: lkddi Date: Sun, 1 Mar 2026 17:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=A9=9A=E5=A7=BB=E5=BC=B9=E7=AA=97=E6=97=A0=E6=B3=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:外层容器 style='display:none' 写死, Alpine x-show 把内层改为 flex,但外层 CSS 始终覆盖, 导致求婚弹窗、收婚弹窗、结婚成功弹窗、婚礼设置弹窗、 婚礼红包弹窗一律无法显示。 修复方案:将 show 状态的 x-show 移到外层容器, 内层固定显示(position:fixed + flex),去掉冲突的 display:none。 同时补充 x-cloak 防止页面加载时闪烁。 --- .../chat/partials/marriage-modals.blade.php | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/resources/views/chat/partials/marriage-modals.blade.php b/resources/views/chat/partials/marriage-modals.blade.php index 3689f0d..6055997 100644 --- a/resources/views/chat/partials/marriage-modals.blade.php +++ b/resources/views/chat/partials/marriage-modals.blade.php @@ -15,9 +15,8 @@ --}} {{-- ═══════════ 1. 求婚弹窗 ═══════════ --}} -