<template>
  <div class="bg">
    <CyImage src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameSecond/background3.png" alt="" class="bg-img"/>
    <!-- 背景 -->
  </div>
</template>

<style lang="scss" scoped>
.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1px;
  .bg-img {
    height: 100%;
    width: 100%;
    background-image: url(https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameSecond/background3.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    object-fit: cover;
    pointer-events: none;
  }
}
</style>
