<template>
  <el-row class="map-warpper" :gutter="16">
    <el-col class="map-left" :span="8">
      <div class="footer-item card-item">
        <StrongArmy />
      </div>
    </el-col>
    <el-col class="map-right" :span="16">
      <el-row :gutter="16">
        <el-col :span="12">
          <div class="economic-construct card-item">
            <EconomicConstruct />
          </div>
        </el-col>
        <el-col :span="12">
          <div class="card-item">
            <Science />
          </div>
        </el-col>
      </el-row>
    </el-col>
  </el-row>

  <!-- foot -->
  <el-row class="footer-warpper" :gutter="16">
    <el-col class="map-right" :span="16">
      <div class="footer-item card-item">
        <Munitions />
      </div>
    </el-col>

    <el-col class="map-left" :span="8">
      <div class="business-extend footer-item card-item">
        <Person />
      </div>
    </el-col>
  </el-row>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import StrongArmy from "./model/StrongArmy/index.vue";
import Person from "./model/Person/index.vue";
import Science from "./model/Science/index.vue";
import Munitions from "./model/Munitions/index.vue";
import EconomicConstruct from "./model/EconomicConstruct/index.vue";

export default defineComponent({
  components: {
    StrongArmy,
    Person,
    Science,
    Munitions,
    EconomicConstruct,
  },
  setup() {},
  data() {
    return {
      industryCardItems: [
        { label: "国防科技工业产值总量", value: "1113.4" },
        {
          label: "国防科技工业产值总量增长率",
          value: "19",
        },
      ],
      extendCardItems: [
        {
          label: "参与军民融合产业互动的规模以上企业主营收入",
          value: "3545.5",
        },
        {
          label: "参与军民融合产业互动的规模以上企业主营收入增长率",
          value: "19",
        },
      ],
    };
  },
});
</script>
<style lang="scss" scoped>
.card-item {
  background: rgba(25, 125, 237, 15%);
  border-radius: 5px;
  padding: 15px 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  // box-shadow: 2px 2px 10px #eee;
  flex: 1;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #10529a;
}

.map-warpper {
  box-sizing: border-box;
  .economic-construct {
    flex: 1;
  }
  .map-right {
    .card-item {
      flex: 1;
    }
  }
}
.footer-warpper {
  margin-top: 20px;
}
</style>
