mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-12 03:13:50 +02:00
platform icon
This commit is contained in:
@@ -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']"
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user