🐛 fix(news): 修复跳转路径错误,调整侧边栏排布

This commit is contained in:
BTMuli
2023-04-11 12:28:37 +08:00
parent f626d5c000
commit 20917aa8c2
2 changed files with 6 additions and 7 deletions

View File

@@ -29,6 +29,11 @@
<img src="../assets/icons/board.svg" alt="annoIcon" class="side-icon">
</template>
</v-list-item>
<v-list-item title="成就" value="achievements" link href="/achievements">
<template #prepend>
<img src="../assets/icons/achievements.svg" alt="achievementsIcon" class="side-icon">
</template>
</v-list-item>
<v-divider />
<v-list-group value="mihoyo" fluid>
<template #activator="{ props }">
@@ -75,12 +80,6 @@
</v-list-item>
</v-list-group>
<v-divider />
<v-list-item title="成就" value="achievements" link href="/achievements">
<template #prepend>
<img src="../assets/icons/achievements.svg" alt="achievementsIcon" class="side-icon">
</template>
</v-list-item>
<v-divider />
<v-list-group value="database" fluid>
<template #activator="{ props }">
<v-list-item title="数据库" v-bind="props">

View File

@@ -132,7 +132,7 @@ onMounted(async () => {
});
async function switchNews () {
await router.push("/news");
await router.push("/news/2");
}
async function toPost (item: BTMuli.Genshin.Announcement.ListCard) {