<template>
  <div class="layout_com_page">
    <section class="home-banner">
      <div class="banner-text">
        <p style="font-weight: bold;">如果你：</p>
        <p>想提升学位，实现职场的华丽跃迁</p>
        <p>想成为商界通才，轻松掌握商管知识</p>
        <P>想读含金量高、美国正规的MBA</P>
        <h1>紫荆-玛丽伍德大学工商管理硕士MBA</h1>
        <p>让你全面掌握商管才能，快速实现事业进阶</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="home-student">
      <div class="home-student_tab">
        <div class="tab-content1">
          <div class="content1-item">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b1.png" />
            <div class="tag">
              <p>高含金量美国MBA</p>
              <span>国际认可的硕士学位</span>
            </div>
          </div>
          <div class="content1-item m-c">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b2.png" />
            <div class="tag">
              <p>正规学位，中文授课</p>
              <span>具备顶尖实力的MBA国际项目</span>
            </div>
          </div>
          <div class="content1-item">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b3.png" />
            <div class="tag">
              <p>美国百年名校</p>
              <span>屹立于商学院顶峰的知名学府</span>
            </div>
          </div>
          <div class="content1-item">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b4.png" />
            <div class="tag">
              <p>学制12-16个月</p>
              <span>高效学习，超短学制</span>
            </div>
          </div>
          <div class="content1-item m-c">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b5.png" />
            <div class="tag">
              <p>中美师资</p>
              <span>中美优质课程</span>
            </div>
          </div>
          <div class="content1-item">
            <img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-b6.png" />
            <div class="tag">
              <p>灵活学习</p>
              <span>随时随地在线学</span>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- <section class="introduce">
      <h3>数字时代课题贯穿的<span>教学内容</span></h3>
      <h3>从思路到出路，从方法到结果的<span>教学逻辑</span></h3>
      <h3 class="line">理论学习、实操训练、案例教学、团队协作等多元化的<span>学习体验</span></h3>
      <p>
        项目课程划分为三个模块，遵循商业发展规律，以商业发展为主线，系统科学地把握项目与企业发展中的每个重要环节。
        让创业不难，让转型不痛，让方法科学涌现，让执行酣畅到位，让决策有理可依，让管理有的放矢，让结果指日可期。
      </p>
    </section> -->
    <managementCourseSystem></managementCourseSystem>
    <managementTeacherInfo></managementTeacherInfo>
    <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="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/marywood/515/project_cert.png"
            width="500px"
          />
        </div>
        <div class="project-study-right">
          <h3>项目学制</h3>
          <ul>
            <li><span>12-16</span>个月</li>
            <li>修满<span>36</span>学分</li>
          </ul>
          <p>
            修满全部学分并考核合格后，由玛丽伍德大学授予工商管理硕士（MBA）证书。
          </p>
        </div>
      </div>
    </section>
    <!-- <section class="activity-list">
      <h1>丰富多彩的学生活动</h1>
      <div class="list">
        <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> -->
    <FormBox />
  </div>
</template>

