mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🍱 替换首页&默认用户 icon
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
未登录,请扫码登录!
|
||||
</v-list-item-subtitle>
|
||||
<template #prepend>
|
||||
<img class="config-icon" :src="userInfo?.avatar" alt="Login" />
|
||||
<img class="config-icon user" :src="userInfo?.avatar" alt="Login" />
|
||||
</template>
|
||||
<template #append>
|
||||
<v-btn class="config-btn" @click="confirmScanLogin">扫码登录</v-btn>
|
||||
@@ -207,7 +207,7 @@ const userInfo = computed(() => {
|
||||
nickname: "未登录",
|
||||
uid: "-1",
|
||||
desc: "请扫码登录",
|
||||
avatar: "/source/UI/defaultUser.webp",
|
||||
avatar: "/source/UI/lumine.webp",
|
||||
};
|
||||
});
|
||||
const vuetifyTheme = computed(() => {
|
||||
@@ -659,6 +659,11 @@ function submitHome(): void {
|
||||
box-shadow: 0 0 5px var(--common-shadow-1);
|
||||
}
|
||||
|
||||
.config-icon.user {
|
||||
padding: 2px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.config-btn {
|
||||
width: 100px;
|
||||
margin-left: 20px;
|
||||
|
||||
Reference in New Issue
Block a user