<template>
  <div class="layout_com_page">
    <section class="home-banner">
      <div class="banner-text">
        <p>传统的领导者注重于对人员和物理资产的管理</p>
        <p>数字领导者将人与数字资产相互赋能倍增效益</p>
        <P>传统的MBA课程体系或许已经不能满足当今数字时代各行各业的发展</P>
        <h1>紫荆-玛丽伍德大学数字领导力方向MBA</h1>
        <p>系统实用的MBA课程体系与数字时代碰撞</p>
      </div>
      <el-carousel arrow="never" class="banner-swiper">
        <el-carousel-item v-for="item in bannerList" :key="item.src"><img :src="item.src"/></el-carousel-item>
      </el-carousel>
    </section>
    <section class="introduce">
      <h3>数字时代课题贯穿的<span>教学内容</span></h3>
      <h3>从思路到出路，从方法到结果的<span>教学逻辑</span></h3>
      <h3 class="line">理论学习、实操训练、案例教学、团队协作等多元化的<span>学习体验</span></h3>
      <p>
        项目课程划分为三个模块，遵循商业发展规律，以商业发展为主线，系统科学地把握项目与企业发展中的每个重要环节。
        让创业不难，让转型不痛，让方法科学涌现，让执行酣畅到位，让决策有理可依，让管理有的放矢，让结果指日可期。
      </p>
    </section>
    <courseSystem></courseSystem>
    <teacherInfo></teacherInfo>
    <section class="project-card">
      <div class="project-card-item" v-for="(item, index) in list" :key="index">
        <div class="project-card-item-header">
          <h3>{{ item.name }}</h3>
        </div>
        <div class="project-card-item-box">
          <img :src="item.bg" />
          <ul>
            <li v-for="(child, index) in item.children" :key="index">{{ child }}</li>
          </ul>
        </div>
      </div>
    </section>
    <section class="activity-list">
      <h1>丰富多彩的学生活动</h1>
      <img
        width="100%"
        src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/WechatIMG192.png"
        v-if="isMobile()"
      />
      <div class="list" v-else>
        <div class="nav">
          <div class="li">开学典礼</div>
          <div class="li">论坛</div>
          <div class="li">企业采访</div>
          <div class="li">班级集体活动</div>
        </div>
        <div class="imgs w1">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity1.png" />
        </div>
        <div class="imgs">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity2.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity3.png" />
        </div>
        <div class="imgs">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity4.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity5.png" />
        </div>
        <div class="imgs">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity6.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity7.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity8.png" />
        </div>
        <div class="imgs">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity9.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity10.png" />
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/activity11.png" />
        </div>
      </div>
    </section>
    <section class="project-study">
      <div class="subtitle">
        <h2>学习相关</h2>
      </div>
      <div class="project-study-bd">
        <div class="project-study-left">
          <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/cert.png" width="500px" />
        </div>
        <div class="project-study-right">
          <h3>项目学制</h3>
          <ul>
            <li><span>16</span>个月</li>
            <li>修满<span>30</span>学分</li>
          </ul>
          <p>
            修满全部学分并考核合格后，由玛丽伍德大学授予高级工商管理硕士(MBA)学位，学位证书与出国留学学习所获得的学位证书相同。
          </p>
        </div>
      </div>
    </section>
    <FormBox />
  </div>
</template>

