<template>
  <section class="Parent-container">
    <!-- <div class="banner-img">
      <img
        src="http://res.training.luojigou.vip/FlpLqC_a2wOuyJqG7LiOb2tbmUZP?imageView2/0/q/50|imageslim"
        alt=""
      >
      <section class="label">家长端APP</section>
    </div> -->
    <div class="main-wrap">
      <slot></slot>
      <slot name="label"></slot>
      <div class="content">
        <!-- <img
          src="http://res.training.luojigou.vip/lrW91RgYOMu18CYaH3qDbSUVE2bi?imageView2/0/q/50|imageslim"
          alt=""
        > -->
        <div class="content-list">
          <div class="content-list-one w1200">
            <div class="left">
              <!-- <img
                src="http://res.training.luojigou.vip/FjidkWaOJvx87vZHje3VpIYyNaeV?imageView2/0/q/50|imageslim"
                alt=""
              > -->
              <img :src="firstImg" alt="">
            </div>
            <div class="right">
              <div class="label">逻辑狗家长端记录为家长提</div>
              <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>
          <div class="content-list-two w1200">
            <div class="left">
              <div class="label">购买课程，更加便捷流畅的</div>
              <div class="label">抢课体验</div>
              <div class="desc content-desc">页面展示课程列表，实时展示课程的最新上线，</div>
              <div class="desc">提供最优质的抢课体验</div>
            </div>
            <div class="right">
              <!-- <img src="http://res.training.luojigou.vip/Fm096zbH-x0IxAcT8IinoIHeMCoi?imageView2/0/q/50|imageslim" alt="" > -->
              <img :src="secondImg" alt="" >
            </div>
          </div>
          <div class="content-list-three w1200">
            <div class="left">
              <!-- <img
                src="http://res.training.luojigou.vip/Fv4R4SZiqrVipdyYDlwhKJ4vTjIE?imageView2/0/q/50|imageslim"
                alt=""
              > -->
              <img :src="threeImg" alt="" >
            </div>
            <div class="right">
              <div class="label">购物商城，展现逻辑狗的系</div>
              <div class="label">列产品</div>
              <div class="desc content-desc">精细的产品分类，你最短时间找到自己需要的</div>
              <div class="desc">产品</div>
            </div>
          </div>
          <div class="content-list-four w1200">
            <div class="left">
              <div class="label">直播回放，体验APP原生大</div>
              <div class="label">屏大视野</div>
              <div class="desc content-desc">精细的产品分类，你最短时间找到自己需要的 产品</div>
              <div class="desc">产品</div>
            </div>
            <div class="right">
              <img :src="fourImg" alt="" >
              <!-- <img
                src="http://res.training.luojigou.vip/FkdjYnOvv_62O27MOTJJ5Kmco6U8?imageView2/0/q/50|imageslim"
                alt=""
              > -->
            </div>
          </div>
          <div class="content-list-five w1200">
            <div class="left">
              <img :src="fiveImg" alt="" >
              <!-- <img
                src="http://res.training.luojigou.vip/Fs6eujHZZwUgrrGDANQ3vdhR-mpG?imageView2/0/q/50|imageslim"
                alt=""
              > -->
            </div>
            <div class="right">
              <div class="label">离线下载，更加便捷的学习</div>
              <div class="label">方式</div>
              <div class="desc content-desc">课程下载到app，随时随地自由学习</div>
            </div>
          </div>
          <div class="content-list-six w1200">
            <div class="left">
              <div class="label">直播回放，体验APP原生大</div>
              <div class="label">屏大视野</div>
              <div class="desc content-desc">精细的产品分类，你最短时间找到自己需要的 产品</div>
              <div class="desc">产品</div>
            </div>
            <div class="right">
              <img :src="sixImg" alt="" >
              <!-- <img
                src="http://res.training.luojigou.vip/FkdjYnOvv_62O27MOTJJ5Kmco6U8?imageView2/0/q/50|imageslim"
                alt=""
              > -->
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
</template>

