🍱 替换首页&默认用户 icon

This commit is contained in:
BTMuli
2023-12-27 15:40:41 +08:00
parent 6e5b3016f1
commit 22175442e5
6 changed files with 22 additions and 10 deletions

View File

@@ -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;