Moderations in playerList

This commit is contained in:
Natsumi
2025-08-21 05:07:06 +12:00
parent 7d06966fef
commit 887f59d2b4
9 changed files with 138 additions and 39 deletions

View File

@@ -708,6 +708,22 @@
<el-tooltip v-if="scope.row.isFriend" placement="left" content="Friend">
<span>💚</span>
</el-tooltip>
<el-tooltip v-if="scope.row.isBlocked" placement="left" content="Blocked">
<i class="el-icon el-icon-circle-close" style="color: red"></i>
</el-tooltip>
<el-tooltip v-if="scope.row.isMuted" placement="left" content="Muted">
<i class="el-icon el-icon-turn-off-microphone" style="color: orange"></i>
</el-tooltip>
<el-tooltip
v-if="scope.row.isAvatarInteractionDisabled"
placement="left"
content="Avatar Interaction Disabled
">
<i class="el-icon el-icon-thumb" style="color: orange"></i>
</el-tooltip>
<el-tooltip v-if="scope.row.isChatBoxMuted" placement="left" content="Chatbox Muted">
<i class="el-icon el-icon-chat-line-round" style="color: orange"></i>
</el-tooltip>
<el-tooltip v-if="scope.row.timeoutTime" placement="left" content="Timeout">
<span style="color: red">🔴{{ scope.row.timeoutTime }}s</span>
</el-tooltip>
@@ -715,17 +731,13 @@
</el-table-column>
<el-table-column :label="t('table.playerList.platform')" prop="inVRMode" width="80">
<template #default="scope">
<template v-if="scope.row.ref.last_platform">
<span v-if="scope.row.ref.last_platform === 'standalonewindows'" style="color: #409eff"
<template v-if="scope.row.ref.$platform">
<span v-if="scope.row.ref.$platform === 'standalonewindows'" style="color: #409eff"
>PC</span
>
<span v-else-if="scope.row.ref.last_platform === 'android'" style="color: #67c23a"
>A</span
>
<span v-else-if="scope.row.ref.last_platform === 'ios'" style="color: #c7c7ce"
>iOS</span
>
<span v-else>{{ scope.row.ref.last_platform }}</span>
<span v-else-if="scope.row.ref.$platform === 'android'" style="color: #67c23a">A</span>
<span v-else-if="scope.row.ref.$platform === 'ios'" style="color: #c7c7ce">iOS</span>
<span v-else>{{ scope.row.ref.$platform }}</span>
</template>
<template v-if="scope.row.inVRMode !== null">
<span v-if="scope.row.inVRMode">VR</span>