<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']" 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">
              <p v-for="(ele, index) in item.content" :key="index">
                {{ ele }}
              </p>
            </div>
            <div class="name">{{item.name}}</div>
            <div class="info">{{item.info}}</div>
          </div> -->
          <div class="content">
            <div class="intro">简历介绍</div>
            <div class="desc" v-for="(ele, index) in item.content" :key="index">
              {{ ele }}
            </div>
          </div>
          <div class="user-info">
            <div class="name">{{item.name}}</div>
            <div class="info">{{item.info}}</div>
          </div>
          <div class="mask"></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"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '季泽拉•吕克',
          // info: 'Prof Gisela Lueck'
          info: '职称/学历/所在公司'
        },
        {
          imgUrl: require("~/assets/images/about/expert_02.png"),
          content: [
            '芬肯出版社总经理',
            '芬肯d第三代人的企业继承人',
          ],
          name: '霍克•科瑞克',
          // info: 'Holger Krick'
          info: '职称/学历/所在公司'
        },
        {
          imgUrl: require("~/assets/images/about/expert_03.png"),
          content: [
            '德国出版界知名编辑',
            '著名思维教育专家',
          ],
          name: '多丽丝•菲舍尔夫人',
          // info: 'Ms Doris Fischer'
          info: '职称/学历/所在公司'
        },
        {
          imgUrl: require("~/assets/images/about/expert_04.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '苏珊娜·贝尔纳',
          // info: '职称/学历/所在公司 '
          info: '职称/学历/所在公司'
        },
        {
          imgUrl: require("~/assets/images/about/expert_05.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '楚江亭',
          info: '职称/学历/所在公司'
        },
        {
          imgUrl: require("~/assets/images/about/expert_06.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '廖丽英',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_07.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '祝士媛',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_08.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '刘占兰',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_09.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '杜继纲',
          info: '职称/学历/所在公司 '
        },{
          imgUrl: require("~/assets/images/about/expert_10.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '肖晶',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_11.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '苏靖',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_12.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '刘秀丽',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_13.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '许晓晖',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_14.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '庄薇',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_15.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '王瑜元',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_16.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '许晓晖',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_17.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '安颖',
          info: '职称/学历/所在公司 '
        },
        {
          imgUrl: require("~/assets/images/about/expert_18.png"),
          content: [
            '德国现代著名早期教育专家',
            '哲学博士',
          ],
          name: '吴晓慧',
          info: '职称/学历/所在公司 '
        },
      ],
    };
  },
  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, sans-serif;
  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, sans-serif;
  font-weight: 600;
  color:#333333;
  text-align: center;
}

.expert {
  padding: 195px 0 350px;
  .title-en {
    position: absolute;
    top: -30px;
    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;
    &:hover {
      .mask {
        display: block;
        background: rgba(0, 0, 0, 0.44);
        transition: all .5s;
        -webkit-transition: all .5s;
      }
      .content {
        display: block;
      }
    }
    &:nth-child(3n) {
      margin-right: 0;
    }
    img {
      width: 373px;
      height: 542px;
      object-fit: cover;
      border-radius: 12px 12px 0px 0px;
    }
    .user-info {
      position: absolute;
      bottom: 20px;
      z-index: 66;
      color: #FFFFFF;
      .name {
        z-index: 66;
        font-size: 36px;
        font-family: PingFangSC-Semibold, sans-serif;
        font-weight: 600;
        line-height: 50px;
        margin-top: 62px;
        letter-spacing:1px;
        padding: 0 16px;
      }
      .info {
        z-index: 3;
        font-size:20px;
        font-family:PingFangSC-Regular, sans-serif;
        font-weight:400;
        padding: 0 16px;
        margin-top: 6px;
      }
    }
    .content {
      position: absolute;
      top: 166px;
      display: none;
      font-size: 14px;
      font-family: PingFangSC-Regular, sans-serif;
      font-weight: 400;
      padding: 0 46px;
      line-height:28px;
      min-height: 180px;
      color: #ffffff;
      z-index: 66;
      .intro {
        font-size: 16px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 500;
        color: #FFFFFF;
        line-height: 22px;
        margin-bottom: 5px;
      }
      .desc {
        font-size: 14px;
        font-family: PingFangSC-Regular, sans-serif;
        font-weight: 400;
        color: #FFFFFF;
        line-height: 28px;
      }
    }
    
    .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;
    }
  }
}
</style>
