mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-11 09:08:14 +08:00
🐛 fix(news): 修复跳转路径错误,调整侧边栏排布
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user