<template>
  <div class="flex justify-center page">
    <div class="page-content flex flex-col items-center">
      <div class="icon-submit-succsss"></div>
      <div class="tip mt-4 mb-6">提交成功</div>
      <div class="label text-center">
        审核通过后，用户可通过正品授权入口或扫二维码查看 机构及设备正品授权信息
      </div>
      <div class="record-btn mt-4" @click="toClubRecord">认证记录</div>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  layout: 'app',
  computed: {
    ...mapGetters(['supplierInfo', 'authUserId', 'routePrefix']),
  },
  methods: {
    toClubRecord() {
      this.$router.push(`${this.routePrefix}/record/club/detail`)
    },
  },
}
</script>

<style lang="scss" scoped>
@media screen and (min-width: 768px) {
  .page {
    min-height: calc(100vh - 80px - 80px);
    background: #fff;
  }
  .page-content {
    width: 432px;
    padding-top: 140px;

    .icon-submit-succsss {
      width: 64px;
      height: 64px;
      background: url(https://static.caimei365.com/www/authentic/pc/icon-submit-success.png)
        no-repeat center;
      background-size: 64px;
    }

    .tip {
      font-size: 24px;
      font-weight: bold;
      color: #1890ff;
    }
    .label {
      font-size: 18px;
      color: #282828;
      line-height: 1.6;
    }
    .record-btn {
      width: 98px;
      height: 36px;
      color: #fff;
      font-size: 14px;
      text-align: center;
      line-height: 36px;
      border-radius: 4px;
      cursor: pointer;
      @include themify($themes) {
        background: themed('color');
      }
    }
  }
}
</style>
