2023-05-10 18:08:46 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import KUNGalgameTopBar from '@/components/KUNGalgameTopBar.vue'
|
2023-05-27 02:39:57 +00:00
|
|
|
// 导入背景图片
|
2023-05-27 10:52:54 +00:00
|
|
|
import { currBackground } from '@/hooks/useBackgroundPicture'
|
2023-06-05 02:52:35 +00:00
|
|
|
import KUNGalgameSearchBox from '@/components/KUNGalgameSearchBox.vue'
|
|
|
|
import Tags from './components/Tags.vue'
|
|
|
|
import Line from './components/Line.vue'
|
|
|
|
const list = [
|
|
|
|
{
|
|
|
|
index: 1,
|
|
|
|
image: '/src/assets/images/bg/bg1-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 2,
|
|
|
|
image: '/src/assets/images/bg/bg2-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 3,
|
|
|
|
image: '/src/assets/images/bg/bg3-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 4,
|
|
|
|
image: '/src/assets/images/bg/bg4-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 5,
|
|
|
|
image: '/src/assets/images/bg/bg5-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 6,
|
|
|
|
image: '/src/assets/images/bg/bg6-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 7,
|
|
|
|
image: '/src/assets/images/bg/bg7-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 8,
|
|
|
|
image: '/src/assets/images/bg/bg8-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
index: 9,
|
|
|
|
image: '/src/assets/images/bg/bg9-m.png',
|
|
|
|
alt: 'azkhx',
|
|
|
|
},
|
|
|
|
]
|
2023-05-10 18:08:46 +00:00
|
|
|
</script>
|
2023-05-01 15:58:54 +00:00
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="content-wrapper">
|
2023-05-27 10:52:54 +00:00
|
|
|
<div class="visual-wrapper" :style="{ backgroundImage: currBackground }">
|
2023-05-01 15:58:54 +00:00
|
|
|
<!-- 头部 -->
|
2023-05-10 18:08:46 +00:00
|
|
|
<KUNGalgameTopBar />
|
2023-05-01 15:58:54 +00:00
|
|
|
<!-- 帖子池容器 -->
|
|
|
|
<div class="pool-container">
|
2023-06-05 02:52:35 +00:00
|
|
|
<KUNGalgameSearchBox style="width: 100%; height: 40px" />
|
|
|
|
<Line />
|
|
|
|
<Tags />
|
2023-05-01 15:58:54 +00:00
|
|
|
<!-- 帖子池内容区容器 -->
|
|
|
|
<div class="content-container">
|
|
|
|
<!-- 帖子池单个帖子列容器 -->
|
2023-06-05 02:52:35 +00:00
|
|
|
<div class="single-topic-column-container"></div>
|
2023-05-01 15:58:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 右侧的功能栏 -->
|
2023-06-05 02:52:35 +00:00
|
|
|
<div class="kungalgame-right-bar"></div>
|
2023-05-01 15:58:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-05-25 07:55:30 +00:00
|
|
|
<style lang="scss" scoped>
|
2023-05-01 15:58:54 +00:00
|
|
|
.visual-wrapper {
|
|
|
|
height: 1500px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
min-width: 700px;
|
|
|
|
}
|
|
|
|
/* 帖子池容器 */
|
|
|
|
.pool-container {
|
|
|
|
/* 最小宽度 */
|
|
|
|
min-width: 900px;
|
|
|
|
/* 最大宽度 */
|
|
|
|
max-width: 1450px;
|
|
|
|
/* 占页面的宽度比例 */
|
|
|
|
width: 90%;
|
|
|
|
/* 居中 */
|
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
/* 不收缩 */
|
|
|
|
flex-shrink: 0;
|
|
|
|
/* 竖直方向弹性盒 */
|
|
|
|
flex-direction: column;
|
|
|
|
/* 毛玻璃背景 */
|
|
|
|
backdrop-filter: blur(5px);
|
2023-05-25 07:55:30 +00:00
|
|
|
background-color: $kungalgame-trans-white-5;
|
2023-05-01 15:58:54 +00:00
|
|
|
border-radius: 7px;
|
|
|
|
}
|
|
|
|
/* 帖子池内容区容器 */
|
|
|
|
.content-container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
/* 帖子池单个帖子列容器 */
|
|
|
|
.single-topic-column-container {
|
|
|
|
/* 根据页面宽度增长 */
|
|
|
|
width: 1px;
|
|
|
|
flex-grow: 1;
|
|
|
|
/* 5 行的行距 */
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
/* 右侧的功能栏 */
|
|
|
|
.kungalgame-right-bar {
|
|
|
|
/* 位置 fix */
|
|
|
|
position: fixed;
|
|
|
|
top: 70%;
|
|
|
|
/* 距离右侧的距离 */
|
|
|
|
right: 1%;
|
|
|
|
z-index: 7;
|
|
|
|
/* 居中 */
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
</style>
|