You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
649 B
38 lines
649 B
<template>
|
|
<div class="not-found">
|
|
<h1>404</h1>
|
|
<p>页面不存在</p>
|
|
<el-button type="primary" @click="router.push('/')">返回首页</el-button>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useRouter } from 'vue-router'
|
|
|
|
const router = useRouter()
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.not-found {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
background: var(--bg0);
|
|
color: var(--t1);
|
|
|
|
h1 {
|
|
font-size: 120px;
|
|
margin: 0;
|
|
color: var(--blu);
|
|
}
|
|
|
|
p {
|
|
font-size: 24px;
|
|
color: var(--t2);
|
|
margin: 20px 0 40px;
|
|
}
|
|
}
|
|
</style>
|