<template>
  <el-row class="footer-warpper" :gutter="16">
    <el-col class="map-left" :span="8">
      <div class="business-extend footer-item card-item">
        <Outline />
      </div>
    </el-col>

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

  <!-- foot -->
  <el-row class="map-warpper" :gutter="16">
    <el-col class="map-left" :span="8">
      <div class="footer-item card-item"><Platform /></div>
    </el-col>
    <el-col class="map-right" :span="16">
      <el-row :gutter="16">
        <el-col :span="12">
          <div class="economic-construct card-item">
            <ScientificInvestment />
          </div>
        </el-col>
        <el-col :span="12">
          <div class="card-item">
            <Industrial
              echartsId="technologyInfo"
              echartsTitle="领跑技术(产品)参军情况"
              :cardItems="industryCardItems"
            />
          </div>
        </el-col>
      </el-row>
    </el-col>
  </el-row>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import Platform from "./model/Platform/index.vue";
import Outline from "./model/Outline/index.vue";
import Science from "./model/Science/index.vue";
import Munitions from "./model/Munitions/index.vue";
import ScientificInvestment from "./model/ScientificInvestment/index.vue";
import Industrial from "./model/Industrial/index.vue";
/**
 * 军民协同创新
 */

export default defineComponent({
  components: {
    Platform,
    Outline,
    Science,
    Munitions,
    ScientificInvestment,
    Industrial
  },
  setup() {},
  data() {
    return {
      industryCardItems: [
        { label: "国家部委、军委机关批复立项项目", value: "1113",unit:"个" },
        {
          label: "省直部门新认定的领跑技术(产品)",
          value: "19",
          unit: "个"
        },
      ],
    };
  },
});
</script>
<style lang="scss" scoped>
.card-item {
  background: #fff;
  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;
}

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