<template>
  <section class="Parent-container">
    <div class="main-wrap">
      <slot></slot>
      <slot name="label"></slot>
      <div class="content">
        <div class="content-list">
          <div class="bgF8">
            <div class="content-list-one content-list-item w1200">
              <div class="left">
                <div class="label">高质量的优质教育内容陪伴</div>
                <div class="desc content-desc">点击下方下载苹果端和安卓端APP,快去下载体验吧</div>
                <div class="download">
                  <img
                    @click="handleDownload"
                    src="http://res.training.luojigou.vip/Fl_0R6Bwy75ByXLhmm2b1cpknZEv?imageView2/0/q/50|imageslim"
                    alt=""
                  >
                  <img
                    @click="handleDownload"
                    src="http://res.training.luojigou.vip/FvhOJGHagsZ2wuo3Fc3YAuL_z_g0?imageView2/0/q/50|imageslim"
                    alt=""
                  >
                </div>
              </div>
              <div class="right">
                <img :src="firstImg" alt="">
              </div>
            </div>
          </div>
          <div>
            <div class="content-list-two content-list-item w1200">
              <div class="left">
                <img :src="secondImg" alt="" >
              </div>
              <div class="right">
                <div class="label">家庭思维化游戏教育体系</div>
                <div class="desc content-desc">以德国优质思维教育内容为载体</div>
              </div>
            </div>
          </div>
          <div class="bgF8">
            <div class="content-list-three content-list-item w1200">
              <div class="left">
                <div class="label">探索式思维训练方案</div>
                <div class="desc content-desc">符合孩子的思维游戏产品</div>
              </div>
              <div class="right">
                <img :src="threeImg" alt="" >
              </div>
            </div>
          </div>
          <!-- <div>
            <div class="content-list-four content-list-item w1200">
              <div class="left">
                <div class="label">直播回放，体验APP原生大屏大视野</div>
                <div class="desc content-desc">在线直播回放比网页更流畅</div>
              </div>
              <div class="right">
                <img :src="fourImg" alt="" >
              </div>
            </div>
          </div>
          <div class="bgF8">
            <div class="content-list-five content-list-item w1200">
              <div class="left">
                <img :src="fiveImg" alt="" >
              </div>
              <div class="right">
                <div class="label">离线下载，更加便捷的学习方式</div>
                <div class="desc content-desc">课程下载到app，随时随地自由学习</div>
              </div>
            </div>
          </div>
          <div>
            <div class="content-list-six content-list-item w1200">
              <div class="left">
                <div class="label">直播回放，体验APP原生大屏大视野</div>
                <div class="desc content-desc">在线直播回放比网页更流畅</div>
              </div>
              <div class="right">
                <img :src="sixImg" alt="" >
              </div>
            </div>
          </div> -->
        </div>
      </div>
    </div>
  </section>
</template>

<script>
export default {
  name: "ParentPage",
  data() {
    return {
      // showList,
      bannerImg: require('~/assets/images/products/banner-app.png'),
      contentBgImg: require('~/assets/images/products/parent_bg.png'),
      firstImg: require('~/assets/images/products/parent_img_first.png'),
      secondImg: require('~/assets/images/products/parent_img_second.png'),
      threeImg: require('~/assets/images/products/parent_img_three.png'),
      fourImg: require('~/assets/images/products/parent_img_four.png'),
      fiveImg: require('~/assets/images/products/parent_img_five.png'),
      sixImg: require('~/assets/images/products/parent_img_six.png'),
    };
  },
  mounted() {
  },
  methods: {
    handleDownload() {
      window.location.href = `https://sj.qq.com/myapp/detail.htm?apkName=com.zaojiao.app.parent`;
    }
  }
};
</script>
<style scoped lang="scss">
.Parent-container {
  .main-wrap {
    // background-image: url('~assets/images/products/parent_bg.png');
    // background-repeat: no-repeat;
    // background-size: cover;
    // padding-bottom: 280px;
  }
  .content-list {
    .left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      .label {
        font-size: 26px;
        font-family: PingFangSC-Medium, sans-serif;
        font-weight: 500;
        color: #333333;
        line-height: 37px;
      }
      .desc {
        height: 30px;
        font-size: 14px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 400;
        color: #646A7E;
        line-height: 30px;
      }
      img {
        width: 666px;
        height: 642px;
      }
    }
  
    .right {
      display: flex;
      flex-direction: column;
      justify-content: center;
      .label {
        font-size: 26px;
        font-family: PingFangSC-Medium, sans-serif;
        font-weight: 500;
        color: #333333;
        line-height: 37px;
      }
      .desc {
        width: 388px;
        font-size: 14px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 400;
        color: #646A7E;
      }
      img {
        width: 666px;
        height: 642px;
      }
    }

    .content-desc {
      margin-top: 48px;
    }
  }

  .banner-img {
    position: relative;
    font-size: 0;
    img {
      width: 100%;
      height: 595px;
    }
    .label {
      letter-spacing: 1px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 66px;
      font-family: PingFangSC-Medium, sans-serif;
      font-weight: 500;
      color: #FFFFFF;
      line-height: 92px;

    }
  }
  .content {
    .content-list-item {
      padding: 45px 0;
      display: flex;
      justify-content: space-between;
    }
    .content-list {
      box-sizing: border-box;
      .content-list-one {
        .left {
          .download {
            margin-top: 81px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            img {
              width: 161px;
              height: 41px;
            }
          }
          .download img:first-child {
            margin-bottom: 25px;
          }
        }
      }
    }
  }
}
</style>