<template>
  <div class="container">
    <div class="top">
      <Header></Header>
    </div>
    <div class="content">
      <div class="left">
        <div class="left-title">物资储备情况</div>
        <div class="left-card">
          <Wzcbqk msg="帐篷"></Wzcbqk>
        </div>
        <div class="left-card">
          <Wzcbqk msg="被服"></Wzcbqk>
        </div>
        <div class="left-card">
          <Wzcbqk msg="用具"></Wzcbqk>
        </div>
      </div>
      <div class="center">
        <div class="title">
          <div class="title-item">
            <div class="title_icon1"></div>
            <p class="titlename">储备物资库总价值(亿元)</p>
            <p class="num">6,656</p>
          </div>
          <div class="title-item">
            <div class="title_icon2"></div>
            <p class="titlename">累计救援物资价值(亿元)</p>
            <p class="num">6,656</p>
          </div>
        </div>
        <div class="center_title">
          <Wzcb></Wzcb>
        </div>
        <div class="center_content">
          <Shjl></Shjl>
        </div>
      </div>
      <div class="right">
        <div class="right-title">出入库记录</div>
        <div class="right-card">
          <Crkjl></Crkjl>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import Header from "@/views/DataVisualization/detailPage/components/header.vue";
import Wzcbqk from "@/views/DataVisualization/detailPage/components/wzcbqk.vue";
import Crkjl from "@/views/DataVisualization/detailPage/components/crkjl.vue";
import Wzcb from "@/views/DataVisualization/detailPage/components/wzcb.vue";
import Shjl from "@/views/DataVisualization/detailPage/components/shjl.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%;
  padding: 0 30px 40px;
  box-sizing: border-box;
  /* height: 100%; */
  display: flex;
  overflow: hidden;
  justify-content: space-around;
}
.container .content .center {
  width: 800px;
  height: 100%;
  /* background: #244984; */
}
.container .content .center .center_title {
  width: 100%;
  height: 45%;
  /* background: #0d4aabcb; */
}
.container .content .center .center_content {
  width: 100%;
  height: 35%;
}
.container .content .center .title {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: 20px;
}
.container .content .center .title .title-item {
  width: 377px;
  height: 136px;
  text-align: center;
  background: url("@/assets/emergencyImg/center_title_bg.png") no-repeat;
  background-size: 100% 100%;
  position: relative;
  /* text-align: center; */
}
.title-item .title_icon1{
  width: 55px;
  height: 55px;
  background: url("@/assets/emergencyImg/center_top1.png") no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 35px;
  left: 44px;
}
.title-item .title_icon2{
  width: 57px;
  height: 49px;
  background: url("@/assets/emergencyImg/center_top2.png") no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 35px;
  left: 44px;
}
.container .content .center .title .num {
  font-size: 36px;
  color: white;
  text-align: center;
  font-weight: 700;
  margin-top: -5px;
  margin-left: 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: 16px;
  margin-left: 110px;
  margin-top: 30px;
  color: white;
  text-align: center;
  /* font-weight: 700; */
  font-family: "黑体";
  opacity: 0.9;
}
.container .content .left {
  width: 540px;
  /* height: calc(100vh - 20px); */
  height: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-around; */
  background: url("@/assets/emergencyImg/crk_out_bg.png") no-repeat;
  background-size: 100% 100%;
}

.container .content .left .left-card {
  width: 100%;
  height: 30%;
}
.container .content .left .left-title {
  font-size: 24px;
  color: white;
  text-align: left;
  font-weight: 700;
  margin-left: 50px;
  margin-top: -10px;
  font-family: "黑体";
  background: linear-gradient(to bottom, #ffffff, rgb(0, 195, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container .content .right {
  width: 540px;
  height: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-around; */
  background: url("@/assets/emergencyImg/crk_out_bg.png") no-repeat;
  background-size: 100% 100%;
}
.container .content .right .right-card {
  width: 100%;
  height: 100%;
}

.container .content .right .right-title {
  font-size: 24px;
  color: white;
  text-align: left;
  font-weight: 700;
  margin-left: 50px;
  margin-top: -10px;
  font-family: "黑体";
  background: linear-gradient(to bottom, #ffffff, rgb(0, 195, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
</style>
