优化:查看私信按钮移入管理操作列表,取消独立站长操作区
This commit is contained in:
@@ -316,6 +316,9 @@
|
|||||||
<button
|
<button
|
||||||
style="flex:1; padding: 5px; border-radius: 4px; font-size: 11px; background: #dbeafe; border: 1px solid #3b82f6; cursor: pointer;"
|
style="flex:1; padding: 5px; border-radius: 4px; font-size: 11px; background: #dbeafe; border: 1px solid #3b82f6; cursor: pointer;"
|
||||||
x-on:click="freezeUser()">🧊 冻结</button>
|
x-on:click="freezeUser()">🧊 冻结</button>
|
||||||
|
<button
|
||||||
|
style="flex:1; padding: 5px; border-radius: 4px; font-size: 11px; background: #f3e8ff; border: 1px solid #a855f7; cursor: pointer;"
|
||||||
|
x-on:click="loadWhispers()">🔍 私信</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{-- 禁言表单 --}}
|
{{-- 禁言表单 --}}
|
||||||
@@ -330,15 +333,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{-- 站长专属操作 --}}
|
{{-- 私信记录展示区(管理员查看) --}}
|
||||||
@if (Auth::user()->user_level >= (int) \App\Models\Sysparam::getValue('superlevel', '100'))
|
|
||||||
<div style="padding: 0 16px 12px;" x-show="userInfo.username !== window.chatContext.username">
|
|
||||||
<div style="font-size: 11px; color: #7c3aed; margin-bottom: 6px; font-weight: bold;">站长操作</div>
|
|
||||||
<button
|
|
||||||
style="width: 100%; padding: 5px; border-radius: 4px; font-size: 11px; background: #f3e8ff; border: 1px solid #a855f7; cursor: pointer;"
|
|
||||||
x-on:click="loadWhispers()">🔍 查看私信记录</button>
|
|
||||||
</div>
|
|
||||||
{{-- 私信记录展示区 --}}
|
|
||||||
<div x-show="showWhispers"
|
<div x-show="showWhispers"
|
||||||
style="display: none; padding: 0 16px 12px; max-height: 200px; overflow-y: auto;">
|
style="display: none; padding: 0 16px 12px; max-height: 200px; overflow-y: auto;">
|
||||||
<div style="font-size: 11px; color: #666; margin-bottom: 4px;"
|
<div style="font-size: 11px; color: #666; margin-bottom: 4px;"
|
||||||
@@ -353,7 +348,6 @@
|
|||||||
</template>
|
</template>
|
||||||
<div x-show="whisperList.length === 0" style="font-size: 11px; color: #aaa;">暂无悄悄话记录</div>
|
<div x-show="whisperList.length === 0" style="font-size: 11px; color: #aaa;">暂无悄悄话记录</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user