
<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>
              <img src="https://css.huijiaoyun.com/tianyu_edu/area/edu4.0/images/w_hjy/ami1.png">
              <span>我是管理者</span>
            </li>
            <li>
              <img src="https://css.huijiaoyun.com/tianyu_edu/area/edu4.0/images/w_hjy/ami2.png">
              <span>我是教师</span>
            </li>
            <li>
              <img src="https://css.huijiaoyun.com/tianyu_edu/area/edu4.0/images/w_hjy/ami3.png">
              <span>我是学生</span>
            </li>
            <li>
              <img src="https://css.huijiaoyun.com/tianyu_edu/area/edu4.0/images/w_hjy/ami4.png">
              <span>我是家长</span>
            </li>
          </ul>
        </div>
     </div>
</template>
<script>
  export default {
    data() {
      return {
        homeCarouselImg: [
          {
            images: 'https://css.huijiaoyun.com/tianyu_edu/area/edu4.0/images/w_hjy/banner/banner4.jpg'
          },
          {
            images: require('../assets/image/banner02.png')
          },
          {
            images: require('../assets/image/banner01.png')
          }
        ]
      };
    },
   
  }
</script>
<style scoped>
  .home {
    width: 100%;
    margin: auto;
  }

  .title {
    width: 100%;
    margin-top:5%;
  }

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

  .demo-carousel {
    width: 100%;
  }

  .carousel-img {
    width: 100%;
    cursor: pointer;
    margin: auto;
  }
  .who-is {
    height: 264px;
    margin-top: -114px;
    position: relative;
    z-index: 21;
    overflow: hidden;
    margin-left:18%;
  }
  .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;
    }
      .who-is ul li img {
        border: 0;
        vertical-align: middle;
        margin-top: 30%;
      }
</style>
