<template>
  <div class="not-found">
    <img class="layout_img" src="@/assets/images/error/404_1.png" alt="404" />
    <el-button type="primary" @click="router.push('/home')">返回首页</el-button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()
</script>

<style scoped lang="scss">
.not-found {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .layout_img {
    width: 800px;
    height: 600px;
  }
}
</style> 