<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: 'Commercial Law'
            },
            {
              t1: '管理信息系统高级专题',
              t2: 'Advanced Topics in Management Information System'
            }
          ]
        },
        {
          title: '财务与投资课程',
          list: [
            {
              t1: '管理经济学',
              t2: 'Managerial Economics'
            },
            {
              t1: '财务规划与管理',
              t2: 'Financial Planning and Management'
            },
            {
              t1: '投资学',
              t2: 'Investments'
            }
          ]
        },
        {
          title: '战略、市场与管理课程',
          list: [
            {
              t1: '组织行为与领导力',
              t2: 'Organizational Behavior and Leadership'
            },
            {
              t1: '战略管理',
              t2: 'Strategic Management'
            },
            {
              t1: '人力资源管理',
              t2: 'Human Resources in Management'
            },
            {
              t1: '运营管理',
              t2: 'Operation Management'
            },
            {
              t1: '营销管理',
              t2: 'Marketing 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>
