<!-- 引产入校 -->
<template>
  <div>
    <div class="banner">
      <img src="https://webapp-pub.ezijing.com/www/pc/digital/banner.png" />
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">数字营销实践教学平台</h2>
        <p class="section-desc">
          数字营销实践教学平台面向企业数字化转型的核心基础通用能力培养需求，实现“贯通”专业集群数字经济底层能力培养，助力高校数字化专业改造，打造高校学生数字化营销思维通识能力的一站式实践教学平台。该平台在成熟工业级数字营销系统基础上，针对高校实践教学场景进行适配化改造，该平台配套提供多个行业综合案例集及配套理论教学资源，实现一站式交钥匙服务，确保高校能够快速搭建并实施数字营销相关课程的同时，还支撑全面教学数据采集能力，为课程评估和专业认证提供了基础支撑。
        </p>
        <h2 class="section-title" style="margin-top: 100px">核心模块</h2>
        <div class="mk-list">
          <div class="mk-item" v-for="item in mkList" :key="item.title">
            <div class="box">
              <img :src="item.icon" />
              <p>{{ item.title }}</p>
            </div>
            <ul>
              <li v-for="item in item.children" :key="item.title">
                <img :src="item.icon" />
                <p>{{ item.title }}</p>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </section>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">数字营销实践教学平台案例资源介绍</h2>
        <p class="section-info">以真实的行业案例为原型，辅之以大量的真实行业数据，按照国家级教材研发标准为参考开发的综合性企业真实场景的实战教学案例</p>
        <div class="zy">
          <table class="table">
            <thead>
              <tr>
                <th>案例名称</th>
                <th>所属行业</th>
              </tr>
            </thead>
            <tbody>
              <tr v-for="item in zyList" :key="item">
                <td>{{ item.title }}</td>
                <td>{{ item.industry }}</td>
              </tr>
            </tbody>
          </table>
          <ul class="num">
            <p>每个案例支撑16个学时实践教学</p>
            <li v-for="item in numList" :key="item.desc">
              <span>{{ item.num }}</span>
              <em>{{ item.desc }}</em>
            </li>
          </ul>
        </div>
        <h3 class="section-subtitle">案例资源示例</h3>
        <div class="tab">
          <ul class="tab-header">
            <li v-for="(item, index) in tabList" :class="{ 'is-active': index === tabActive }" :key="index" @mouseover="tabActive = index">{{ item.title }}</li>
          </ul>
          <ul class="tab-body" v-for="(item, index) in tabList" :key="index" v-if="index === tabActive">
            <li v-for="item in item.children" :key="item"><img :src="item" /></li>
          </ul>
        </div>
        <h2 class="section-title">产品配套服务</h2>
        <h3 class="section-subtitle">标准服务</h3>
        <ul class="bz-list">
          <li v-for="item in bzfwList" :key="item.title">
            <img :src="item.icon" />
            <div class="cover">
              <h4>{{ item.title }}</h4>
              <p v-html="item.desc"></p>
            </div>
          </li>
        </ul>
        <h3 class="section-subtitle">增值服务</h3>
        <ul class="zz-list">
          <li v-for="item in zzfwList" :key="item">{{ item }}</li>
        </ul>
      </div>
    </section>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">交付案例</h2>
        <ul class="al-list">
          <li v-for="item in jfalList" :key="item"><img :src="item" /></li>
        </ul>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // 核心模块
      mkList: [
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1.png',
          title: '综合实践教学平台',
          children: [
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_1.png',
              title: '来自于企业的真实数字营销产品'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_2.png',
              title: '真实的用户触达与营销分析能力'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_3.png',
              title: '实现学校训练和企业实操的无缝衔接'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_4.png',
              title: '强大的一站式自动化营销能力'
            }
          ]
        },
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2.png',
          title: '教学管理平台',
          children: [
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2_1.png',
              title: '一站式理论+实践学习平台'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2_2.png',
              title: '结合配套教学资源实现开箱即用'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2_3.png',
              title: '工业级产品与教学管理的完美适配'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2_4.png',
              title: '全面支撑课程评价和专业建设数据要求'
            }
          ]
        },
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3.png',
          title: '实验管理平台',
          children: [
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_1.png',
              title: '灵活的实验配置实现丰富教学场景支撑'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_2.png',
              title: '实验成绩多维构成及综合评分制'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_3.png',
              title: '实验报告在线灵活填写及自动评分'
            },
            {
              icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_4.png',
              title: '与大赛平台无缝衔接'
            }
          ]
        }
      ],
      zyList: [
        { title: '案例1：美联英语营销案例', industry: '教育' },
        { title: '案例2：叫叫阅读营销案例', industry: '教育' },
        { title: '案例3：海通证券精准营销案例', industry: '金融' },
        { title: '案例4：广发银行信用卡营销案例', industry: '金融' },
        { title: '案例5：全棉时代营销案例', industry: '零售' },
        { title: '案例6：Olay玉兰油营销案例', industry: '日化' },
        { title: '案例7：一汽丰田分渠道营销案例', industry: '汽车' },
        { title: '案例8：RIO微醺系列营销案例', industry: '零售' },
        { title: '案例9：某股份制银行投资理财产品营销案例', industry: '金融' },
        { title: '案例10：百草味夜伴小卤鸭脖抖音营销', industry: '零售' }
      ],
      numList: [
        { num: 10, desc: '个案例' },
        { num: 10, desc: '篇案例原文' },
        { num: 34, desc: '个数据集' },
        { num: 54, desc: '份案例指导书' },
        { num: 54, desc: '套教学PPT' },
        { num: 158, desc: '个教学视频。' }
      ],
      tabActive: 0,
      tabList: [
        {
          title: '案例原文',
          children: [
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_1_1.png',
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_1_2.png',
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_1_3.png'
          ]
        },
        {
          title: '案例指导书',
          children: [
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_2_1.png',
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_2_2.png',
            'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_2_3.png'
          ]
        },
        {
          title: '教学PPT',
          children: ['https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_3_1.png', 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_3_2.png']
        },
        {
          title: '操作视频',
          children: ['https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_4_1.png', 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/alzy_4_2.png']
        }
      ],
      // 标准服务
      bzfwList: [
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_1.png',
          title: '产品服务',
          desc: '产品安装服务<br/>产品配置调试服务<br/>产品免费升级服务<br/>……'
        },
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_2.png',
          title: '资源服务',
          desc: '配套课程资源<br/>课程资源免费更新服务<br/>行业案例免费升级服务<br/>……'
        },
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_3.png',
          title: '培训服务',
          desc: '产品使用培训<br/>产品维护培训<br/>……'
        },
        {
          icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_4.png',
          title: '产品技术支持',
          desc: '产品功能与性能巡检<br/>产品使用分析与建议<br/>产品在线技术支持<br/>产品电话技术支持<br/>……'
        }
      ],
      // 增值服务
      zzfwList: ['顶层设计服务', '师资培训服务', '行业讲座服务', '科研服务', '教学服务'],
      // 交付案例
      jfalList: [
        'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/jfal_1.png',
        'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/jfal_2.png',
        'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/jfal_3.png',
        'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/jfal_4.png'
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.banner {
  img {
    width: 100%;
  }
}
.section:nth-child(even) {
  background-color: #fff;
}
.section:nth-child(odd) {
  background-color: #f9f8f8;
}
.section-inner {
  width: 1200px;
  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-subtitle {
  display: inline-block;
  margin: 36px 0;
  font-size: 20px;
  line-height: 32px;
  color: #424242;
  border-bottom: 1px solid var(--main-color);
}
.section-desc {
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 34px;
  color: #666666;
}
.section-info {
  margin: 40px 0 70px;
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 34px;
  color: #666666;
  text-align: center;
}

.section-pic {
  text-align: center;
  img {
    max-width: 100%;
  }
}
.mk-list {
  display: flex;
  gap: 60px;
  .mk-item {
    flex: 1;
  }
  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 260px;
    background-color: var(--main-color);
    p {
      margin-top: 48px;
      font-size: 18px;
      font-family: Source Han Sans CN-Medium, Source Han Sans CN;
      font-weight: 500;
      color: #ffffff;
    }
  }
  ul {
    margin-top: 40px;
  }
  li {
    margin-top: 25px;
    img {
      margin: 0 18px;
    }
    display: flex;
    align-items: center;
    height: 60px;
    background: #f2f2f2;
    font-size: 15px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #424242;
  }
}
.bz-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  li {
    position: relative;
    transition: all 0.3s;
    &:hover {
      transform: scale(1.06);
    }
  }
  .cover {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 51, 51, 0.6);
  }
  h4 {
    padding: 64px 0 45px;
    font-size: 24px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  p {
    font-size: 16px;
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
    font-weight: 400;
    color: #ffffff;
    line-height: 40px;
    text-align: center;
  }
}
.zz-list {
  display: flex;
  gap: 25px;
  li {
    flex: 1;
    font-size: 22px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #333333;
    line-height: 80px;
    text-align: center;
    border: 1px solid var(--main-color);
    border-left-width: 10px;
  }
}
.al-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  li {
    transition: all 0.3s;
    &:hover {
      transform: scale(1.06);
    }
  }
}
.zy {
  display: flex;
  .table {
    flex: 1;
  }
  .num {
    margin-left: 35px;
  }
}
.num {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  p {
    font-size: 20px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    color: #333333;
    line-height: 30px;
  }
  li {
    span {
      font-size: 30px;
      font-weight: bold;
      font-family: SourceHanSansCN-Bold;
      color: var(--main-color);
    }
    em {
      font-size: 18px;
      font-family: Source Han Sans CN;
    }
  }
}
.table {
  thead {
    th {
      padding: 20px;
      font-size: 18px;
      font-family: Source Han Sans CN;
      font-weight: bold;
      line-height: 22px;
      color: #fff;
      background-color: #aa1941;
      border: 1px solid #aa1941;
    }
    th:nth-child(2) {
      background: #931638;
    }
  }
  tbody {
    td {
      font-size: 16px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      line-height: 1;
      color: #262626;
      padding: 14px;
      border: 1px solid #8b8b8b;
    }
    td:nth-child(1) {
      padding-left: 40px;
    }
    td:nth-child(2) {
      text-align: center;
    }
  }
}
.tab {
  display: flex;
  margin-bottom: 70px;
}
.tab-header {
  margin-right: 38px;
  li {
    width: 270px;
    height: 70px;
    font-size: 24px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-weight: 500;
    line-height: 70px;
    color: #333333;
    background: #fff;
    text-align: center;
    border: 1px solid #d5d5d5;
    cursor: pointer;
    &.is-active {
      color: #fff;
      background-color: var(--main-color);
      border: 1px solid var(--main-color);
    }
    & + li {
      margin-top: 22px;
    }
  }
}
.tab-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--main-color);
}
</style>
