官网页面修改完成
This commit is contained in:
parent
a796818cc6
commit
ff7343e23c
@ -1,11 +1,10 @@
|
||||
<script setup>
|
||||
import { RouterView } from 'vue-router'
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<RouterView />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
<style scoped></style>
|
||||
|
||||
@ -63,10 +63,7 @@ export default {
|
||||
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: absolute;
|
||||
|
||||
}
|
||||
|
||||
.wb {
|
||||
letter-spacing: 1.5px;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user