<!-- 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: '形象定制 / 声音克隆 / 动作捕捉',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_1.png',
        title: '支持 2D 真人克隆与 3D 卡通形象定制',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_2.png',
        title: 'TTS 语音合成：支持多语种、方言与情绪调节',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_3.png',
        title: '唇形驱动准确率 >98%，动作自然流畅',
      },
    ],
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2.png',
    title: '智能选品与话术系统',
    desc: '爆款分析 / 脚本生成 / 实时应答',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_2_1.png',
        title: 'AI 自动识别弹幕关键词并实时语音回复',
      },
      {
        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: '支持 7×24 小时无人值守循环直播',
      },
    ],
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3.png',
    title: '沉浸式虚拟直播场控',
    desc: '绿幕抠像 / XR场景 / 弹幕互动',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_1.png',
        title: '海量 3D 虚拟直播间场景一键切换',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_2.png',
        title: '推流至抖音/快手/B站等多平台适配',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_3.png',
        title: '直播间流量漏斗与转化率复盘分析',
      },
    ],
  },
])

const zyList = ref([
  { title: '场景1:美妆护肤品类—虚拟主播色彩展示技巧', industry: '电商带货', hours: 16 },
  { title: '场景2:农产品助农—原产地实景+绿幕抠像合成', industry: '乡村振兴', hours: 20 },
  { title: '场景3:3C数码测评—多机位切换与细节特写', industry: '产品演示', hours: 12 },
  { title: '场景4:知识付费直播—AI助教答疑与课件推送', industry: '在线教育', hours: 16 },
  { title: '场景5:品牌自播间—24小时无人值守AI轮播配置', industry: '企业服务', hours: 24 },
  { title: '场景6:本地生活团购—数字人探店与优惠券发放', industry: '020营销', hours: 8 },
  { title: '场景7:游戏电竞解说—二次元 Avatar 形象驱动', industry: '娱乐直播', hours: 16 },
  { title: '场景8:服装穿搭展示—模特走秀与画中画设置', industry: '时尚鞋服', hours: 12 },
  { title: '场景9:虚拟发布会—XR 扩展现实场景搭建', industry: '品牌公关', hours: 16 },
  { title: '场景10:跨境电商直播—多语种实时翻译与AI配音', industry: '跨境贸易', hours: 12 },
])

const numList = ref([
  { num: '100+', desc: '套虚拟直播间模板' },
  { num: '50', desc: '个高保真数字人' },
  { num: '1W+', desc: '条带货话术库' },
  { num: '7×24', desc: '全天候无人直播' },
  { num: 'OBS', desc: 'OBS 深度集成' },
])

const tabActive = ref(0)

