<template>
  <div class="home-background">
    <div class="welcome-text"> 欢迎来到DeepOil后台管理系统！ </div>
  </div>
</template>
<script lang="ts" setup></script>
<style scoped>
.home-background {
  background-image: url('../../assets//imgs/bg.jpg'); /* 假设图片放在 assets 目录下 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  position: relative;
}

.home-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.home-background .welcome-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #00195f;
  margin-top: 40vh;
  margin-left: 50%;
}
</style>
