|
@@ -1,6 +1,9 @@
|
|
|
<script setup>
|
|
|
import { inject } from "vue"
|
|
|
+import useSizeAdapt from "@/useFunctions/useSizeAdapt"
|
|
|
const $env = inject("$env")
|
|
|
+const { windowSizeInCssForRef, windowSizeWhenDesignForRef } = useSizeAdapt()
|
|
|
+
|
|
|
|
|
|
</script>
|
|
|
|
|
@@ -22,16 +25,26 @@ const $env = inject("$env")
|
|
|
height: 100%;
|
|
|
overflow: hidden;
|
|
|
background: url(@/assets/images/pc-bg.png);
|
|
|
- background-size: cover;
|
|
|
+ background-size: 100% 100%;
|
|
|
backdrop-filter:blur(20px);
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
.code-box{
|
|
|
position: absolute;
|
|
|
- bottom: 30px;
|
|
|
+ bottom:calc(81 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
left: 50%;
|
|
|
- transform: translateX(-50%)
|
|
|
+ transform: translateX(-50%);
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: #ffffff;
|
|
|
+ font-family: 'KingHwa_OldSong';
|
|
|
+ font-size: calc(18 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ img{
|
|
|
+ margin-bottom: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|