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