mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 21:36:06 +02:00
replace remixicon
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
<template>
|
||||
<div @click="confirm" class="avatar-info">
|
||||
<span v-if="avatarType" :class="color" class="mr-2"><i :class="avatarTypeIcons" /></span>
|
||||
<span v-if="avatarType" :class="color" class="mr-2">
|
||||
<Lock v-if="avatarType === '(own)'" class="h-4 w-4" />
|
||||
<Unlock v-else-if="avatarType === '(public)'" class="h-4 w-4" />
|
||||
</span>
|
||||
<span class="mr-2">{{ avatarName }}</span>
|
||||
<span v-if="avatarTags" style="color: var(--el-text-color-secondary); font-size: 12px">{{ avatarTags }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { Lock, Unlock } from 'lucide-vue-next';
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
import { useAvatarStore } from '../stores';
|
||||
|
||||
@@ -27,14 +31,6 @@
|
||||
const color = ref('');
|
||||
let ownerId = '';
|
||||
|
||||
const avatarTypeIcons = computed(() => {
|
||||
return avatarType.value === '(own)'
|
||||
? 'ri-lock-line'
|
||||
: avatarType.value === '(public)'
|
||||
? 'ri-lock-unlock-line'
|
||||
: '';
|
||||
});
|
||||
|
||||
const parse = async () => {
|
||||
ownerId = '';
|
||||
avatarName.value = '';
|
||||
|
||||
Reference in New Issue
Block a user