<template>
  <div class="container">
    <abount-header :title="title" :bgImage="bgImage"></abount-header>

    <!-- 优质输出平台 -->
    <div class="quality">
      <div class="quality-content">
        <div class="q-top title-content">
          <div class="q-title title-zh wow animate__animated animate__fadeInDown">
            <div class="title-en">QUALITY SDUCATION</div>
            全球优质教育内容输出平台
          </div>
          <div class="q-content">
            <div class="q-content-wrap w1200">
              <div class="q-content-desc wow animate__animated animate__fadeInRight">
                <p>全球多个国家</p>
                <p>众多教学机构</p>
                <p>都在使用的新一代教育方案</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 针对儿童思维开发 -->
    <div class="thinking">
      <div class="t-content w1200">
        <div class="t-top title-content">
          <div class="t-title title-zh wow animate__animated animate__fadeInDown">
            <div class="title-en">THINKING</div>
            针对儿童思维开发
          </div> 
          <p class="title-sub animate__animated wow animate__fadeInLeft">以孩子为核心</p>
        </div>
        <div class="thinking-content-box">
          <div class="content-left wow animate__animated animate__fadeInLeft">
            <img src="~/assets/images/about/thinking_img.png" alt="" srcset="">
          </div>
          <div class="content-right wow animate__animated animate__fadeInRight">
            <div class="content-right-top">
              <div class="img-item">
                <img src="~/assets/images/about/thinking_arrow_01.png" alt="" srcset="">
              </div>
              <div class="img-item right-top-02">
                <img src="~/assets/images/about/thinking_icon_01.png" alt="" srcset="">
              </div>
              <div class="img-item">
                <img src="~/assets/images/about/thinking_arrow_02.png" alt="" srcset="">
              </div>
            </div>
            <div class="content-right-bottom">
              <div class="img-item">
                <img src="~/assets/images/about/thinking_icon_02.png" alt="" srcset="">
              </div>
              <div class="img-item">
                <img src="~/assets/images/about/thinking_arrow_03.png" alt="" srcset="">
              </div>
              <div class="img-item">
                <img src="~/assets/images/about/thinking_icon_03.png" alt="" srcset="">
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 逻辑狗激发学习兴趣 -->
    <div class="interest">
      <div class="i-content w1200">
        <div class="t-top title-content">
          <div class="t-title title-zh wow animate__animated animate__fadeInDown">
            <div class="title-en">LEARNING INTEREST</div>
            逻辑狗激发学习兴趣
          </div> 
          <p class="title-sub animate__animated wow animate__fadeInLeft">逻辑狗提供的智力游戏，于孩子的生活实际，让孩子在熟悉的知识环境中，锻炼自己的思维，丰富自己的知识，这对孩子的健康成长也是很有帮助的。</p>
        </div>
        <div class="interest-content-box">
          <div class="interest-item wow animate__animated animate__bounce">
            <img src="~/assets/images/about/interest_01.png" alt="" srcset="">
            <div class="line"></div>
          </div>
          <div class="interest-item wow animate__animated animate__bounce">
            <img src="~/assets/images/about/interest_02.png" alt="" srcset="">
            <div class="line"></div>
          </div>
        </div>
      </div>
    </div>

    <!-- 逻辑狗教育大奖 -->
    <div class="award">
      <div class="a-content">
        <div class="a-top title-content">
          <div class="t-title title-zh wow animate__animated animate__fadeInDown">
            <div class="title-en">EDUCATION</div>
            逻辑狗教育大奖
          </div> 
        </div>
        <div class="award-content-box">
          <div class="img animate__animated wow animate__fadeInDown">
            <img src="~/assets/images/about/award_img.png" alt="">
          </div>
        </div>
      </div>
    </div>

    <!-- 校园风采 -->
    <div class="campus">
      <div class="c-content w1200">
        <div class="c-top title-content"> 
          <div class="t-title title-zh wow animate__animated animate__fadeInDown">
            <div class="title-en">ACAMPUS</div>
            校园风采
          </div> 
        </div>
        <div class="campus-content-box">
          <div class="campus-item wow animate__animated animate__swing" v-for="(item, index) in campusList" :key="index">
            <div class="img">
              <img :src="item.imgUrl" alt="" srcset="">
            </div>
            <div class="desc">
              {{ item.title }}
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
if (process.browser) { 
  var { WOW } = require('wowjs')
}

import AbountHeader from '~/components/about/banner';

