<template>
  <scale-screen
      width="1920"
      height="1080"
      :delay="500"
      :fullScreen="true"
      :boxStyle="{
      background: '#03050C',
      overflow: isScale ? 'hidden' : 'auto',
    }"
      :wrapperStyle="wrapperStyle"
      :autoScale="isScale"
  >
    <div class="index-box">

    </div>
  </scale-screen>

</template>
<script setup lang="ts" name="home">
import {defineAsyncComponent} from "vue";
import {useSettingStore} from "@/stores/setting";
import {storeToRefs} from "pinia";
const ScaleScreen = defineAsyncComponent(() => import('@/components/scale-screen'));

const settingStore = useSettingStore();
const { isScale } = storeToRefs(settingStore);
const wrapperStyle = {};
</script>

<style scoped lang="scss">
.index-box{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-image: url("@/assets/img/page.png");
  background-size: 100% 100%;
}
</style>