<template>
  <div class="main-box">
    <div class="text">权限不足，联系管理员开通把！</div>
    <img class="image" src="/static/image/401.webp"/>
    <el-button @click="goHome">返回首页</el-button>
  </div>
</template>

<script>
export default {
  name: "404",
  methods: {
    goHome() {
      this.$router.push({
        name: 'Dashboard'
      })
    }
  }
}
</script>

<style scoped>
  .main-box{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .text{
      display: flex;
      z-index: 1;
      color: grey;
    }
    .image{
      //margin-top: -8%;
      width: 32%;
      image{
        aspect-ratio: 219/182;
        width: 100%;
      }
    }
  }
</style>
