platform icon

This commit is contained in:
pa
2025-10-30 15:53:28 +09:00
committed by Natsumi
parent 050bf8653c
commit 1be2cf8a8f
3 changed files with 20 additions and 13 deletions

View File

@@ -53,7 +53,7 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px"
>PC
><i class="ri-computer-line"></i>
<span
v-if="avatarDialog.platformInfo.pc"
:class="['x-grey', 'x-tag-platform-pc', 'x-tag-border-left']"
@@ -72,7 +72,7 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px"
>Android
><i class="ri-android-line"></i>
<span
v-if="avatarDialog.platformInfo.android"
:class="['x-grey', 'x-tag-platform-quest', 'x-tag-border-left']"
@@ -91,7 +91,7 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px"
>iOS
><i class="ri-apple-line"></i>
<span
v-if="avatarDialog.platformInfo.ios"
:class="['x-grey', 'x-tag-platform-ios', 'x-tag-border-left']"

View File

@@ -77,7 +77,8 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px">
PC<span
<i class="ri-computer-line"></i
><span
v-if="worldDialog.bundleSizes['standalonewindows']"
:class="['x-grey', 'x-tag-platform-pc', 'x-tag-border-left']">
{{ worldDialog.bundleSizes['standalonewindows'].fileSize }}
@@ -91,7 +92,8 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px">
Android<span
<i class="ri-android-line"></i
><span
v-if="worldDialog.bundleSizes['android']"
:class="['x-grey', 'x-tag-platform-quest', 'x-tag-border-left']">
{{ worldDialog.bundleSizes['android'].fileSize }}
@@ -105,7 +107,8 @@
effect="plain"
size="small"
style="margin-right: 5px; margin-top: 5px">
iOS<span
<i class="ri-apple-line"></i
><span
v-if="worldDialog.bundleSizes['ios']"
:class="['x-grey', 'x-tag-platform-ios', 'x-tag-border-left']">
{{ worldDialog.bundleSizes['ios'].fileSize }}

View File

@@ -71,7 +71,7 @@
effect="plain"
size="small"
style="margin-right: 5px"
>PC
><i class="ri-computer-line"></i>
<span
v-if="currentInstanceWorld.bundleSizes['standalonewindows']"
:class="['x-grey', 'x-tag-platform-pc', 'x-tag-border-left']"
@@ -85,7 +85,7 @@
effect="plain"
size="small"
style="margin-right: 5px"
>Android
><i class="ri-android-line"></i>
<span
v-if="currentInstanceWorld.bundleSizes['android']"
:class="['x-grey', 'x-tag-platform-quest', 'x-tag-border-left']"
@@ -99,7 +99,7 @@
effect="plain"
size="small"
style="margin-right: 5px"
>iOS
><i class="ri-apple-line"></i>
<span
v-if="currentInstanceWorld.bundleSizes['ios']"
:class="['x-grey', 'x-tag-platform-ios', 'x-tag-border-left']"
@@ -297,10 +297,14 @@
<template #default="scope">
<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.$platform === 'android'" style="color: #67c23a">A</span>
<span v-else-if="scope.row.ref.$platform === 'ios'" style="color: #c7c7ce">iOS</span>
><i class="ri-computer-line"></i
></span>
<span v-else-if="scope.row.ref.$platform === 'android'" style="color: #67c23a"
><i class="ri-android-line"></i
></span>
<span v-else-if="scope.row.ref.$platform === 'ios'" style="color: #c7c7ce"
><i class="ri-apple-line"></i
></span>
<span v-else>{{ scope.row.ref.$platform }}</span>
</template>
<template v-if="scope.row.inVRMode !== null">