2023-04-21 09:39:56 +00:00
|
|
|
<script setup lang="ts">
|
2023-05-02 15:22:46 +00:00
|
|
|
import KUNGalgameTopBar from '@/components/KUNGalgameTopBar.vue'
|
|
|
|
import MainPageContent from './content/MainPageContent.vue'
|
|
|
|
import MainPageFooter from './footer/MainPageFooter.vue'
|
2023-05-27 02:39:57 +00:00
|
|
|
|
2023-05-27 10:52:54 +00:00
|
|
|
import { currBackground } from '@/hooks/useBackgroundPicture'
|
2023-04-14 13:58:13 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<!-- 可视部分的容器 -->
|
2023-05-27 10:52:54 +00:00
|
|
|
<div class="visual-wrapper" :style="{ backgroundImage: currBackground }">
|
2023-05-02 09:44:23 +00:00
|
|
|
<KUNGalgameTopBar :isMainPage="true" />
|
2023-04-18 09:26:47 +00:00
|
|
|
<MainPageContent />
|
|
|
|
<MainPageFooter />
|
2023-04-14 13:58:13 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-05-25 07:55:30 +00:00
|
|
|
<style lang="scss" scoped>
|
2023-04-14 13:58:13 +00:00
|
|
|
.visual-wrapper {
|
|
|
|
height: 1500px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2023-05-01 15:06:46 +00:00
|
|
|
min-width: 800px;
|
2023-06-06 13:56:18 +00:00
|
|
|
background-color: var(--kungalgame-white);
|
2023-04-14 13:58:13 +00:00
|
|
|
}
|
|
|
|
</style>
|