From 9b79b0f34ffba5db355e47f1660c033a7663b4f4 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 01:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=EF=BC=9A=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=89=8D=E5=8F=B0=E9=A1=B5=E9=9D=A2=E7=BA=A7=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除大厅和说明页多余的 nav-right 内容 - 统一在 layouts/app.blade.php 内展示 大厅/风云榜/留言板/后台/使用说明/个人资料/退出 等功能 - 去除重复的个人资料按钮,取消前台新建房间的功能(已转至后台),精简导航展示 --- resources/views/layouts/app.blade.php | 42 ++++++++++++++++++++++----- resources/views/rooms/guide.blade.php | 12 -------- resources/views/rooms/index.blade.php | 13 ++------- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 501714c..3828726 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -80,16 +80,44 @@ ✉️ 留言板 + {{-- 通用快捷操作区 --}} + @auth + @if (Auth::user()->user_level >= 15) + + @endif + + + @endauth + @yield('nav-right') - {{-- 用户信息(通用) --}} + {{-- 用户信息(通用)及退出 --}} @auth -
- - - LV.{{ Auth::user()->user_level }} +
+
+ + + LV.{{ Auth::user()->user_level }} +
+
+ @csrf + +
@endauth
diff --git a/resources/views/rooms/guide.blade.php b/resources/views/rooms/guide.blade.php index 155579f..c08dbeb 100644 --- a/resources/views/rooms/guide.blade.php +++ b/resources/views/rooms/guide.blade.php @@ -12,18 +12,6 @@ @section('nav-icon', '📖') @section('nav-title', '使用说明') -@section('nav-right') - {{-- admin 后台直达 --}} - @if (Auth::user()->user_level >= 15) - - @endif - {{-- 退出登录 --}} -
- @csrf - -
-@endsection @section('head')