<template>
  <div class="error">
    <div class="container">
      <div class="link-go">
        <a href="javascript:history.go(-1)">返回上一页</a>
        <a href="/">首页</a>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    props: ['error'],
    layout: 'main'
  }
</script>

<style type="text/scss" lang="scss" scoped>
  .error{
    height:71vh;
    background: url(/err.png)no-repeat top center;
    .link-go{
      text-align: center;
      margin:0 auto;
      padding-top:300px;
      a{
        display:inline-block;
        padding:20px;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
</style>
