<!-- 数字经济人才公共服务平台 -->
<template>
  <div>
    <div class="banner"><img src="https://webapp-pub.ezijing.com/www/pc/practice/skill/banner.jpg" /></div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">数字经济人才技能中心</h2>
        <p class="section-desc">
          先引入、后开发，形成官方评价+行业评价+企业评价三层级的认证体系
        </p>
        <div class="section-pic">
          <img src="https://webapp-pub.ezijing.com/www/pc/practice/skill/001.png" />
        </div>
        <div class="system-list">
          <div class="system-item" v-for="(item, index) in list" :key="index">
            <h3>{{ item.title }}</h3>
            <p v-html="item.desc"></p>
          </div>
        </div>
      </div>
    </section>
    <section class="section">
      <div class="section-inner">
        <div class="project-list">
          <div class="project-item" v-for="(item, index) in list2" :key="index">
            <div class="project-item__pic"><img :src="item.image_url" /></div>
            <div class="project-item__content">
              <p>{{ item.title }}</p>
              <a :href="item.href" target="_blank">
                <el-button type="primary">点击进入</el-button>
              </a>
            </div>
          </div>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          title: '引入官方认证体系',
          desc: ` 引入工信部“互联网营销师”“商业数据分析师”（已授权清控紫荆）等证书，面向企业职工进行认证； <br/>   
     引入教育部金融产品数字化营销（评价组织：清控紫荆）及其他“1+X”证书，为高校学生提供认证服务。`
        },
        {
          title: '引入社会认证体系',
          desc: '引入“第三方评价组织”中的成熟项目，培养与区域产业高适配度的人才。'
        },
        {
          title: '自主开发认证体系',
          desc:
            '以“产教融合实训基地”为主体，向人社部门（国家、省级、市级三级）申报第三方评价组织，联合龙头企业开发新职业，报请人社部审批、发布。'
        }
      ],
      list2: [
        {
          image_url: 'https://webapp-pub.ezijing.com/www/pc/practice/skill/1.png',
          title: '1+X金融产品数字化营销职业技能等级证书',
          href: 'https://x.ezijing.com/'
        },
        {
          image_url: 'https://webapp-pub.ezijing.com/www/pc/practice/skill/2.png',
          title: '私人财富风险管理顾问-认证证书-清控紫荆教育财富人才培育品牌',
          href: 'https://prp.ezijing.com/'
        },
        {
          image_url: 'https://webapp-pub.ezijing.com/www/pc/practice/skill/3.png',
          title: '人社部职业证书',
          href: 'https://vst.ezijing.com/'
        }
      ]
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.banner {
  img {
    width: 100%;
  }
}
.section:nth-child(odd) {
  background-color: #f9f8f8;
}
.section:nth-child(even) {
  background-color: #fff;
}
.section-inner {
  width: 1200px;
  margin: 0 auto;
  padding: 90px 0;
}
.section-title {
  margin-bottom: 36px;
  font-size: 30px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 32px;
  color: #333333;
  text-align: center;
}
.section-desc {
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 34px;
  color: #333333;
  text-align: center;
}
.section-pic {
  text-align: center;
  img {
    max-width: 100%;
  }
}
.system-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px;
}
.system-item {
  position: relative;
  padding: 50px 30px;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);

  h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-family: Source Han Sans CN;
    font-weight: 500;
    line-height: 34px;
    color: #333333;
  }
  p {
    font-size: 16px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 32px;
    color: #666666;
  }
}
.system-item + .system-item {
  &::before {
    content: '';
    position: absolute;
    left: -58px;
    width: 58px;
    top: 50%;
    border-top: 1px dashed var(--main-color);
    transform: translateY(-50%);
  }
  &::after {
    content: '';
    position: absolute;
    left: -29px;
    top: 50%;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left: 5px solid var(--main-color);
    transform: translateY(-50%);
  }
}
.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-item {
  background-color: #fff;
  &:hover {
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
  }
}

.project-item__content {
  padding: 22px;
  text-align: center;

  p {
    height: 48px;
    font-size: 16px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 24px;
    color: #333333;
  }
  .el-button {
    margin-top: 18px;
    width: 130px;
    border-radius: 0;
  }
}
</style>
