<!-- 引产入校 -->
<template>
  <div>
    <div class="banner">
      <img src="https://webapp-pub.ezijing.com/www/pc/digital/yx_1/banner.png" />
      <div class="cover">
        <div class="cover-inner">
          <h2>数字技能实训平台</h2>
          <span></span>
          <h6>新商科 · 新工科 · 工业级 · 案例集</h6>
          <p>
            围绕区域经济特色，夯实数字化建设专业岗位基础通用能力，强化基于岗位能力证书的岗位技能实训，打造集院校数字人才培养、全民数字技能提升、企业数字化赋能和产业数字化服务为一体的综合人才服务体系和人才基地。
          </p>
        </div>
      </div>
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">新商科</h2>
        <p class="section-desc">
          深入调研数字经济产业人才需求，契合地方经济产业数字化转型需要，深入推进学校专业数字化改造，以商业数分析、数字营销为核心技能贯穿商科底层逻辑，聚焦专业数字化改造与升级，切实培养地方经济真正需要的数字经济人才。
        </p>
        <div class="gk-list">
          <div class="gk-item active is-border" v-for="item in skList" :key="item.title">
            <div class="gk-item__pic p_icon">
              <img :src="item.icon" />
            </div>
            <div class="gk-item__pic a_icon">
              <img :src="item.iconActive" />
            </div>
            <div class="gk-item__content a_color">
              <h2>{{ item.title }}</h2>
              <p v-html="item.desc"></p>
              <a :href="item.more" v-if="item.more">查看更多</a>
            </div>
          </div>
        </div>
      </div>
    </section>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">新工科</h2>
        <p class="section-desc">
          基于国家信创发展大趋势，建设完全国产自主知识产权的先进信创人才实训区，从“特色软件人才培养”和“国产化信息系统运维”两个路径为国产化替换填补人才。
        </p>
        <div class="gk-list">
          <div class="gk-item active" v-for="item in gkList" :key="item.title">
            <div class="gk-item__pic p_icon" style="padding: 40px 0 30px">
              <img :src="item.icon" />
            </div>
            <div class="gk-item__pic a_icon" style="padding: 40px 0 30px">
              <img :src="item.iconActive" />
            </div>
            <!-- <div class="gk-item__pic" style="padding: 40px 0 30px;"><img :src="item.icon" /></div> -->
            <div class="gk-item__content a_color">
              <h2>{{ item.title }}</h2>
              <p style="margin: 8px 0" v-html="item.desc"></p>
              <a :href="item.more" v-if="item.more">查看更多</a>
            </div>
          </div>
        </div>
      </div>
    </section>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">产品优势</h2>
        <div class="section-pic">
          <img src="https://webapp-pub.ezijing.com/www/pc/digital/yx_1/cpys.png" />
        </div>
      </div>
    </section>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const skList = ref([
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_1.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_1a.png',
    title: '商业数据分析实训平台',
    desc: '培养数字经济底层思维能力的<br />工业级实训平台',
    more: '/digital/yx_1_1',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_2.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_2a.png',
    title: '数字营销实训平台',
    desc: '培养企业数字化转型核心技能的<br />工业级实训平台',
    more: '/digital/yx_1_2',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_3.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_3a.png',
    title: '商业数据分析与应用大赛平台',
    desc: '配套"商业数据分析与应用大赛"<br />训练平台',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_4.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xsk_4a.png',
    title: '金融产品数字化营销实训平台',
    desc: '配套"金融产品数字化营销1+X证书"<br />训练平台',
  },
])

const gkList = ref([
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_1.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_1a.png',
    title: '大数据实训平台',
    desc: '综合培养大数据<br />基础知识及专业知识的<br />一站式实训平台',
    more: '/digital/yx_1_3',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_2.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_2a.png',
    title: '人工智能实训平台',
    desc: '重在人工智能<br />基础知识及应用的<br />一站式实训平台',
    more: '/digital/yx_1_4',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_3.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_3a.png',
    title: '信息安全实训平台',
    desc: '一站式信创信息安全<br />实训平台',
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_4.png',
    iconActive: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1/xgk_4a.png',
    title: '物联网实训平台',
    desc: '全面涵盖5G及边缘计算的<br />新一代物联网<br />实训平台',
  },
])
</script>

<style lang="scss" scoped>
.banner {
  position: relative;
  img {
    width: 100%;
  }
  .cover {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4039);
    line-height: 1;
    color: #ffffff;
    h2 {
      font-size: 42px;
      font-family: Source Han Sans CN-Bold, Source Han Sans CN;
      font-weight: bold;
      line-height: 1;
    }
    h3 {
      margin-bottom: 20px;
      font-size: 24px;
      font-family: Source Han Sans CN-Medium, Source Han Sans CN;
      font-weight: 500;
      line-height: 1;
      letter-spacing: 4px;
    }
    span {
      margin: 24px 0;
      width: 42px;
      height: 3px;
      background: #ffffff;
    }
    h6 {
      margin-bottom: 24px;
      font-size: 20px;
      font-family: Source Han Sans CN-Medium, Source Han Sans CN;
      font-weight: 500;
      line-height: 1;
      letter-spacing: 2px;
    }
    p {
      max-width: 644px;
      font-size: 14px;
      font-family: Source Han Sans CN-Regular, Source Han Sans CN;
      line-height: 26px;
    }
    a {
      margin-top: 28px;
      width: 112px;
      height: 36px;
      font-size: 16px;
      font-family: Source Han Sans CN-Regular, Source Han Sans CN;
      font-weight: 400;
      color: #ffffff;
      line-height: 36px;
      background: #aa1941;
      text-align: center;
    }
  }
  .cover-inner {
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}
.section:nth-child(even) {
  background-color: #fff;
}
.section:nth-child(odd) {
  background-color: #f9f8f8;
}
.section-inner {
  width: 1300px;
  margin: 0 auto;
  padding: 100px 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: 16px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 34px;
  color: #666666;
}
.section-pic {
  text-align: center;
  img {
    max-width: 100%;
  }
}
.is-border {
  // border: 1px solid #d5d5d5;
}
.gk-list {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gk-item {
  min-height: 280px;
  text-align: center;
  // background: #fff;
  transition: all 0.3s;
  &:hover {
    transform: scale(1.06);
    &.active {
      transform: scale(1);
      background-color: #aa1941;
      .p_icon {
        display: none;
      }
      .a_icon {
        display: block;
      }
      .a_color {
        h2,
        p,
        a {
          color: #fff;
        }
      }
    }
  }
  .p_icon {
    display: block;
  }
  .a_icon {
    display: none;
  }
}
.gk-item__pic {
  padding: 46px 0 36px;
  // .p_icon{
  //   display: block;
  // }
  // .a_icon{
  //   display: none;
  // }
}
.gk-item__content {
  padding: 0 12px;
  h2 {
    font-size: 19px;
    font-family: Source Han Sans CN;
    font-weight: 500;
    line-height: 24px;
    color: #aa1941;
  }
  p {
    margin: 12px 0;
    font-size: 14px;
    color: #666;
  }
  a {
    color: var(--main-color);
  }
}
</style>
