AIzhushou-screen/src/views/index/index.vue

88 lines
2.3 KiB
Vue
Raw Normal View History

2024-05-22 08:44:08 +08:00
<script setup lang="ts">
import ItemWrap from "@/components/item-wrap";
2024-05-23 15:47:12 +08:00
import zkItem from "@/components/zk-item";
2024-05-22 08:44:08 +08:00
import LeftTop from "./left-top.vue";
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";
</script>
<template>
<div class="index-box">
<div class="contetn_left">
2024-05-23 15:47:12 +08:00
<zkItem class="contetn_left-top contetn_lr-item" title="迎新进度">
2024-05-22 08:44:08 +08:00
<LeftTop />
2024-05-23 15:47:12 +08:00
</zkItem>
<zkItem class="contetn_left-center contetn_lr-item" title="">
2024-05-22 08:44:08 +08:00
<LeftCenter />
2024-05-23 15:47:12 +08:00
</zkItem>
<zkItem
2024-05-22 08:44:08 +08:00
class="contetn_left-bottom contetn_lr-item"
2024-05-23 15:47:12 +08:00
title=""
2024-05-22 08:44:08 +08:00
style="padding: 0 10px 16px 10px"
>
<LeftBottom />
2024-05-23 15:47:12 +08:00
</zkItem>
2024-05-22 08:44:08 +08:00
</div>
<div class="contetn_center">
2024-05-23 15:47:12 +08:00
<CenterMap class="contetn_center_top" title="全国地图" />
2024-05-22 08:44:08 +08:00
</div>
<div class="contetn_right">
2024-05-23 15:47:12 +08:00
<zkItem class="contetn_left-bottom contetn_lr-item" title="缴费人数">
2024-05-22 08:44:08 +08:00
<RightTop />
2024-05-23 15:47:12 +08:00
</zkItem>
<zkItem
2024-05-22 08:44:08 +08:00
class="contetn_left-bottom contetn_lr-item"
2024-05-23 15:47:12 +08:00
title="当日缴费人数"
2024-05-22 08:44:08 +08:00
style="padding: 0 10px 16px 10px"
>
<RightCenter />
2024-05-23 15:47:12 +08:00
</zkItem>
<zkItem class="contetn_left-bottom contetn_lr-item" title="报道人数区域排名 ">
2024-05-22 08:44:08 +08:00
<RightBottom />
2024-05-23 15:47:12 +08:00
</zkItem>
2024-05-22 08:44:08 +08:00
</div>
</div>
</template>
<style scoped lang="scss">
.index-box {
width: 100%;
display: flex;
min-height: calc(100% - 64px);
justify-content: space-between;
}
//左边 右边 结构一样
.contetn_left,
.contetn_right {
display: flex;
flex-direction: column;
justify-content: space-around;
position: relative;
width: 540px;
box-sizing: border-box;
flex-shrink: 0;
2024-05-23 15:47:12 +08:00
border: 2px solid transparent;
border-radius: 16px;
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
background-image: linear-gradient(to bottom, #003, #000), linear-gradient(0deg,rgba(43,74,158,0.18),#5999FC);
2024-05-22 08:44:08 +08:00
}
.contetn_center {
flex: 1;
2024-05-23 15:47:12 +08:00
// margin: 0 54px;
2024-05-22 08:44:08 +08:00
display: flex;
flex-direction: column;
justify-content: space-around;
2024-05-23 15:47:12 +08:00
2024-05-22 08:44:08 +08:00
}
.contetn_lr-item {
height: 310px;
}
</style>