<template>
  <div class="th-error-403">
    <div class="th-error-403-body-con">
      <el-card class="box-card">
        <div class="th-error-403-body-con-title">4
          <span class="th-error-403-0-span">
            <i class="el-icon-th-quanxian" />
          </span>
          <span class="th-error-403-key-span">
            <i class="el-icon-th-shandian" />
          </span>
        </div>
        <p class="th-error-403-body-con-message">You don't have permission</p>
        <div class="th-error-403-btn-con">
          <el-button size="large" style="width: 200px;" type="text" @click="goHome">返回首页</el-button>
          <el-button size="large" style="width: 200px;margin-left: 40px;" type="primary" @click="backPage">返回上一页</el-button>
        </div>
      </el-card>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ThError403',
  methods: {
    backPage() {
      this.$router.go(-1)
    },
    goHome() {
      this.$router.push({
        path: '/'
      })
    }
  }
}
</script>
