<template>
  <div class="container">
    <div class="top">
      <Header></Header>
    </div>
    <div class="content">
      <div class="left">
        <div class="left-card">
          <Yjwzfl></Yjwzfl>
        </div>
        <div class="left-card">
          <Wzkytj></Wzkytj>
        </div>
        <div class="left-card">
          <Wzdyqk></Wzdyqk>
        </div>
      </div>
      <div class="center">
        <div class="title">
          <div class="title-item">
            <p class="num">103</p>
            <p class="titlename">应急物资库区数量(个)</p>
          </div>
          <div class="title-item">
            <p class="num">6656</p>
            <p class="titlename">储备物资库总价值(亿元)</p>
          </div>
          <div class="title-item">
            <p class="num">9656</p>
            <p class="titlename">累计救援物资价值(亿元)</p>
          </div>
        </div>
        <div class="map">
          <Map></Map>
        </div>
      </div>
      <div class="right">
        <div class="right-card">
          <Wzcrktj></Wzcrktj>
        </div>
        <div class="right-card">
          <Wzsyqkpm></Wzsyqkpm>
        </div>
        <div class="right-card">
          <Wzshtj></Wzshtj>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import Header from "@/views/DataVisualization/home/components/header.vue";
import Map from "@/views/DataVisualization/home/components/map.vue";
import Yjwzfl from "@/views/DataVisualization/home/components/yjwzfl.vue";
import Wzshtj from "@/views/DataVisualization/home/components/wzshtj.vue";
import Wzkytj from "@/views/DataVisualization/home/components/wzkytj.vue";
import Wzdyqk from "@/views/DataVisualization/home/components/wzdyqk.vue";
import Wzcrktj from "@/views/DataVisualization/home/components/wzcrktj.vue";
import Wzsyqkpm from "@/views/DataVisualization/home/components/wzsyqkpm.vue";
</script>
<style scoped>
.container {
  width: 100%;
  height: 100%;
  background: url("@/assets/DataVisualization/bg.png") no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
}
.container .top {
  width: 100%;
  height: 64px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: "黑体";
}
.container .content {
  flex: 1;
  width: 100%;
  /* height: 100%; */
  display: flex;
  overflow: hidden;
  justify-content: space-around;
}
.container .content .center .title {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 20px;
}
.container .content .center .title .title-item {
  width: 33%;
  height: 160px;
  text-align: center;
  background: url("@/assets/DataVisualization/bg-dz.png") no-repeat;
  background-size: 100% 100%;
  text-align: center;
}
.container .content .center .title .num {
  font-size: 36px;
  color: white;
  text-align: center;
  font-weight: 700;
  margin-top: 60px;
  font-family: "黑体";
  background: linear-gradient(to bottom, #ffffff, rgb(29, 233, 234));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.container .content .center .title .titlename {
  font-size: 18px;
  color: white;
  text-align: center;
  font-weight: 700;
  font-family: "黑体";
  opacity: 0.6;
}
.container .content .center .map {
  width: 100%;
  height: 80%;
}
.container .content .left {
  /* background: skyblue; */
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.container .content .left .left-card {
  width: 100%;
  height: 33%;
  /* background: pink; */
  background: url("@/assets/DataVisualization/外框.png") no-repeat;
  background-size: 100% 100%;
}

.container .content .right {
  /* background: skyblue; */
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.container .content .right .right-card {
  width: 100%;
  height: 33%;
  background: url("@/assets/DataVisualization/外框.png") no-repeat;
  background-size: 100% 100%;
}

.container .content .center {
  width: 40%;
  height: 100%;
}
</style>
