<!-- 引产入校 -->
<template>
  <div>
    <div class="banner">
      <img src="https://webapp-pub.ezijing.com/www/pc/digital/yx_1_2/banner.png" />
      <div class="cover">
        <div class="cover-inner">
          <h2>数字营销实践教学平台</h2>
          <span></span>
          <h6>真连接 · 真触达 · 真营销 · 真案例</h6>
          <p>
            面向企业数字化转型核心基础能力培养，在成熟工业级数字营销系统基础上进行教育适配化改造，提供多个行业综合案例集及配套理论教学资源，打造高校学生数字化营销思维通识能力的一站式实践教学平台。
          </p>
          <a href="https://saas-dml-web.ezijing.com" target="_blank">进入系统</a>
        </div>
      </div>
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">核心模块</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.title">
                <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 {
  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: 1200px;
    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: 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: 16px;
  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>
