<template>
  <div class="container">
    <abount-header :title="title" :bgImage="bgImage"></abount-header>
    <!-- 专家团队 -->
    <div class="expert w1200">
      <div class="title-content">
        <div class="e-title title-zh wow animate__animated animate__fadeInDown">
          <div class="title-en">EXPERT</div>
          专家团队
        </div>
      </div>
      <div class="e-content">
      <div :class="['expert-item wow animate__animated', index % 3 === 0 ? 'animate__lightSpeedInLeft' : (index + 1) % 3 === 0 ? 'animate__lightSpeedInRight' : '' ]" v-for="(item, index) in expertList" :key="index">
          <img :src="item.imgUrl" alt="">
          <div class="line"></div>
          <div class="mask">
            <div class="intro">简历介绍</div>
            <div class="content">
              简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍简历介绍简历介绍 简历介绍简历介绍简历介绍
            </div>
            <div class="name">多丽丝</div>
            <div class="info">职称/学历/所在公司</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_team.png"),
      expertList: [
        {
          imgUrl: require("~/assets/images/about/expert_01.png"),
        },
        {
          imgUrl: require("~/assets/images/about/expert_01.png"),
        },
        {
          imgUrl: require("~/assets/images/about/expert_01.png"),
        },
        {
          imgUrl: require("~/assets/images/about/expert_01.png"),
        },
        {
          imgUrl: require("~/assets/images/about/expert_01.png"),
        },
      ],
    };
  },
  head() {
    return {
      title: "逻辑狗官网-中德智慧教育",
      meta: [
        {
          name: "keywords",
          hid: "keywords",
          content: `逻辑狗官网、逻辑狗教材、 幼儿园教材、逻辑狗课程、逻辑狗思维训练课程、儿童思维教育、0-12岁儿童`,
        },
        {
          hid: "description",
          content: `逻辑狗官方网站，专为0-12岁儿童设计的思维训练课程，中德智慧教育，全球优质教育内容输出平台`,
        },
      ],
    };
  },
  mounted () {
    if (process.browser) { 
      new WOW({
          offset: 0,   
          live: true
      }).init()
    }
  },
  components: {
    AbountHeader,
  },
  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: 500;
  color:#333333;
  text-align: center;
}

.expert {
  padding: 195px 0 350px;
  .title-en {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
  }
  .e-content {
    display: flex;
    flex-wrap: wrap;
    // justify-content: space-between;
    align-items: center;
    margin-top: 150px;
  }
  .e-title {
    text-align: center;
  }
  .expert-item {
    position: relative;
    margin-bottom: 26px;
    margin-right: 40px;
    border-radius: 10px 10px 0px 0px;
    &:nth-child(3n) {
      margin-right: 0;
    }
    &:hover {
      .mask {
        display: block;
        background:rgba(0,0,0,0.5);
      }
    }
    .line {
      width: 100%;
      position: absolute;
      bottom: 0;
      height: 8px;
      background: rgba(131, 171, 249, 1);
      z-index: 66;
    }
    .mask {
      display: none;
      position: absolute;
      border-radius: 10px;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      transition: all .5s;
      -webkit-transition: all .5s;
      color: #ffffff;
      .intro {  
        font-size:16px;
        font-family:PingFangSC-Regular,PingFang SC;
        font-weight:400;
        padding: 0 46px;
        margin-top: 162px;
      }
      .content {
        font-size: 14px;
        font-family: PingFangSC-Regular,PingFang SC;
        font-weight: 400;
        padding: 0 46px;
        line-height:28px;
      }
      .name {
        font-family: PingFangSC-Semibold,PingFang SC;
        font-weight: 600;
        font-size:45px;
        color: #ffffff;
        margin-top: 62px;
        line-height: 62px;
        letter-spacing:1px;
        padding: 0 16px;
      }
      .info {
        font-size:20px;
        font-family:PingFangSC-Regular,PingFang SC;
        font-weight:400;
        padding: 0 16px;
        margin-top: 6px;
      }
    }
  }
}
</style>
