修复:清理大厅导航栏重复的老代码
- 彻底移除 rooms/index.blade.php 中的 nav-right 定义块 - 移除 layouts/app.blade.php 中多增加的资料按钮 - 修正退出登录按钮的文案 - 修复前台页面由于继承引起的头部菜单重复显示问题
This commit is contained in:
@@ -92,11 +92,6 @@
|
||||
class="text-indigo-200 hover:text-white font-bold transition hidden sm:flex items-center">
|
||||
<span class="mr-1">📖</span> 说明
|
||||
</a>
|
||||
<button
|
||||
@click="typeof showProfileModal !== 'undefined' ? showProfileModal = true : window.location.href='{{ route('rooms.index') }}'"
|
||||
class="text-indigo-200 hover:text-white font-bold transition hidden sm:flex items-center">
|
||||
<span class="mr-1">👤</span> 资料
|
||||
</button>
|
||||
@endauth
|
||||
|
||||
@yield('nav-right')
|
||||
@@ -115,7 +110,7 @@
|
||||
@csrf
|
||||
<button type="submit"
|
||||
class="text-xs border border-white/30 hover:bg-white/10 px-2 py-1.5 rounded transition font-medium text-white/80 hover:text-white">
|
||||
退出
|
||||
退出登录
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user