<template>
  <div class="env-check h-full">
    <img src="../../assets/imgs/env_check.png" />
    <div class="txt">
      <p class="title">正在检测</p>
      <p class="desc">环境检测中，请稍等...</p>
    </div>
  </div>
</template>
<script name="EnvCheck" lang="ts" setup>
import { onMounted, ref } from "vue";

const emit = defineEmits(["mounted"]);
onMounted(() => {
  emit("mounted");
});
</script>
<style lang="less" scoped>
.env-check {
  padding: 50px;
  text-align: center;
  position: relative;
  img {
    height: 100%;
    max-width: 100%;
  }
  .txt {
    position: absolute;
    bottom: 75px;
    width: 100%;
    left: 0;
    .title {
      font-size: 24px;
      line-height: 36px;
      font-weight: bold;
    }
    .desc {
      color: @text-color3;
      font-size: 18px;
      line-height: 26px;
    }
  }
}
</style>
