<template>
  <div class="course">
    <h1>课程体系</h1>
    <div class="card-list">
      <div class="item" v-for="(item, index) in course" :key="index">
        <h2>{{ item.title }}</h2>
        <ul>
          <li v-for="cItem in item.list" :key="cItem.t2">
            <h3>{{ cItem.t1 }}</h3>
            <p>{{ cItem.t2 }}</p>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
// import HomeBanner from '@/components/home/banner'
// import HomeSchool from '@/components/home/school'
// import FormBox from '@/components/formBox'
export default {
  data() {
    return {
      course: [
        {
          title: '数字商业思维与方法模块',
          list: [
            {
              t1: '设计思维与管理创新',
              t2: 'Design Thinking for Managers'
            },
            {
              t1: '研究方法',
              t2: 'Research Methodology'
            },
            {
              t1: '商业数据分析',
              t2: 'Business Data Analysis'
            },
            {
              t1: '信息系统高级管理专题',
              t2: 'Advanced Topics in Management Information System'
            }
          ]
        },
        {
          title: '领导力与执行模块',
          list: [
            {
              t1: '管理沟通',
              t2: 'Management Communication'
            },
            {
              t1: '组织行为与领导力',
              t2: 'Organizational Behavior and Leadership'
            },
            {
              t1: '数字时代领导力',
              t2: 'Leadership in the Information Age'
            },
            {
              t1: '商法',
              t2: 'Commercial Law'
            }
          ]
        },
        {
          title: '经营管理模块',
          list: [
            {
              t1: '战略管理',
              t2: 'Strategic Management'
            },
            {
              t1: '运营管理',
              t2: 'Operation Management'
            },
            {
              t1: '营销管理与数字化营销',
              t2: 'Marketing Management and Digital Marketing'
            },
            {
              t1: '财务规划与管理',
              t2: 'Financial Planning and Management'
            }
          ]
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.course {
  height: 722px;
  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;
    width: fit-content;
    margin: 0 auto;
    border-bottom: 3px solid #f6a800;
    padding-top: 40px;
  }
  .card-list {
    padding-top: 50px;
    display: flex;
    justify-content: center;
    .item {
      width: 380px;
      &:nth-child(2){
        margin: 0 30px;
      }
      h2 {
        font-size: 30px;
        font-weight: bold;
        color: #f6a800;
        line-height: 45px;
        text-align: center;
        margin-bottom: 35px;
      }
      ul {
        border: 2px solid #f9aa00;
        li {
          height: 90px;
          border-bottom: 2px solid #f9aa00;
          text-align: center;
          &:last-child {
            border-bottom: none;
          }
          p {
            font-size: 16px;
            color: #ffffff;
            line-height: 19px;
            margin-top: 6px;
            // white-space: nowrap;
          }
          h3 {
            font-size: 20px;
            font-weight: bold;
            color: #ffffff;
            line-height: 30px;
            padding-top: 15px;
            // white-space: nowrap;
          }
        }
      }
    }
  }
}
</style>
