<!--
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-07-26 17:21:48
 * @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
 * @LastEditTime: 2022-08-15 17:05:29
 * @FilePath: \exam-vue\src\views\login\components\LoginLayout.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="login-container">
    <div class="login-box">
      <div class="logo-box">
        <div>
          <a class="logo-title">
            <img :src="siteData.backLogo" class="logo-img" >
            <span class="site-title">{{ siteData.siteName }}</span>
          </a>
        </div>
      </div>

      <app-main />
    </div>

    <div class="footer" v-html="siteData.copyRight" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import AppMain from '@/layout/components/AppMain'

export default {
  name: 'LoginLayout',
  components: { AppMain },
  computed: {
    ...mapGetters(['siteData'])
  }
}
</script>

<style lang="scss" scoped>
@import "~@/styles/login.scss";
</style>

