diff --git a/resources/views/chat/frame.blade.php b/resources/views/chat/frame.blade.php index 749d2df..bb449f7 100644 --- a/resources/views/chat/frame.blade.php +++ b/resources/views/chat/frame.blade.php @@ -95,202 +95,6 @@ @include('chat.partials.user-actions') @include('chat.partials.scripts') - {{-- ═══════════ 头像选择弹窗 ═══════════ --}} - - - {{-- ═══════════ 个人设置弹窗 ═══════════ --}} - - - diff --git a/resources/views/chat/partials/toolbar.blade.php b/resources/views/chat/partials/toolbar.blade.php index 52bce15..8321d63 100644 --- a/resources/views/chat/partials/toolbar.blade.php +++ b/resources/views/chat/partials/toolbar.blade.php @@ -1,10 +1,18 @@ {{-- - 文件功能:聊天室竖向工具条(中间导航栏) - 从 frame.blade.php 拆分,便于独立维护 + 文件功能:聊天室竖向工具条(中间导航栏)+ 关联弹窗 + + 包含: + 1. 工具条按钮(管理、商店、存点、头像、设置等) + 2. 头像选择弹窗 + 3. 个人设置弹窗(密码、资料、密保) + 4. 对应的 JS 操作函数 依赖变量:$user, $superLevel, $room + @author ChatRoom Laravel + @version 1.0.0 --}} +{{-- ═══════════ 竖向工具条按钮 ═══════════ --}}
@if ($user->user_level >= $superLevel)
@@ -32,3 +40,200 @@
离开
+ +{{-- ═══════════ 头像选择弹窗 ═══════════ --}} + + +{{-- ═══════════ 个人设置弹窗 ═══════════ --}} + + +{{-- ═══════════ 工具条相关 JS 函数 ═══════════ --}} +