<template>
  <div class="main_content">
    <div class="content_com">
      <h5 class="gov_tit">企业</h5>
      <ul class="gov_con">
        <li v-for="(item, index) in companyList" :key="index">
          <div class="con_desc" v-html="item.desc"></div>
        </li>
      </ul>
    </div>
    <img class="com_img" src=" https://webapp-pub.oss-cn-beijing.aliyuncs.com/www/pc/home/company/clip.png" alt="" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      companyList: [
        {
          desc: `数字化转型 <br />高级研修<br />项目`
        },
        {
          desc: '成功案例'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.main_content {
  position: relative;
  .content_com {
    padding: 30px;
    box-sizing: border-box;
    .gov_tit {
      font-size: 20px;
      font-weight: 500;
      color: #333333;
      border-left: 4px solid #aa1941;
      padding-left: 6px;
      line-height: 1;
    }
    .gov_con {
      margin-top: 31px;
      display: flex;
      flex-direction: column;
      align-items: center;

      li {
        width: 100px;
        height: 134px;
        border: 1px solid #dbdbdb;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        white-space: nowrap;
        cursor: pointer;
        .con_desc {
          font-size: 14px;
          font-weight: 400;
          line-height: 1.5;
          color: #555454;
          text-align: center;
          margin-top: 12px;
        }
        &:hover {
          background: #aa1941;
          .con_desc {
            color: #ffffff;
          }
        }
      }
      li:nth-child(1) {
        margin-top: 58px;
      }
      li:nth-child(2) {
        margin-top: 40px;
      }
    }
  }
  .com_img {
    width: 200px;
    height: 218.79px;
    position: absolute;
    top: 292px;
  }
}
</style>
