home.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <div class="home">
  3. <div class="title">
  4. <!--顶部轮播图-->
  5. <div>
  6. <Carousel>
  7. <CarouselItem v-for="(homeImagesList,index) in homeCarouselImg" :key="index">
  8. <div class="demo-carousel">
  9. <img class="carousel-img" :src="homeImagesList.images">
  10. </div>
  11. </CarouselItem>
  12. </Carousel>
  13. </div>
  14. </div>
  15. <div class="who-is">
  16. <ul class="people-list">
  17. <li class=" show animated slideInLeft delay-1s">
  18. <img src="../../assets/image/resource/who01.png">
  19. <span>我是管理者</span>
  20. </li>
  21. <li class=" show animated slideInLeft ">
  22. <img src="../../assets/image/resource/who02.png">
  23. <span>我是教师</span>
  24. </li>
  25. <li class="show animated slideInRight">
  26. <img src="../../assets/image/resource/who03.png">
  27. <span>我是学生</span>
  28. </li>
  29. <li class="show animated slideInRight delay-1s">
  30. <img src="../../assets/image/resource/who04.png">
  31. <span>我是家长</span>
  32. </li>
  33. </ul>
  34. </div>
  35. <div class="arrow">
  36. <img src="../../assets/image/resource/arrow.png">
  37. <h1>开通智慧学校</h1>
  38. <div class="box"></div>
  39. </div>
  40. <img src="../../assets/image/resource/center01.png">
  41. <div class="arrow">
  42. <img src="../../assets/image/resource/arrow.png">
  43. <h1>开通智慧云平台</h1>
  44. <div class="box"></div>
  45. </div>
  46. <img src="../../assets/image/resource/bottom.png">
  47. <div class="arrow">
  48. <img src="../../assets/image/resource/arrow.png">
  49. <h1>联系我们</h1>
  50. <div class="box"></div>
  51. </div>
  52. <div class="center-info">
  53. <!--<h1>已超过<span>1000</span>所学校开通了我们的服务</h1>
  54. <img src="../../assets/image/resource/center01.png" >-->
  55. </div>
  56. </div>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. homeCarouselImg: [
  63. {
  64. images: require('../../assets/image/resource/banner01.png')
  65. },
  66. {
  67. images: require('../../assets/image/resource/banner.png')
  68. },
  69. ]
  70. };
  71. },
  72. }
  73. </script>
  74. <style scoped>
  75. .home {
  76. width: 100%;
  77. margin: auto;
  78. }
  79. .title {
  80. width: 100%;
  81. }
  82. .header {
  83. height: 80px;
  84. background-color: rgb(29, 34, 34);
  85. }
  86. .demo-carousel {
  87. width: 100%;
  88. }
  89. .demo-carousel img {
  90. background-size:contain;
  91. }
  92. .carousel-img {
  93. width: 100%;
  94. cursor: pointer;
  95. margin: auto;
  96. }
  97. .who-is {
  98. height: 260px;
  99. margin-top: -20px;
  100. position: relative;
  101. z-index: 20;
  102. width: 56.5%;
  103. /*overflow: hidden;*/
  104. margin-left: 21.5%;
  105. }
  106. .people-list {
  107. display: block;
  108. }
  109. .who-is ul {
  110. list-style: none;
  111. }
  112. .who-is ul li span {
  113. padding-top: 10px;
  114. display: block;
  115. font-size: 24px;
  116. /* margin-top: 35px; */
  117. font-weight: 800;
  118. color: #141414;
  119. }
  120. .who-is ul li {
  121. float: left;
  122. width: 255px;
  123. height: 235px;
  124. text-align: center;
  125. position: relative;
  126. box-shadow: 1px 1px 1px 1px #808080;
  127. border-radius: 5%;
  128. margin-left: 12px;
  129. background-color: #fff;
  130. }
  131. .show:hover {
  132. transition: all 0.6s;
  133. margin-top: -2%;
  134. cursor:pointer;
  135. }
  136. .who-is ul li img {
  137. border: 0;
  138. /* vertical-align: middle; */
  139. margin-top: 10%;
  140. }
  141. .arrow{
  142. width:100%;
  143. text-align:center;
  144. }
  145. .arrow h1 {
  146. margin-top: 30px;
  147. font-weight: 800;
  148. font-size: 26px;
  149. color: #0099FF;
  150. margin-bottom: 5px;
  151. }
  152. .arrow img{
  153. width:25px;
  154. }
  155. .box {
  156. width: 120px;
  157. height: 5px;
  158. background-color: #0099FF;
  159. margin: auto;
  160. margin-bottom:20px;
  161. /*text-align:center;*/
  162. }
  163. .center-info {
  164. width: 100%;
  165. }
  166. .center-info h1{
  167. font-size:40px;
  168. text-align:center;
  169. }
  170. .center-info span {
  171. color: #289EFB;
  172. font-size:60px;
  173. }
  174. </style>