<template>
  <div class="error-page">
    <div class="img" />
    <div class="content">
      <h1>404</h1>
      <div class="desc">
        抱歉，你访问的页面不存在或仍在开发中
      </div>
      <div class="actions">
        <router-link :to="{path:'/'}">
          <el-button type="primary">
            返回首页
          </el-button>
        </router-link>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'Error404'
}
</script>
<style lang="less" scoped>
  .error-page {
    background: #f0f2f5;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    .img {
      margin-top: -30px;
      margin-right: 80px;
      height: 360px;
      width: 100%;
      max-width: 430px;
      background-repeat: no-repeat;
      background-position: 50% 50%;
      background-size: contain;
      background-image: url('~@/assets/img/common/icon/404.svg');
    }

    .content {
      margin-top: -30px;

      h1 {
        color: #434e59;
        font-size: 72px;
        font-weight: 600;
        line-height: 72px;
        margin-bottom: 24px;
      }

      .desc {
        color: rgba(0, 0, 0, 0.45);
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 16px;
      }
    }
  }
</style>