<script>
if (process.browser) {
  var { WOW } = require("wowjs");
}
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() {
    if (process.browser) {
      new WOW({
        offset: 0,
        live: true,
      }).init();
    }
  },
  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: 600;
        color: #333333;
        line-height: 37px;
      }
      .desc {
        height: 30px;
        font-size: 16px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 400;
        color: #666666;
        line-height: 30px;
        font-size: 18px;
      }
      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: 600;
        color: #333333;
        line-height: 37px;
      }
      .desc {
        width: 388px;
        font-size: 18px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 400;
        color: rgba(58, 58, 58, 1);
      }
      img {
        width: 666px;
        height: 642px;
      }
    }
  }

  .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 {
    
    img {
      width: 100%;
      height: 5210px;
      // position: absolute;
      // z-index: 0;
    }
    .content-list {
      // width: 100%;
      // position: absolute;
      // top: 883px;
      // left: 0;
      // padding: 0 344px;
      box-sizing: border-box;
       .content-desc {
         margin-top: 48px;
       }
      .content-list-one {
        display: flex;
        justify-content: space-between;
        .left {
          // img {
          //   width: 601px;
          //   height: 586px;
          // }
        }
        .right {
          display: flex;
          flex-direction: column;
          justify-content: center;
          // .label {
          //   width: 369px;
          //   height: 84px;
          //   color: #262626;
          //   font-size: 30px;
          //   font-family: PingFangSC-Semibold, sans-serif;
          //   font-weight: 600;
          // }
          // .desc {
          //   margin-top: 42px;
          //   font-size: 18px;
          //   font-family: PingFangSC-Regular, sans-serif;
          //   font-weight: 400;
          //   color: rgba(58, 58, 58, 1);
          // }
          .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;
          }
        }
      }
      .content-list-two {
        display: flex;
        justify-content: space-between;
        margin-top: 223px;
        .right {
        }
        // .left {
        //   display: flex;
        //   flex-direction: column;
        //   justify-content: center;
        //   .label {
        //     width: 369px;
        //     height: 84px;
        //     color: #262626;
        //     font-size: 30px;
        //     font-family: PingFangSC-Semibold, sans-serif;
        //     font-weight: 600;
        //   }
        //   .desc {
        //     width: 388px;
        //     margin-top: 42px;
        //     font-size: 18px;
        //     font-family: PingFangSC-Regular, sans-serif;
        //     font-weight: 400;
        //     color: rgba(58, 58, 58, 1);
        //   }
        // }
      }
      .content-list-three {
        display: flex;
        justify-content: space-between;
        margin-top: 218px;
        .left {
          img {
            width: 625px;
            height: 581px;
          }
        }
        .right {
          display: flex;
          flex-direction: column;
          justify-content: center;
          // .label {
          //   width: 369px;
          //   height: 84px;
          //   color: #262626;
          //   font-size: 30px;
          //   font-family: PingFangSC-Semibold, sans-serif;
          //   font-weight: 600;
          // }
          // .desc {
          //   width: 388px;
          //   font-size: 18px;
          //   font-family: PingFangSC-Regular, sans-serif;
          //   font-weight: 400;
          //   color: rgba(58, 58, 58, 1);
          // }
        }
      }
      .content-list-four {
        display: flex;
        justify-content: space-between;
        margin-top: 217px;
        .right {
        }
        .left {
          display: flex;
          flex-direction: column;
          justify-content: center;
          // .label {
          //   width: 369px;
          //   height: 84px;
          //   color: #262626;
          //   font-size: 30px;
          //   font-family: PingFangSC-Semibold, sans-serif;
          //   font-weight: 600;
          // }
          // .desc {
          //   width: 388px;
          //   font-size: 18px;
          //   font-family: PingFangSC-Regular, sans-serif;
          //   font-weight: 400;
          //   color: rgba(58, 58, 58, 1);
          // }
        }
      }
      .content-list-five {
        display: flex;
        justify-content: space-between;
        margin-top: 157px;
        .left {
          img {
            width: 625px;
            height: 609px;
          }
        }
        .right {
          display: flex;
          flex-direction: column;
          justify-content: center;
          // .label {
          //   width: 369px;
          //   height: 84px;
          //   color: #262626;
          //   font-size: 30px;
          //   font-family: PingFangSC-Semibold, sans-serif;
          //   font-weight: 600;
          // }
          // .desc {
          //   width: 388px;
          //   font-size: 18px;
          //   font-family: PingFangSC-Regular, sans-serif;
          //   font-weight: 400;
          //   color: rgba(58, 58, 58, 1);
          // }
        }
      }
      .content-list-six {
        display: flex;
        justify-content: space-between;
        margin-top: 179px;
        .right {
        }
        .left {
          display: flex;
          flex-direction: column;
          justify-content: center;
        }
      }
    }
  }
}
</style>