
<template>
  <div class="home">
        <div class="title">
          <!--顶部轮播图-->
          <div >
            <Carousel >
              <CarouselItem v-for="(homeImagesList,index) in homeCarouselImg" :key="index">
                <div class="demo-carousel">
                  <img class="carousel-img" :src="homeImagesList.images" >
                </div>
              </CarouselItem>
            </Carousel>
          </div>
        </div>
        <div class="who-is">
          <ul class="people-list">
            <li class=" show animated slideInLeft delay-1s">
              <img src="../../assets/image/resource/who01.png">
              <span>我是管理者</span>
            </li>
            <li class=" show animated slideInLeft ">
              <img src="../../assets/image/resource/who02.png">
              <span>我是教师</span>
            </li>
            <li class="show animated slideInRight">
              <img src="../../assets/image/resource/who03.png">
              <span>我是学生</span>
            </li>
            <li class="show animated slideInRight delay-1s">
              <img src="../../assets/image/resource/who04.png">
              <span>我是家长</span>
            </li>
          </ul>
        </div>
        <div class="center-info">
          <h1>已超过<span>1000</span>所学校开通了我们的服务</h1>
          <img  src="../../assets/image/resource/center01.png" >
          <img  src="../../assets/image/resource/bottom.png" >
        </div>
     </div>
</template>
<script>
  export default {
    data() {
      return {
        homeCarouselImg: [

          {
            images: require('../../assets/image/resource/banner02.png')
          },
          {
            images: require('../../assets/image/resource/banner01.png')
          },
        ]
      };
    },
   
  }
</script>
<style scoped>
  .home {
    width: 100%;
    margin: auto;
  }

  .title {
    width: 100%;
  }

  .header {
    height: 80px;
    background-color: rgb(29, 34, 34);
  }

  .demo-carousel {
    width: 100%;
  }

  .carousel-img {
    width: 100%;
    cursor: pointer;
    margin: auto;
  }

  .who-is {
    height: 240px;
    margin-top: -70px;
    position: relative;
    z-index: 21;
    width: 64%;
    overflow: hidden;
    margin-left: 19%;
  }

  .people-list {
    display: block;
  }

  .who-is ul {
    list-style: none;
  }

    .who-is ul li span {
      padding-top: 20px;
      font-size: 24px;
      color: #fff;
    }

    .who-is ul li {
      float: left;
      width: 300px;
      height: 264px;
      text-align: center;
      position: relative;
      /*opacity: 0;
      opacity: 1\9;*/
      background-color: #289EFB;
    }

  .show:hover {
    transition: all 0.6s;
    margin-top: -2%;
    cursor:pointer;
  }

      .who-is ul li img {
        border: 0;
        vertical-align: middle;
        margin-top: 30%;
      }
  .center-info{
    width:100%;
  }
  .center-info h1{
    font-size:40px;
    text-align:center;
  }
    .center-info span {
      color: #289EFB;
      font-size:60px;
    }
</style>