const tabList = ref([
  {
    title: '选品与话术(Script)',
    tag: '智能内容',
    name: 'AI 爆款话术生成器',
    items: [
      '基于大模型分析抖音/快手 Top100 直播间，提取高转化话术逻辑；',
      '自动生成“痛点+信任+利益点+逼单”的标准化带货脚本；',
      '支持根据商品属性（美妆/食品/数码）自动调整语言风格。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/6/tab1.png',
  },
  {
    title: '数字人配置(Avatar)',
    tag: '核心引擎',
    name: '超写实数字人驱动',
    items: [
      '无需真人出镜，上传照片或视频即可克隆专属 AI 主播；',
      '支持“文本驱动”与“音频驱动”两种模式，口型匹配精准；',
      '内置 50+ 种情绪动作（点赞、比心、挥手），提升直播间互动感。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/6/tab2.png',
  },
  {
    title: '直播推流(OBS)',
    tag: '推流技术',
    name: 'OBS 虚拟直播推流教学',
    items: [
      '深度讲解绿幕抠像、贴片添加、画中画布局等 OBS 核心技能；',
      '支持虚拟摄像头技术，将 AI 数字人画面无缝推流至各大平台；',
      '模拟真实网络波动环境，训练学生处理卡顿、断流等突发状况。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/6/tab3.png',
  },
  {
    title: '数据复盘(Data)',
    tag: '运营复盘',
    name: '直播数据复盘与诊断',
    items: [
      '可视化展示 ACU（平均同时在线人数）、GPM（千次观看成交）等关键指标；',
      '通过流量漏斗模型，分析“曝光-进入-停留-互动-转化”各环节流失率；',
      '自动生成复盘报告，提供优化建议（如：调整开播时间、优化商品顺序）。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/6/tab4.png',
  },
])

// 标准服务
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: `数字人驱动系统授权
AI 脚本生成SaaS账号
3D 虚拟场景库更新
直播复盘工具终身版`,
  },
  {
    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: `MCN 机构实习对接
校园直播大赛承办
本地生活商家资源导入
双师型讲师入校授课`,
  },
])

// 增值服务
const zzfwList = ref(['校级直播基地挂牌', '助农直播专项策划', '直播电商技能证书', '抖音/快手小店开通'])

// 交付案例
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/6/banner.jpg" />
      <div class="cover">
        <div class="cover-inner">
          <h2>AIGC网络直播实验室</h2>
          <span></span>
          <h6>人 · 货 · 场 · 智</h6>
          <p>
            面向电子商务、网络营销及表演播音专业，打造“日不落”智能直播实训基地。 集成 2D/3D 虚拟数字人驱动、AI
            智能场控、实时话术生成与 XR 虚拟布景技术， 培养精通“台前演绎+幕后运营”的全栈式直播电商人才。
          </p>
        </div>
      </div>
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">核心模块</h2>
        <p class="section-title-desc">打通直播电商全链路，实现 7×24 小时智能带货</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>
        <p class="section-info">覆盖主流商业赛道，开箱即用的“人+货+场”实训模板</p>
        <div class="zy">
          <table class="table">
            <thead>
              <tr>
                <th>场景名称</th>
                <th>所属行业</th>
                <th>学时</th>
              </tr>
            </thead>
            <tbody>
              <tr v-for="item in zyList" :key="item.title">
                <td>{{ item.title }}</td>
                <td>{{ item.industry }}</td>
                <td>{{ item.hours }}</td>
              </tr>
            </tbody>
          </table>
          <ul class="num">
            <li v-for="item in numList" :key="item.desc">
              <span>{{ item.num }}</span>
              <em>{{ item.desc }}</em>
            </li>
          </ul>
        </div>
        <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>
          <div class="tab-body" v-for="(item, index) in tabList" :key="index" v-show="index === tabActive">
            <div class="tab-body-pic">
              <img :src="item.img" :alt="item.title" />
            </div>
            <div class="tab-body-content">
              <span>{{ item.tag }}</span>
              <h4>{{ item.title }}</h4>
              <ul>
                <li v-for="subItem in item.items" :key="subItem">{{ subItem }}</li>
              </ul>
            </div>
          </div>
        </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>
        <p class="section-info">已赋能全国 50+ 所高职及本科院校，打造标杆级直播实训基地</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,
    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: 30px;
  li {
    img {
      width: 100%;
    }
    transition: all 0.3s;
    &:hover {
      transform: scale(1.06);
    }
  }
}
.zy {
  display: flex;
  .table {
    flex: 1;
  }
  .num {
    margin-left: 35px;
  }
}
.num {
  width: 320px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  li {
    padding: 20px;
    height: 130px;
    background: #ffffff;
    box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    &:first-child {
      grid-column: span 2;
    }
    &:hover {
      color: #fff;
      background-color: var(--main-color);
      span {
        color: #fff;
      }
    }
    span {
      font-size: 30px;
      font-weight: bold;
      font-family: SourceHanSansCN-Bold;
      color: var(--main-color);
    }
    em {
      font-style: normal;
      font-size: 14px;
      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: 1;
      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: 10px;
      border: 1px solid #8b8b8b;
    }
    td:nth-child(1) {
      padding-left: 40px;
    }
    td:nth-child(2),
    td:nth-child(3) {
      text-align: center;
    }
  }
}
.tab {
  display: flex;
  margin: 60px 0 90px;
}
.tab-header {
  margin-right: 38px;
  li {
    width: 270px;
    height: 70px;
    font-size: 18px;
    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: #fff;
  box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.1);
  &-pic {
    position: relative;

    margin: 0 90px;
    width: 130px;
    height: 240px;
    img {
      position: relative;
      max-width: 100%;
      height: auto;
      z-index: 10;
    }
    &::before {
      z-index: 1;
      content: '';
      position: absolute;
      left: 10px;
      top: 10px;
      width: 130px;
      height: 240px;
      background: #ededed;
      border-radius: 12px;
    }
  }
  &-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    span {
      width: 70px;
      height: 30px;
      font-size: 12px;
      line-height: 30px;
      text-align: center;
      color: var(--main-color);
      background: #f8e9ed;
      border-radius: 8px 8px 8px 8px;
    }
    h4 {
      margin: 20px 0 40px;
      font-weight: bold;
      font-size: 22px;
    }
    li {
      position: relative;
      font-size: 16px;
      color: #333333;
      line-height: 36px;
      padding-left: 20px;
      &::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: var(--main-color);
        border-radius: 50%;
      }
    }
  }
}
</style>
