<template>
  <div id="technical">
    <el-col :span="24" class="main">
      <el-col :span="12" class="left">
        <el-col :span="1" class="leftTitle">
          <p>专<br />题<br />研<br />讨</p>
          <p></p>
        </el-col>
        <el-col :span="23" class="infoLeft">
          <el-col class="infoLeftList" :span="24" v-for="(item, index) in zhuantiList" :key="index">
            <p>{{ item.publish_time }}</p>
            <p>
              <span class="textOver">{{ item.title }}</span>
              <span>{{ item.content }}</span>
            </p>
          </el-col>
        </el-col>
        <el-col :span="24" class="leftListDown"><span></span><span @click="turnToList('专题研讨')">MORE</span></el-col>
      </el-col>
      <el-col :span="12" class="right">
        <el-col :span="24" class="rightListTop"><span @click="turnToList('技术问答')">MORE</span><span></span></el-col>
        <el-col :span="23" class="infoRight">
          <el-col class="infoRightList" :span="24" v-for="(item, index) in jishuList" :key="index">
            <p>
              <span class="textOver">{{ item.title }}</span
              ><span class="textOver">{{ item.publish_time }}</span>
            </p>
          </el-col>
        </el-col>
        <el-col :span="1" class="rightTitle">
          <p></p>
          <p>技<br />术<br />问<br />答</p>
        </el-col>
      </el-col>
      <el-col :span="24">
        <el-image :src="jishuImage" class="jishuImage"></el-image>
      </el-col>
      <el-col :span="12" class="left">
        <el-col :span="1" class="leftTitle">
          <p>行<br />业<br />研<br />究</p>
          <p></p>
        </el-col>
        <el-col :span="23" class="infoRight">
          <el-col class="infoRightList" :span="24" v-for="(item, index) in hangyeList" :key="index">
            <p>
              <span class="textOver">{{ item.title }}</span
              ><span class="textOver">{{ item.publish_time }}</span>
            </p>
          </el-col>
        </el-col>
        <el-col :span="24" class="leftListDown"><span></span><span @click="turnToList('行业研究')">MORE</span></el-col>
      </el-col>
      <el-col :span="12" class="right">
        <el-col :span="24" class="rightListTop"><span @click="turnToList('教育培训')">MORE</span><span></span></el-col>
        <el-col :span="23" class="infoLeft">
          <el-col class="infoLeftList" :span="24" v-for="(item, index) in jiaoyuList" :key="index">
            <p>{{ item.publish_time }}</p>
            <p>
              <span class="textOver">{{ item.title }}</span>
              <span>{{ item.content }}</span>
            </p>
          </el-col>
        </el-col>
        <el-col :span="1" class="rightTitle">
          <p></p>
          <p>教<br />育<br />培<br />训</p>
        </el-col>
      </el-col>
    </el-col>
  </div>
</template>