<script>
import managementCourseSystem from '@/components/managementCourseSystem'
import managementTeacherInfo from '@/components/managementTeacherInfo'
import FormBox from '@/components/formBox'
export default {
  name: 'major-set',
  components: {
    FormBox,
    managementCourseSystem,
    managementTeacherInfo
  },
  data() {
    return {
      studentTabIndexTime: null,
      studentTabIndex: 0,
      bannerList: [
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-banner1.png'
        },
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-banner2.png'
        },
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-banner3.png'
        },
        {
          src: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/m-banner4.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/marywood/515/project_bg_01.png',
          children: ['对自我提升、学历提升有追求者', '渴望全面学习与进阶商业与管理知识的人', '寻求事业上升的职场人']
        },
        {
          name: '入学条件',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/project_bg_02.png',
          children: ['持有本科学历或三年制大专', '具备工作经验和职业发展愿景', '英语成绩不作为入学必要条件']
        },
        {
          name: '授课形式',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/project_bg_03.png',
          children: [
            '在线学习平台操作简单，功能完备，使用流畅',
            '学生可以在线学习，灵活掌握学习时间 ',
            '可反复观看和查阅课程资料'
          ]
        },
        {
          name: '毕业典礼',
          bg: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/marywood/515/project_bg_04.png',
          children: ['学生可在学业全部完成后，在国内或赴美参加毕业典礼，共享学有所成的精彩时刻。']
        }
      ]
    }
  },
  mounted() {},
  methods: {}
}
</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 {
  padding: 30px 0;
  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;
  background: #fff;
  .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: #1a5632;
      line-height: 1;
      border-bottom: 3px solid #1a5632;
    }
  }
}
.project-study-bd {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-study-right {
  width: 452px;
  margin-left: 45px;
  color: #000;
  h3 {
    font-size: 26px;
    font-family: SourceHanSansCN-Bold, SourceHanSansCN;
    font-weight: bold;
    color: #000;
    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: #000;
    line-height: 1;
    padding-right: 30px;
    span {
      font-size: 60px;
      font-family: 思源黑体 CN Regular;
    }
  }
  li + li {
    padding-left: 30px;
    border-left: 1px solid #000;
  }
  p {
    font-size: 18px;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: 400;
    color: #000;
    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 {
  height: 789px;
  background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project/new-marywood/course_bg.png);
  background-size: cover;
  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;
    width: 1350px;
    display: flex;
    padding-top: 80px;
    margin: 0 auto;
    .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;
      }
    }
  }
}
.home-student {
  margin-bottom: 50px;
  .title {
    font-size: 40px;
    font-weight: normal;
    color: #1a5632;
    line-height: 51px;
    border-bottom: 3px solid #f6a800;
    width: 500px;
    margin: 0 auto 56px;
  }
  .card-list {
    width: 950px;
    margin: 0 auto;
    display: flex;
    .card-item {
      min-width: 210px;
      overflow: hidden;
      transition: all 1s;
      margin-right: 36px;
      margin-bottom: 39px;
      &:hover {
        img {
          transform: scale(1.1);
          transition: all 0.3s;
        }
      }
      .top {
        background: #1a5632;
        height: 200px;
        .num {
          padding: 38px 0 20px;
          text-align: center;
          font-size: 48px;
          font-weight: normal;
          color: #f6a800;
          line-height: 56px;
        }
        p {
          font-size: 22px;
          font-weight: normal;
          color: #fff;
          line-height: 30px;
          text-align: center;
        }
      }
    }
  }
  .text {
    width: 950px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    color: #000000;
    line-height: 36px;
    span {
      color: #1a5632;
    }
  }
  .home-student_tab {
    margin-top: 60px;
    .tab-btn {
      border-bottom: 1px solid #1a5632;
      .item-btn {
        cursor: pointer;
        width: 180px;
        line-height: 42px;
        border: 1px solid #1a5632;
        text-align: center;
        color: #1a5632;
        margin-right: 10px;
        border-bottom: none;
        &.active {
          background: #1a5632;
          color: #fff;
        }
      }
    }
    .tab-content1 {
      display: flex;
      flex-wrap: wrap;
      width: 950px;
      margin: 0 auto;
      padding-top: 53px;
      .content1-item {
        width: 280px;
        margin-bottom: 38px;
        &.m-c {
          margin-left: 55px;
          margin-right: 55px;
          .tag {
            border-bottom: 4px solid #f6a800;
          }
        }
        .tag {
          // line-height: 56px;
          p {
            font-size: 24px;
            line-height: 100%;
            padding: 15px 0 10px;
            font-weight: bold;
          }
          span {
            font-size: 18px;
            line-height: 100%;
          }
          padding-bottom: 10px;
          color: #000000;
          border-bottom: 4px solid #1a5632;
          text-align: center;
        }
      }
    }
    .tab-content_it {
      display: flex;
      flex-wrap: wrap;
      width: 950px;
      margin: 0 auto;
      padding-top: 53px;
      div {
        width: 460px;
        height: 250px;
        margin-bottom: 10px;
        &:nth-child(odd) {
          margin-right: 30px;
        }
        p {
          font-size: 24px;
          color: #000000;
          line-height: 40px;
        }
      }
    }
  }
}
</style>
