From db95ee0e2955769acecdc8f13ec8e231e51f31b3 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 01:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=95=99=E8=A8=80?= =?UTF-8?q?=E6=9D=BF=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 body-class 的 h-screen overflow-hidden 导致高度被截断吃掉列表的 bug - 重构了分类导航和右侧留言流的布局,允许自然高度滚动和自适应显示 - 使得全局的 session('success') 能正常随着页面流展示出提示横幅 --- resources/views/guestbook/index.blade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/views/guestbook/index.blade.php b/resources/views/guestbook/index.blade.php index ddc1112..b8794bf 100644 --- a/resources/views/guestbook/index.blade.php +++ b/resources/views/guestbook/index.blade.php @@ -23,7 +23,7 @@ -@section('body-class', 'flex flex-col h-screen overflow-hidden') + @section('body-data', "x-data=\"{ showWriteForm: false, towho: '{{ $defaultTo }}' }\"") @section('content') @@ -82,10 +82,11 @@ {{-- 主体内容区 --}} -
+
{{-- 左侧:分类导航 --}} -