first commit
This commit is contained in:
25
src/pages/error/NotFound.vue
Normal file
25
src/pages/error/NotFound.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="not-found-page">
|
||||
<div class="text-center">
|
||||
<h1 class="text-6xl font-bold text-gray-300 mb-4">404</h1>
|
||||
<h2 class="text-2xl font-semibold text-gray-700 mb-4">页面不存在</h2>
|
||||
<p class="text-gray-600 mb-8">抱歉,您访问的页面不存在或已被移除。</p>
|
||||
<el-button type="primary" @click="$router.push('/')">
|
||||
返回首页
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
// 404错误页面
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.not-found-page {
|
||||
min-height: 60vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user