官网页面修改完成

This commit is contained in:
fanshuai 2025-04-03 16:10:19 +08:00
parent a796818cc6
commit ff7343e23c
3 changed files with 9 additions and 6 deletions

View File

@ -1,11 +1,10 @@
<script setup> <script setup>
import { RouterView } from 'vue-router' import { RouterView } from 'vue-router'
</script> </script>
<template> <template>
<RouterView /> <RouterView />
</template> </template>
<style scoped> <style scoped></style>
</style>

View File

@ -63,10 +63,7 @@ export default {
} }
.logo {
position: absolute;
}
.wb { .wb {
letter-spacing: 1.5px; letter-spacing: 1.5px;

View File

@ -12,6 +12,13 @@ const router = createRouter({
}, },
], ],
scrollBehavior(savedPosition) {
if (performance.navigation.type === 1) {
return { x: 0, y: 0 }
}
return savedPosition || { x: 0, y: 0 }
}
}) })
export default router export default router