mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
🌱 留影叙佳期备份页 #98
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</template>
|
||||
</v-list-item>
|
||||
<!-- 菜单项 -->
|
||||
<v-list-item value="home" :link="true" href="/" :title.attr="'首页'">
|
||||
<v-list-item :title.attr="'首页'" value="home" :link="true" href="/">
|
||||
<template #title>首页</template>
|
||||
<template #prepend>
|
||||
<img src="/source/UI/paimon.webp" alt="homeIcon" class="side-icon paimon" />
|
||||
@@ -163,6 +163,17 @@
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
<v-list-item
|
||||
:title.attr="'留影叙佳期'"
|
||||
value="archive-birthday"
|
||||
:link="true"
|
||||
href="/archive/birthday"
|
||||
>
|
||||
<template #title>留影叙佳期</template>
|
||||
<template #prepend>
|
||||
<img src="/source/UI/act_birthday.png" alt="archive_birthday_icon" class="side-icon" />
|
||||
</template>
|
||||
</v-list-item>
|
||||
<div class="bottom-menu">
|
||||
<v-menu :open-on-click="true" location="end">
|
||||
<template #activator="{ props }">
|
||||
@@ -304,10 +315,6 @@ function login(): void {
|
||||
});
|
||||
}
|
||||
|
||||
async function codeScan(detectedCodes): Promise<void> {
|
||||
console.log("codeScan", detectedCodes);
|
||||
}
|
||||
|
||||
onUnmounted(() => {
|
||||
themeListener();
|
||||
});
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
import { ref, onMounted, onUnmounted } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
import { AppCharacterData } from "../../data";
|
||||
import Mys from "../../plugins/Mys";
|
||||
import { useHomeStore } from "../../store/modules/home";
|
||||
import { createPost, createTGWindow } from "../../utils/TGWindow";
|
||||
|
||||
@@ -17,7 +17,7 @@ const textColor = computed(() => {
|
||||
if (!props.data || !props.data.days) return "var(--tgc-blue-2)";
|
||||
const days = props.data.days;
|
||||
const day = new Date().getDay();
|
||||
if (day === 0 || days.includes(day.toString())) return "var(--tgc-pink-1)";
|
||||
if (day === 0 || days.includes(day)) return "var(--tgc-pink-1)";
|
||||
return "var(--tgc-blue-2)";
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user