<!-- 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: 'AIGC 内容智造平台',
    desc: '文生图 / 图生图 / 数字人',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_1.png',
        title: '集成主流大模型（SD/MJ/ChatGPT）API',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_2.png',
        title: '开箱即用的 LoRA 模型训练环境',
      },
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_1_3.png',
        title: '可视化 Prompt 提示词编写助手',
      },
    ],
  },
  {
    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: 'AIGC 营销全案工作流（Workflow）教学',
      },
      {
        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: 'Prompt库 / 模型库 / 版权存证',
    children: [
      {
        icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/mk_3_1.png',
        title: '作品智能评分（构图/色彩/Prompt准确度）',
      },
      {
        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: '与全国大学生广告艺术大赛标准衔接',
      },
    ],
  },
])

const zyList = ref([
  { title: '案例1:某国潮美妆品牌 AI产品海报生成与精修', industry: '电商设计', hours: 16 },
  { title: '案例2:小红书爆款文案生成与 AI配图工作流', industry: '新媒体', hours: 8 },
  { title: '案例3:基于 ControlNet 的室内装修效果图快速渲染', industry: '房地产', hours: 12 },
  { title: '案例4:虚拟数字人带货直播间搭建与话术训练', industry: '直播电商', hours: 24 },
  { title: '案例5:品牌IP 形象(三视图)设计与 3D 化漫游', industry: '品牌管理', hours: 16 },
  { title: '案例6:快消品包装 LORA 模型训练与风格迁移', industry: '产品包装', hours: 20 },
  { title: '案例7:短视频分镜脚本自动生成与动态视频合成', industry: '短视频', hours: 16 },
  { title: '案例8:游戏角色原画概念设计与变体迭代', industry: '游戏娱乐', hours: 12 },
  { title: '案例9:活动运营主视觉 Key Visual 的多尺寸延展', industry: '活动运营', hours: 8 },
  { title: '案例10: 企业智能客服问答库搭建与微调实战', industry: '客户服务', hours: 12 },
])

const numList = ref([
  { num: '5000+', desc: '条商业级 Prompt 库' },
  { num: '50', desc: '个行业微调模型' },
  { num: '200+', desc: '个实操演示视频' },
  { num: '10', desc: '大营销全案场景' },
  { num: 'Cloud', desc: '云端算力支持' },
])

const tabActive = ref(0)

const tabList = ref([
  {
    title: '品牌需求Brief',
    tag: '真实商业场景',
    name: '企业级需求 Brief 还原',
    items: [
      '1:1 还原 4A 广告公司与甲方沟通的原始需求文档；',
      '培养学生从模糊的商业需求中提炼视觉关键词的能力；',
      '包含品牌调性规范（VI）与禁忌词（Negative Prompts）分析。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/3/tab1.png',
  },
  {
    title: 'Prompt工程手册',
    tag: '核心引擎',
    name: 'Prompt 提示词工程手册',
    items: [
      '结构化拆解提示词公式：主体+环境+光影+风格+渲染参数；',
      '对比不同权重（Weighting）对生成结果的影响；',
      '包含 Midjourney 与 Stable Diffusion 双平台的参数调优指南。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/3/tab2.png',
  },
  {
    title: 'AIGC工作流PPT',
    tag: '教学课件',
    name: 'AIGC 全案实战 PPT',
    items: [
      '完整展现从创意构思、草图绘制到 AI 生成、后期精修的全流程；',
      '深度解析 ControlNet 骨架绑定与边缘检测技术在营销中的应用；',
      '包含商业版权合规与 AI 标识添加的法律风险规避教学。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/3/tab3.png',
  },
  {
    title: '实操演示视频',
    tag: '高清录播',
    name: '专家级实操演示视频',
    items: [
      '4K 高清录屏，记录 Stable Diffusion WebUI 的每一个参数设置细节；',
      '重点演示“局部重绘（Inpainting）”与“扩图（Outpainting）”技巧；',
      '配套企业导师画外音讲解，剖析“为什么这么调”的底层逻辑。',
    ],
    img: 'https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/3/tab4.png',
  },
])

// 标准服务
const bzfwList = ref([
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_1.png',
    title: '平台部署',
    desc: `私有化算力服务器部署
SD/WebUI 环境配置
校园网内网穿透访问
多账号权限管理系统`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_2.png',
    title: '资源更新',
    desc: `每季度新增商业案例
热门 LoRA 模型库同步
优秀学生作品库迭代
教学 PPT 每年升级`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_3.png',
    title: '师资培训',
    desc: `AIGC 工具操作培训
寒暑假师资研修班
双师型教师认证辅导
教学成果奖申报指导`,
  },
  {
    icon: 'https://webapp-pub.ezijing.com/www/pc/digital/yx_1_1/bzfw_4.png',
    title: '运营支持',
    desc: `大广赛/互联网+竞赛指导
校园 AIGC 艺术展策划
7x24小时技术响应
企业导师进校园讲座`,
  },
])

// 增值服务
const zzfwList = ref(['一流专业建设咨询', 'AIGC 创客空间规划', '校企横向课题对接', '微专业课程开发'])
</script>
<!-- 引产入校 -->
<template>
  <div>
    <div class="banner">
      <img src="https://webapp-pub.ezijing.com/www/pc/next/platform/new-business-studies/3/banner.jpg" />
      <div class="cover">
        <div class="cover-inner">
          <h2>AIGC智能营销实验室</h2>
          <span></span>
          <h6>创意 · 效率 · 破圈 · 智能</h6>
          <p>
            面向数字媒体、市场营销及电子商务专业，打造“技术+艺术+商业”的融合型实训平台。 集成 Midjourney、Stable
            Diffusion 及 LLM 大模型营销应用，通过 Prompt 工程与工作流实战， 培养具备 AI 内容生产力的新时代营销人才。
          </p>
        </div>
      </div>
    </div>
    <section class="section">
      <div class="section-inner">
        <h2 class="section-title">核心模块</h2>
        <p class="section-title-desc">构建 AIGC 时代的内容生产与营销闭环</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">源自真实商业Brief（需求书），还原 4A 广告公司作业流程</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>
  </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: 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: 200px;
    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: 100%;
      height: 100%;
      background: #ededed;
    }
  }
  &-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    span {
      width: 80px;
      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>