<script>
import courseSystem from '@/components/courseSystem'
import teacherInfo from '@/components/teacherInfo'
import FormBox from '@/components/formBox'
export default {
  name: 'major-set',
  components: {
    FormBox,
    courseSystem,
    teacherInfo
  },
  data() {
    return {
      bannerList: [
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/profession_banner1.png'
        },
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/profession_banner2.png'
        },
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/profession_banner3.png'
        }
      ],
      forestIndex: 0,
      forest: [
        {
          name: '家庭',
          eName: 'Family',
          children: [
            { name: '今日家庭', eName: 'The Family Today' },
            { name: '家庭发展', eName: 'Family Development' }
          ]
        },
        {
          name: '社会',
          eName: 'Others',
          children: [
            { name: '人类发展', eName: 'Human Development' },
            { name: '家庭法律与公共政策', eName: 'Family Law and Public Policy' }
          ]
        },
        {
          name: '关系',
          eName: 'Relations',
          children: [
            { name: '婚姻与家庭关系', eName: 'Marriage and Family Relations' },
            { name: '人类性学', eName: 'Human Sexuality' }
          ]
        },
        {
          name: '养育',
          eName: 'Education',
          children: [
            { name: '家庭与育儿的现代议题-儿童期', eName: 'Contemporary Issues of Family and Parenting - Childhood' },
            { name: '家庭与育儿的现代议题-青少年期', eName: 'Contemporary Issues of Family and Parenting - Adolescent' }
          ]
        },
        {
          name: '技能',
          eName: 'Skills',
          children: [{ name: '家庭教育的课程设计与方法', eName: 'Curriculum and Methods in Family Life Education' }]
        },
        {
          name: '治疗',
          eName: 'Therapy',
          children: [{ name: '家庭治疗（技术与特殊专题）', eName: 'Family Therapy (Techniques and specials Topics)' }]
        }
      ],
      list: [
        {
          name: '招生对象',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/project_bg_01.png',
          children: [
            '不断超越自我，对个人职业发展有追求的职场人',
            '持续企业创新，让企业持续在行业领跑的管理者',
            '破局任何屏障，时刻满怀阳光与进取心的奔跑者'
          ]
        },
        {
          name: '入学条件',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/project_bg_02.png',
          children: [
            '持有本科学历或学位',
            '拥有大专学历者有少量名额',
            '具备工作经验和职业发展愿景',
            '英语成绩不作为入学必要条件'
          ]
        },
        {
          name: '授课形式',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/project_bg_03.png',
          children: [
            '线上授课 + 线下学习',
            '在线教学平台由紫荆教育自行研发打造，操作简单、功能完备、使用流畅学生可灵活安排学习时间',
            '可反复观看和查阅课程资料，全方位为学习提供支持'
          ]
        },
        {
          name: '毕业典礼',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/project_bg_04.png',
          children: ['学生可在学业全部完成后，在国内或赴美参加毕业典礼，共享学有所成的精彩时刻']
        }
      ]
    }
  },
  methods: {
    isMobile() {
      const flag = navigator.userAgent.match(
        /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i
      )
      return flag
    }
  }
}
</script>

