<template>
  <div class="pc-container">
    <slot></slot>
    <slot name="label"></slot>
    <div class="content">
      <div class="first w1200">
        <img
          src="~/assets/images/products/pc_img_first.png"
          alt="">
        <p>微信首页任务栏等60+小程序入口，让10亿用户轻松发现你微信首页任务栏等60+小程序入口，让10亿用户轻松发现微信首页任务栏等60+小程序入口，让10亿用户轻松发现你微信首页任务栏等60+小程序入口，让10亿用户轻松发现你微信首页任务栏等60+小程序入口，让10亿用户轻松发现你</p>
      </div>
      <div class="seconed">
        <title-content :title="'更适合中国宝宝的儿童智能发展测评'" :titleSub="'MORE SUITABLE FOR CHILDRENS INTERLLIGENCE DEVELOPMENT ASSESSMENT OF CHINESE BABIES'"></title-content>
        <div class="seconed-box w1200">
          <div
            :class="['seconed-item']"
            v-for="item in showList"
            :key="item.id">
            <img :src="item.imgUrl" alt="">
          </div>
        </div>
      </div>
      <div class="thirdly w1200">
        <div class="left">
          <img src="~/assets/images/products/pc_img_second.png" alt="">
        </div>
        <div class="right">
          <h4>丰富课堂形式，满足多种学</h4>
          <h4>习需求</h4>
          <p class="desc content-desc">完美适配PC端，覆盖直播、图文、音视频等课</p>
          <p class="desc">程形式</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import TitleContent from '@/components/common/titleContent';

const showList = Object.freeze([
  {
    id: 0,
    imgUrl: require('~/assets/images/products/pc_dev_01.png'),
  },
  {
    id: 1,
    imgUrl: require('~/assets/images/products/pc_dev_02.png'),
  },
  {
    id: 2,
    imgUrl: require('~/assets/images/products/pc_dev_03.png'),
  },
]);

export default {
  name: "PcPage",
  mounted() {},
  data() {
    return {
      showList,
      bannerImg: require('~/assets/images/products/banner-pc.png')
    };
  },
  components: {
    TitleContent
  }
};
</script>
<style scoped lang="scss">
.pc-container {
  .banner-img {
    position: relative;
    img {
      width: 100%;
      height: 595px;
    }
    .label {
      font-family: PingFangSC-Semibold, sans-serif;
      font-weight: 600;
      color: #ffffff;
      font-size: 80px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .content {
    .first {
      display: flex;
      justify-content: center;
      flex-direction: column;
      padding-bottom: 50px;
      img {
        width: 1200px;
        height: 700px;
      }
      p {
        margin: 0 auto;
        width: 958px;
        font-size: 18px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #646A7E;
        line-height: 30px;
        text-indent: 36px;
      }
    }
    .seconed {
      width: 100%;
      height: 607px;
      background-color: #F7FBFF;
      padding-top: 52px;
      box-sizing: border-box;
      .label {
        font-size: 48px;
        font-family: PingFangSC-Semibold, sans-serif;
        font-weight: 600;
        color: rgba(38, 38, 38, 1);
        letter-spacing: 1px;
        text-align: center;
        margin-bottom: 118px;
      }
      .seconed-box {
        display: flex;
        justify-content: space-between;
        margin-top: 105px;
        .seconed-item {
          img {
            width: 384px;
            height: 293px;
          }
        }
      }
    }
    .thirdly {
      padding: 50px 0;
      display: flex;
      justify-content: center;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .right {
        h4 {
          font-size: 26px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #333333;
          line-height: 37px;
        }
        .desc {
          width: 335px;
          font-size: 16px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #646A7E;
          line-height: 30px;
        }
        .content-desc {
          margin-top: 50px;
        }
      }
      img {
        width: 812px;
        height: 522px;
      }
    }
  }
}
</style>