mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
💄 调整未登录时的部分内容渲染
This commit is contained in:
5368
src-tauri/gen/schemas/macOS-schema.json
Normal file
5368
src-tauri/gen/schemas/macOS-schema.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,12 +4,15 @@
|
|||||||
<div class="tgb-title">✨原神,启动!</div>
|
<div class="tgb-title">✨原神,启动!</div>
|
||||||
<v-btn size="small" icon="mdi-rocket" variant="outlined" @click="tryPlayGame()" />
|
<v-btn size="small" icon="mdi-rocket" variant="outlined" @click="tryPlayGame()" />
|
||||||
</div>
|
</div>
|
||||||
<v-list-item v-if="account">
|
<v-list-item v-if="account.uid">
|
||||||
<v-list-item-title class="tgb-name">
|
<v-list-item-title class="tgb-name">
|
||||||
{{ account.nickname }}({{ account.regionName }})
|
{{ account.nickname }}({{ account.regionName }})
|
||||||
</v-list-item-title>
|
</v-list-item-title>
|
||||||
<v-list-item-subtitle>{{ account.gameUid }} Lv.{{ account.level }}</v-list-item-subtitle>
|
<v-list-item-subtitle>{{ account.gameUid }} Lv.{{ account.level }}</v-list-item-subtitle>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
<v-list-item v-else>
|
||||||
|
<v-list-item-title>未登录,请先登录!</v-list-item-title>
|
||||||
|
</v-list-item>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|||||||
@@ -52,7 +52,13 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
title="刷新用户信息"
|
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">
|
<v-menu location="start">
|
||||||
<template v-slot:activator="{ props }">
|
<template v-slot:activator="{ props }">
|
||||||
<v-btn
|
<v-btn
|
||||||
|
|||||||
Reference in New Issue
Block a user