<template>
  <div class="_404">
    <img src="/svg/404.svg" style="height:56vh" />
    <p class="tip">页面没有找到</p>
    <router-link class="to_home" to="/">返回首页</router-link>
  </div>
</template>

<style lang="scss" scoped>
._404 {
  padding-top: 16vh;
  text-align: center;

  .tip {
    margin: 30px 0 50px;
    font-size: 20px;
    font-weight: bold;
    color: $--color-primary;
  }

  .to_home {
    width: 150px;
    line-height: 36px;
    display: inline-block;
    border: 1px solid $--color-primary;
    color: $--color-primary;
    font-weight: bold;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;

    &:hover {
      background-color: $--color-primary;
      color: #fff;
      opacity: 0.8;
    }
  }
}
</style>
