<template>
  <div class="not-container">
    <img src="@/assets/img/404.png" class="not-img" alt="404" />
    <div class="not-detail">
      <p>很遗憾，您访问的页面不存在</p>
      <el-button type="primary" @click="router.push('/')">返回首页</el-button>
    </div>
  </div>
</template>

<script setup lang="ts" name="404">
import { useRouter } from 'vue-router'
const router = useRouter()
</script>

<style scoped lang="scss">
.not-container{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}
.not-detail{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 80px;
  p{
    font-size: 24px;
  }
}
// @import './index.scss';
</style>
