mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
💄 调整未登录时的部分内容渲染
This commit is contained in:
@@ -4,12 +4,15 @@
|
||||
<div class="tgb-title">✨原神,启动!</div>
|
||||
<v-btn size="small" icon="mdi-rocket" variant="outlined" @click="tryPlayGame()" />
|
||||
</div>
|
||||
<v-list-item v-if="account">
|
||||
<v-list-item v-if="account.uid">
|
||||
<v-list-item-title class="tgb-name">
|
||||
{{ account.nickname }}({{ account.regionName }})
|
||||
</v-list-item-title>
|
||||
<v-list-item-subtitle>{{ account.gameUid }} Lv.{{ account.level }}</v-list-item-subtitle>
|
||||
</v-list-item>
|
||||
<v-list-item v-else>
|
||||
<v-list-item-title>未登录,请先登录!</v-list-item-title>
|
||||
</v-list-item>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
@@ -52,7 +52,13 @@
|
||||
:loading="loading"
|
||||
title="刷新用户信息"
|
||||
/>
|
||||
<v-btn variant="outlined" @click="confirmCopyCookie" icon="mdi-cookie" title="复制Cookie" />
|
||||
<v-btn
|
||||
variant="outlined"
|
||||
@click="confirmCopyCookie"
|
||||
:disabled="!userStore.cookie.value"
|
||||
icon="mdi-cookie"
|
||||
title="复制Cookie"
|
||||
/>
|
||||
<v-menu location="start">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn
|
||||
|
||||
Reference in New Issue
Block a user