<template>
  <div :class="isMobile ? 'is-h5' : 'is-pc'">
    <img src="/images/course_banner.png" class="course-banner" />
    <div class="course-content-box">
      <Card title="学习阶段">
        <div class="box">
          <dl>
            <dt>线上课程：</dt>
            <dd>
              12门核心课程（瑞士酒店管理大学MBA中心8门+万达酒店4门），覆盖收益管理、财务管理、市场营销 等高阶领域。
            </dd>
          </dl>
          <dl>
            <dt>线 下 课：</dt>
            <dd>两次线下案例研讨（万达酒店+紫荆教育），总计4天。</dd>
          </dl>
        </div>
      </Card>
      <Card title="课程设置">
        <div class="box">
          <img src="/images/course_1.png" />
          <br />
          <br />
          <br />
          <img src="/images/course_2.png" />
        </div>
      </Card>
    </div>
  </div>
</template>
<script>
import appFrame from '@/components/appFrame'
export default {
  layout: 'normal',
  components: {
    appFrame,
  },
  data() {
    return {}
  },
  computed: {
    isMobile() {
      return this.$store.state.isMobile
    },
  },
}
</script>
<style lang="scss" scoped>
.is-pc {
  .course-banner {
    width: 100%;
    object-fit: cover;
  }
  .course-content-box {
    width: 1200px;
    margin: 0 auto;
    ::v-deep .card {
      margin-top: 120px;
    }
    .box {
      margin: 50px 0;
      padding: 50px;
      background: #fff;
    }
    dl {
      margin: 10px 0;
      display: flex;
      color: #333;
      font-size: 20px;
      dt {
        width: 100px;
        font-weight: bold;
      }
      dd {
        flex: 1;
      }
    }
  }
}
.is-h5 {
  .course-content {
    background: #fff;
    padding: 0.38rem 0.28rem 0.2rem;
    .title {
      font-size: 0.14rem;
      font-weight: bold;
      line-height: 100%;
      color: #aa1941;
    }
    ul {
      border-top: 0.01rem solid #e6e6e6;
      padding-top: 0.1rem;
      margin-top: 0.19rem;
      margin-bottom: 0.24rem;
      li {
        height: 0.21rem;
        box-sizing: border-box;
        padding-left: 0.27rem;
        display: flex;
        align-items: center;
        &:nth-child(odd) {
          background: #f7f7f7;
        }
        .name {
          font-size: 0.1rem;
          color: #666666;
          width: 2.17rem;
          font-size: 0.1rem;
          color: #666666;
        }
        .score {
          font-size: 0.1rem;
          color: #666666;
        }
      }
    }
  }
}
</style>
