123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- <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/who01.png">
- <span>我是管理者</span>
- </li>
- <li class=" show animated slideInLeft ">
- <img src="../assets/image/who02.png">
- <span>我是教师</span>
- </li>
- <li class="show animated slideInRight">
- <img src="../assets/image/who03.png">
- <span>我是学生</span>
- </li>
- <li class="show animated slideInRight delay-1s">
- <img src="../assets/image/who04.png">
- <span>我是家长</span>
- </li>
- </ul>
- </div>
- <div class="center-info">
- <h1>已超过<span>1000</span>所学校开通了我们的服务</h1>
- <img src="../assets/image/center01.png" >
- <img src="../assets/image/bottom.png" >
- </div>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- homeCarouselImg: [
- {
- 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: 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>
|