export default {
  data() {
    return {
      title: '联系我们',
      bgImage: require('~/assets/images/about/about_contact.png'),
      campusList: [
        {
          imgUrl: require('~/assets/images/about/interest_02.png'),
          title: '武商亚贸广场的小小夏令营来啦，参加小小夏令营的小朋友，从此就爱上'
        },
        {
          imgUrl: require('~/assets/images/about/interest_02.png'),
          title: '武商亚贸广场的小小夏令营来啦，参加小小夏令营的小朋友，从此就爱上'
        },
        {
          imgUrl: require('~/assets/images/about/interest_02.png'),
          title: '武商亚贸广场的小小夏令营来啦，参加小小夏令营的小朋友，从此就爱上'
        },
        {
          imgUrl: require('~/assets/images/about/interest_02.png'),
          title: '武商亚贸广场的小小夏令营来啦，参加小小夏令营的小朋友，从此就爱上'
        },
        {
          imgUrl: require('~/assets/images/about/interest_02.png'),
          title: '武商亚贸广场的小小夏令营来啦，参加小小夏令营的小朋友，从此就爱上'
        }
      ]
    }
  },
  head() {
    return {
      title: "逻辑狗官网-中德智慧教育",
      meta: [
        {
          name: "keywords",
          hid: "keywords",
          content: `逻辑狗官网、逻辑狗教材、 幼儿园教材、逻辑狗课程、逻辑狗思维训练课程、儿童思维教育、0-12岁儿童`,
        },
        {
          name: "description",
          hid: "description",
          content: `逻辑狗官方网站，专为0-12岁儿童设计的思维训练课程，中德智慧教育，全球优质教育内容输出平台`,
        },
      ],
    };
  },
  components: {
    AbountHeader,
  },
  mounted() {
    if (process.browser) { 
      new WOW({
        offset: 0,   
        live: true
      }).init()
    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
@import "~static/common/style.sass";

.title-content {
  position: relative;
  text-align: center;
}
.title-en {
  position: absolute;
  font-size: 56px;
  font-family: PingFangSC-Semibold, PingFang SC;
  font-weight: 600;
  color:rgba(35,106,250,1);
  opacity: 0.16;
}

.title-zh {
  position: relative;
  display: inline-block;
  font-size: 46px;
  font-family:PingFangSC-Semibold,PingFang SC;
  font-weight: 600;
  color:#333333;
  text-align: center;
}

.quality {
  background: #FFFFFF;
  .title-en {
    left: 50%;
    transform: translate(-50%);
    width: 1200px;
    top: -30px;
  }
  .q-top {
    padding: 192px 0 112px;
  }
  .q-title {
  }
  .q-content {
    position: relative;
    height: 989px;
    width: 100%;
    background: url('~assets/images/about/contact_bg_01.png') 100% 100% no-repeat;
    .q-content-wrap {
      // position: absolute;
      position: relative;
      height: 989px;
      width: 100%;
      .q-content-desc {
        position: absolute;
        bottom: 408px;
        right: 10px;
        p {
          font-size: 28px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #333330;
          line-height: 64px;
        }
      }
    }
  }
}

.thinking {
  height: 1078px;
  background: url('~assets/images/about/contact_bg_02.png') 100% 100% no-repeat;
  padding: 144px 0 170px;
  .title-en {
    left: 50%;
    transform: translate(-50%);
    top: -30px;
  }
  .title-sub {
    margin-top: 22px;
    text-align: center;
    font-size: 24px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #9C9C9C;
    line-height: 33px;

  }
  .thinking-content-box {
    margin-top: 154px;
    display: flex;
    .content-left {
      margin-right: 112px;
    }
    .content-right {
      .content-right-top {
        display: flex;
        justify-content: center;
        align-items: center;
        .right-top-02 {
          margin: 0 26px 0 32px
        }
      }
      .content-right-bottom {
        display: flex;
        align-items: flex-end;
      }
    }
  }
}

.interest {
  padding: 188px 0 92px;
  .title-en {
    left: 50%;
    transform: translate(-50%);
    top: -30px;
    width: 1200px;
  }
  .i-content {
    .title-sub {
      height: 96px;
      font-size: 24px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #999999;
      line-height: 48px;

    }
    .title-sub {
      padding: 0 100px;
      margin-top: 38px;
    }
  }
  .interest-content-box {
    display: flex;
    justify-content: space-between;
    margin-top: 128px;
    .interest-item {
      position: relative;
      font-size: 0;
      width: 578px;
      overflow: hidden;
      transition: 0.3s ease-out;
      &:hover {
        transform: translate3d(0,-8px,0);
        img {
          // transform: scale(1.2);
        }
      }
      img {
        width: 100%;
        transition: 0.5;
      }
      .line {
        position: absolute;
        bottom: 0;
        height: 9px;
        background: $theme_color;
        z-index: 66;
        width: 100%;
      }
    }
  }
}

.award {
  padding-top: 96px;
  height: 723px;
  width: 100%;
  background: #F7FBFF;
  .title-en {
    left: 50%;
    transform: translate(-50%);
    top: -30px;
    width: 1200px;
  }
  .award-content-box {
    margin-top: 123px;
    .img {
      text-align: center;
    }
  }
}

.campus {
  padding: 182px 0 206px;
  .title-en {
    left: 50%;
    transform: translate(-50%);
    top: -30px;
    width: 1200px;
  }
  .campus-content-box {
    margin-top: 172px;
    display: flex;
    flex-wrap: wrap;
    .campus-item {
      max-width:360px;
      // margin: 0 38px 126px 0;
      padding: 18px 18px 32px 18px;
      border-radius: 20px;
      border-bottom: 2px solid transparent;
      &:nth-child(3n) {
        margin-right: 0;
      }
      &:hover {
        // transform: scale(1.1);
        // padding: 18px 18px 32px 18px;
        background:#ffffff;
        border-bottom: 2px solid rgba(35,106,250,1);
        box-shadow:0px 4px 20px 0px rgba(150,150,150,0.22);
        // border-radius: 20px;
        // margin-bottom: 52px;
        .desc {
          transform: scale(1.0);
        }
      }
      img {
        width: 100%;
        height: 192px;
        object-fit: cover;
        border-radius: 20px;
      }
      .desc {
        margin-top: 30px;
        font-size: 18px;
        font-family: PingFangSC-Regular,PingFang SC;
        font-weight: 400;
        color: #333333;
        line-height: 28px;
      }
    }
  }
}

</style>
