<template>
  <div class="login-home">
    <div class="login login-box">
      <div class="login-theme">
        <h2>
          欢迎登录 <br />
          高校考试管理平台
        </h2>

        <p class="login-webinfo">
          <a href="http://www.qmth.com.cn" target="_blank"
            >Copyright © 2024 启明泰和</a
          >
          <br />
          <a href="https://beian.miit.gov.cn/" target="_blank">
            鄂ICP备12000033号-3</a
          >
          <span v-if="appStore.version"> v{{ appStore.version }}</span>
        </p>
      </div>
      <div class="login-body">
        <div>
          <router-view></router-view>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
  import { useAppStore } from '@/store';

  defineOptions({
    name: 'LoginHome',
  });

  const appStore = useAppStore();
</script>
