NotFound.vue
461 Bytes
<template>
<div class="nf">
<div>
<div class="nf-code">404</div>
<p class="muted">页面不存在</p>
<router-link to="/"><el-button type="primary" class="mt-4">返回工作台</el-button></router-link>
</div>
</div>
</template>
<style scoped>
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf-code { font-size: 44px; font-weight: 700; color: var(--c-border-strong); }
</style>