Files
2026-11-13 15:23:10 +08:00

38 lines
665 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
</script>
<template>
<div class="not-found">
<div class="code">404</div>
<p class="msg">抱歉,您访问的页面不存在</p>
<van-button type="primary" round @click="router.replace('/messages')">
返回消息页
</van-button>
</div>
</template>
<style scoped>
.not-found {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #f7f8fa;
}
.code {
font-size: 96px;
font-weight: bold;
color: #1989fa;
}
.msg {
margin: 16px 0 32px;
color: #969799;
}
</style>