<!-- AIGC融媒体实验室 -->
<script setup>
import { ref } from 'vue'

// 核心模块
const mkList = ref([
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1.png',
    title: '智能采编与内容生成',
    desc: 'AI写稿 / 智能润色 / 自动选题',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_1.png',
        title: 'AI 辅助新闻通稿生成与多风格改写',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_2.png',
        title: '2.5D/3D 虚拟数字人主播定制与驱动',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_3.png',
        title: 'Text-to-Video 文字一键生成短视频',
      },
    ],
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2.png',
    title: '虚拟演播与视听制作',
    desc: '数字人 / TTV视频 / 虚拟置景',
    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_3.png',
    title: '全媒体分发与舆情监测',
    desc: '传播力分析 / 热点追踪',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_1.png',
        title: 'AI 实时直播场控与弹幕自动回复助手',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_2.png',
        title: '海报/H5/长图文自动化排版与生成',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_3.png',
        title: '智能媒资库（MAM）：AI 标签与人脸检索',
      },
    ],
  },
])

// 标准服务
const bzfwList = ref([
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_1.png',
    title: '平台建设',
    desc: `中央厨房系统部署
虚拟演播室硬件集成
校园私有云媒资库
数字人定制形象采集`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_2.png',
    title: '课程资源',
    desc: `AIGC 新闻写作课程
虚拟直播实战教材
数据新闻可视化案例
短视频运营实操题库`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_3.png',
    title: '师资培训',
    desc: `智媒工具使用培训
骨干教师挂职锻炼
融媒体中心建设指导
教学成果奖申报咨询`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_4.png',
    title: '运营支持',
    desc: `校园媒体代运营指导
互联网+大赛项目打磨
省级融媒体中心对接
7x24小时技术运维`,
  },
])

// 增值服务
const zzfwList = ref(['现代产业学院规划', '校园融媒体中心改造', '校级IP孵化与运营', '网络视听许可证咨询'])

// 交付案例
const jfalList = ref([
  'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/5/al_1.jpg',
  'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/5/al_2.jpg',
  'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/5/al_3.jpg',
])
</script>

<template>
  <div>
    <div class="banner">
      <img src="https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/5/banner.jpg" />
      <div class="cover">
        <div class="cover-inner">
          <h2>AIGC融媒体实验室</h2>
          <span></span>
          <h6>智媒 · 融合 · 创新 · 传播</h6>
          <p>
            针对新闻传播、网络与新媒体及广播电视编导专业，重构“策、采、编、审、发、评”全流程。 引入 AI
            辅助写作、虚拟数字人演播、Text-to-Video 智能视频生产技术，
            打造集内容生产、数据分析与舆情监测于一体的智媒人才培养基地。
          </p>
        </div>
      </div>
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">核心模块</h2>
        <p class="section-title-desc">从“融媒体”到“智媒体”的技术跨越</p>
        <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>
              <span>{{ item.desc }}</span>
            </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>
        <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>
        <p class="section-title-desc">助力高校建设省级示范性融媒体中心</p>
        <ul class="al-list">
          <li v-for="item in jfalList" :key="item"><img :src="item" /></li>
        </ul>
      </div>
    </section>
  </div>
</template>

<style lang="scss" scoped>
.banner {
  position: relative;
  img {
    width: 100%;
    height: 650px;
    object-fit: cover;
  }
  .cover {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    line-height: 1;
    color: #ffffff;
    h2 {
      font-size: 60px;
      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: 46px 0;
      width: 60px;
      height: 6px;
      background: #ffffff;
    }
    h6 {
      font-size: 24px;
      font-family:
        Source Han Sans CN-Medium,
        Source Han Sans CN;
      font-weight: 500;
      line-height: 1;
    }
    p {
      margin-top: 30px;
      max-width: 600px;
      font-size: 18px;
      font-family:
        Source Han Sans CN-Regular,
        Source Han Sans CN;
      line-height: 30px;
    }
    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-inner {
  width: 1200px;
  margin: 90px auto;
}
.section-title {
  margin-bottom: 40px;
  font-size: 30px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 32px;
  color: #333333;
  text-align: center;
}
.section-title-desc {
  margin-bottom: 50px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 18px;
  color: #666666;
  line-height: 30px;
  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);
    color: #fff;
    p {
      margin-top: 40px;
      font-size: 18px;
      font-family:
        Source Han Sans CN-Medium,
        Source Han Sans CN;
      font-weight: 500;
      color: #ffffff;
    }
    span {
      margin-top: 15px;
    }
  }
  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(0, 0, 0, 0.7);
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  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;
    white-space: pre-wrap;
  }
}
.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(3, 1fr);
  gap: 15px;
  li {
    transition: all 0.3s;
    img {
      width: 100%;
    }
    &: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>
