<template>
  <div class="footer">
    <div class="copyright">
      Copyright &copy; 2020 All Rights Reserved. 江苏开心工作科技有限公司 <a href="https://beian.miit.gov.cn/" target="_blank">苏ICP备15055741号 </a>
      <img src="https://happywork.oss-cn-shanghai.aliyuncs.com/uploadfiles/hpwork/beian.png"/><a :href="beianUrl" target="_blank">苏公网安备 {{beian}}号</a>
    </div>
  </div>
</template>

<script>
  export default {
    name: "LayoutFooter",
    data () {
      return {
        beianUrl: window._CONFIG['beian'][0],
        beian: window._CONFIG['beian'][1]
      }
    },
  }
</script>

<style lang="scss" scoped>
  .footer {
    padding: 0 16px;
    margin: 48px 0 24px;
    text-align: center;

    .links {
      margin-bottom: 8px;

      a {
        color: rgba(0, 0, 0, .45);

        &:hover {
          color: rgba(0, 0, 0, .65);
        }

        &:not(:last-child) {
          margin-right: 40px;
        }
      }
    }
    .copyright {
      color: rgba(0, 0, 0, .45);
      font-size: 14px;
    }
  }
</style>