<template>
  <div id="index">
    <el-row>
      <el-col :span="24" class="main">
        <div class="w_1200">
          <el-col :span="24" class="one">
            <el-col :span="12" class="left">
              <userTwo></userTwo>
            </el-col>
            <el-col :span="12" class="right">
              <expertCom></expertCom>
            </el-col>
          </el-col>
          <el-col :span="24" class="two">
            <el-image :src="centerImage"></el-image>
          </el-col>
          <el-col :span="24" class="thr">
            <el-col :span="12" class="left">
              <achieveFiled></achieveFiled>
            </el-col>
            <el-col :span="12" class="right">
              <achieveCom></achieveCom>
            </el-col>
          </el-col>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
// 数据整理
import userTwo from './parts/userTwo.vue';
// 专家一览
import expertCom from './parts/expertCom.vue';
// 成果领域
import achieveFiled from './parts/achieveFiled.vue';
// 成果单位
import achieveCom from './parts/achieveCom.vue';

import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  name: 'index',
  props: {},
  components: {
    userTwo,
    expertCom,
    achieveFiled,
    achieveCom,
  },
  data: function() {
    return {
      centerImage: require('@common/src/assets/center/sjdt.png'),
    };
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
  },
  watch: {},
};
</script>

<style lang="less" scoped>
.main {
  min-height: 500px;
  padding: 10px 0;
  .one {
    margin: 0 0 10px 0;
    .left {
      width: 49%;
      height: 530px;
      background: #ffffff;
      padding: 15px;
      border-radius: 20px;
      margin: 0 24px 0 0;
      box-shadow: 0 0 5px #409eff;
    }
    .right {
      width: 49%;
      height: 530px;
      background: #ffffff;
      border-radius: 20px;
      padding: 15px;
      box-shadow: 0 0 5px #409eff;
    }
  }
  .two {
    height: 140px;
    overflow: hidden;
    margin: 0 0 10px 0;
  }
  .thr {
    margin: 0 0 10px 0;
    .left {
      width: 49%;
      height: 530px;
      background: #ffffff;
      padding: 15px;
      border-radius: 20px;
      margin: 0 24px 0 0;
      box-shadow: 0 0 5px #409eff;
    }
    .right {
      width: 49%;
      height: 530px;
      background: #ffffff;
      border-radius: 20px;
      padding: 15px;
      box-shadow: 0 0 5px #409eff;
    }
  }
}
</style>