<style lang="scss" scoped>
.home-banner {
  position: relative;
  height: calc(100vh - 10px);
  min-height: 600px;
}
.banner-swiper {
  height: 100%;
  ::v-deep .el-carousel__container {
    height: 100%;
  }
  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
.banner {
  position: relative;
  height: calc(100vh - 10px);
  min-height: 600px;
  background: url(https://webapp-pub.ezijing.com/project/cuw/project_banner.jpg) no-repeat center;
  background-size: cover;
  .banner-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 980px;
    margin: 0 auto;
  }
  h1 {
    font-size: 50px;
    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
    font-weight: 500;
    color: #ffffff;
    line-height: 58px;
    letter-spacing: 9px;
    text-align: center;
    padding: 20px 0;
  }
  p {
    font-size: 24px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #ffffff;
    line-height: 40px;
  }
}

.project-card {
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('~@/assets/images/major-set/bg1.png');
  background-size: cover;
}
.project-card-item {
  width: 260px;
  margin: 0 20px;
  &:hover {
    .project-card-item-box {
      img {
        transform: scale(1.05);
      }
    }
  }
}
.project-card-item-header {
  width: 220px;
  height: 60px;
  margin: 0 auto;
  font-size: 26px;
  font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  font-weight: 500;
  color: #ffffff;
  line-height: 60px;
  text-align: center;
  background: url('https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/proejct_card_bg.png') no-repeat
    center top;
  background-size: contain;
}
.project-card-item-box {
  position: relative;
  background: rgba(26, 86, 50, 1);
  border-radius: 13px;
  overflow: hidden;
  padding-bottom: 10px;
  img {
    width: 100%;
    transition: all 0.25s ease-in-out;
  }
  ul {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 40px 10px 0 18px;
    background: rgba(0, 0, 0, 0.5);
  }
  li {
    position: relative;
    font-size: 16px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #ffffff;
    line-height: 28px;
    padding-left: 15px;
    &::before {
      content: '';
      position: absolute;
      top: 12px;
      left: 0;
      width: 6px;
      height: 6px;
      background: #ffffff;
      border-radius: 50%;
      overflow: hidden;
    }
  }
  li + li {
    margin-top: 15px;
  }
}
.project-study {
  height: 600px;
  background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/cert_bg.png) no-repeat center
    center;
  background-size: cover;
  .subtitle {
    padding: 50px 0;
    text-align: center;
    h2 {
      display: inline-block;
      padding-bottom: 12px;
      font-size: 40px;
      font-family: SourceHanSansCN-Medium, SourceHanSansCN;
      font-weight: 500;
      color: #fff;
      line-height: 1;
      border-bottom: 3px solid #fff;
    }
  }
}
.project-study-bd {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-study-right {
  width: 452px;
  margin-left: 45px;
  color: #fff;
  h3 {
    font-size: 26px;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: #ffffff;
    line-height: 34px;
  }
  ul {
    margin-top: 66px;
    margin-bottom: 20px;
    display: flex;
  }
  li {
    font-size: 22px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    padding-right: 30px;
    span {
      font-size: 66px;
      font-family: 思源黑体 CN Regular;
    }
  }
  li + li {
    padding-left: 30px;
    border-left: 1px solid #fff;
  }
  p {
    font-size: 18px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #ffffff;
    line-height: 30px;
  }
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  text-align: center;
  p {
    font-size: 24px;
    color: #ffffff;
    line-height: 41px;
  }
  h1 {
    font-size: 56px;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: #f6a800;
    letter-spacing: 3px;
    white-space: nowrap;
  }
}
@media all and (orientation: portrait) {
  .banner-text {
    h1 {
      font-size: 40px;
    }
  }
}
.introduce {
  height: 624px;
  background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/introduce_bg.png?v1);
  background-size: cover;
  padding-top: 150px;
  box-sizing: border-box;
  h3 {
    font-size: 34px;
    font-weight: bold;
    color: #ffffff;
    line-height: 56px;
    width: fit-content;
    margin: 0 auto;
    &.line {
      border-bottom: 1px solid #f6a800;
    }
    span {
      color: #f6a800;
    }
  }
  p {
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    line-height: 32px;
    max-width: 1200px;
    margin: 30px auto;
  }
}
.activity-list {
  max-height: 789px;
  background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/course_bg.png);
  background-size: cover;
  position: relative;
  padding-bottom: 30px;
  h1 {
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    line-height: 51px;
    border-bottom: 3px solid #f6a800;
    width: fit-content;
    margin: 0 auto;
    padding-top: 40px;
  }
  .list {
    position: relative;
    max-width: 1350px;
    display: flex;
    padding-top: 80px;
    margin: 0 auto;
    // transform: scale(.7);
    .nav {
      position: absolute;
      top: 340px;
      left: 440px;
      width: 900px;
      height: 53px;
      background: rgba(246, 168, 0, 0.6);
      display: flex;
      // z-index: 999;
      .li {
        font-size: 24px;
        color: #ffffff;
        line-height: 53px;
        min-width: 210px;
        margin-right: 20px;
        text-align: center;
      }
    }
    .imgs {
      margin-right: 20px;
      img {
        width: 210px;
        display: block;
        margin-bottom: 6px;
        &:hover {
          transform: scale(1.05);
          transition: all 0.5s;
        }
      }
    }
    .w1 {
      img {
        width: 420px;
      }
    }
  }
}
</style>
