<template>
  <div class="home login-home">
    <div class="home-head">
      <div class="head-logo"></div>
    </div>
    <div class="home-body">
      <router-view />
    </div>
    <div class="home-footer">
      <div class="home-footer-ip">
        <i class="el-icon-monitor"></i><span>{{ appStore.domain }}</span>
      </div>

      <div class="home-footer-version">版本号：{{ appStore.version }}</div>
    </div>
  </div>
</template>

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

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

  const appStore = useAppStore();
</script>