<script>
export default {
  name: 'technical',
  props: {},
  components: {},
  data: () => ({
    jishuImage: require('@/assets/live/main2.png'),
    zhuantiList: [
      {
        publish_time: '2020-05-01',
        title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
        content: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
      },
      { publish_time: '2020-05-01', title: '六条数据', content: '六条数据' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
    ],
    jishuList: [
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '十条数据' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
    ],
    hangyeList: [
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '十条数据' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
    ],
    jiaoyuList: [
      {
        publish_time: '2020-05-01',
        title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
        content: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
      },
      { publish_time: '2020-05-01', title: '六条数据', content: '六条数据' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
      { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
    ],
  }),
  created() {},
  computed: {},
  methods: {
    turnToList(column_name) {
      this.$router.push({ path: '/technical/list', query: { column_name: column_name } });
    },
  },
};
</script>

<style lang="less" scoped>
.jishuImage {
  width: 100%;
  height: 100%;
}
.main {
  width: 80%;
  margin: 15px auto;
  float: none;
}
.left {
  float: left;
  height: 500px;
  margin: 15px 0 15px 0;
  overflow: hidden;
}
.leftTitle {
  text-align: center;
  position: relative;
}
.leftTitle p:first-child {
  font-size: 18px;
  color: #044b79;
  font-weight: bold;
}
.leftTitle p:last-child {
  float: left;
  width: 2px;
  height: 402px;
  background-color: #044b79;
  margin: 0 5px;
  position: absolute;
  left: 9px;
}
.infoLeft {
  height: 480px;
  padding: 0 10px;
}
.infoLeftList {
  float: left;
  width: 95%;
  border-bottom: 1px dashed #ccc;
  padding: 8px 0 8px 0;
  height: 82px;
  margin: 0 0 0 5px;
}

.infoLeftList:last-child {
  float: left;
  width: 95%;
  border-bottom: none;
  padding: 15px 0 15px 0;
  height: 80px;
  margin: 0 0 0 5px;
}
.infoLeftList:hover p:last-child span:first-child {
  -webkit-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 0 6px #999;
  box-shadow: 0 0 6px #999;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  color: #005293;
  cursor: pointer;
}
.infoLeftList p:first-child {
  float: left;
  width: 20%;
  font-size: 15px;
  background: #044b79;
  text-align: center;
  color: #fff;
  font-weight: bold;
  padding: 4px 0px;
  margin: 0 0 0 5px;
}
.infoLeftList p:last-child {
  float: right;
  width: 70%;
  padding: 0 0 0 10px;
}
.infoLeftList p:last-child span:first-child {
  float: left;
  width: 90%;
  font-size: 18px;
}
.infoLeftList p:last-child span:last-child {
  float: left;
  width: 90%;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin: 5px 0 0 0;
  color: #666;
}
.leftListDown {
  position: relative;
}
.leftListDown span:first-child {
  display: inline-block;
  width: 80%;
  height: 3px;
  background: rgba(4, 75, 121, 0.37);
  margin: 0 10px 0 0;
  position: absolute;
  left: -10px;
  top: 10px;
}
.leftListDown span:last-child {
  font-size: 16px;
  float: right;
  padding: 0 15px 0 0;
  color: #044b79;
  font-weight: 700;
  cursor: pointer;
}
.right {
  float: right;
  height: 500px;
  overflow: hidden;
  margin: 15px 0 15px 0;
}
.rightListTop {
  position: relative;
}
.rightListTop span:first-child {
  font-size: 16px;
  float: left;
  padding: 0 0 0 15px;
  color: #044b79;
  font-weight: 700;
  cursor: pointer;
}
.rightListTop span:last-child {
  display: inline-block;
  width: 80%;
  height: 3px;
  background: rgba(4, 75, 121, 0.37);
  margin: 0 10px 0 0;
  position: absolute;
  right: -10px;
  top: 10px;
}
.infoRight {
  height: 480px;
  padding: 0 10px;
}
.infoRightList {
  float: left;
  width: 95%;
  padding: 11px 0;
}
.infoRightList:nth-child(5) {
  border-bottom: 1px solid #ccc;
  padding: 0 0 17px 0;
}
.infoRightList:nth-child(6) {
  padding: 11px 0 0 0;
}
.infoRightList:hover p span:first-child {
  -webkit-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 0 6px #999;
  box-shadow: 0 0 6px #999;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  color: #005293;
  cursor: pointer;
}
.infoRightList p {
  font-size: 18px;
}
.infoRightList p span:first-child {
  display: inline-block;
  width: 70%;
  margin: 0 20px 0 10px;
}
.infoRightList p span:last-child {
  display: inline-block;
  width: 21%;
  text-align: center;
  font-size: 16px;
}
.rightTitle {
  text-align: center;
}
.rightTitle p:first-child {
  width: 2px;
  height: 370px;
  background: #044b79;
  position: relative;
  left: 10px;
  top: -20px;
}
.rightTitle p:last-child {
  font-size: 18px;
  font-weight: bold;
  color: #044b79;
}
</style>
