<template>
  <div class="flex flex-col justify-center page-container">
    <div class="text-center">
      <img src="~@/assets/images/exception/403.svg" alt="" />
    </div>
    <div class="text-center">
      <h1 class="text-base text-gray-500">正在开发中...</h1>
      <el-button type="primary" @click="goHome">回到首页</el-button>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { useRouter } from 'vue-router';
  const router = useRouter();
  function goHome() {
    router.push('/');
  }
</script>

<style lang="scss" scoped>
  .page-container {
    width: 100%;
    border-radius: 4px;
    padding-top: 100px;

    .text-center {
      h1 {
        color: var(--el-color-info);
        padding: 20px 0;
      }
    }

    img {
      width: 350px;
      margin: 0 auto;
    }
  }
</style>
