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/center001.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/botton.png" style="width:100%">
  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. </div>
  54. </div>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. homeCarouselImg: [
  61. {
  62. images: require('../../assets/image/resource/banner002.png')
  63. },
  64. {
  65. images: require('../../assets/image/resource/banner01.png')
  66. },
  67. ]
  68. };
  69. },
  70. }
  71. </script>
  72. <style scoped>
  73. .home {
  74. width: 100%;
  75. margin: auto;
  76. }
  77. .title {
  78. width: 100%;
  79. overflow:hidden;
  80. }
  81. .header {
  82. height: 80px;
  83. background-color: rgb(29, 34, 34);
  84. }
  85. .demo-carousel {
  86. width: 100%;
  87. }
  88. /*.demo-carousel img {
  89. background-size:contain;
  90. }*/
  91. .carousel-img {
  92. width: 100%;
  93. /*cursor: pointer;*/
  94. margin: auto;
  95. }
  96. .who-is {
  97. height: 260px;
  98. margin-top: -20px;
  99. position: relative;
  100. z-index: 20;
  101. width: 56.5%;
  102. /*overflow: hidden;*/
  103. margin-left: 21.5%;
  104. }
  105. .people-list {
  106. display: block;
  107. }
  108. .who-is ul {
  109. list-style: none;
  110. }
  111. .who-is ul li span {
  112. padding-top: 10px;
  113. display: block;
  114. font-size: 24px;
  115. /* margin-top: 35px; */
  116. font-weight: 800;
  117. color: #141414;
  118. }
  119. .who-is ul li {
  120. float: left;
  121. width: 255px;
  122. height: 235px;
  123. text-align: center;
  124. position: relative;
  125. box-shadow: 1px 1px 1px 1px #808080;
  126. border-radius: 5%;
  127. margin-left: 12px;
  128. background-color: #fff;
  129. }
  130. .show:hover {
  131. transition: all 0.6s;
  132. margin-top: -2%;
  133. cursor:pointer;
  134. }
  135. .who-is ul li img {
  136. border: 0;
  137. /* vertical-align: middle; */
  138. margin-top: 10%;
  139. }
  140. .arrow{
  141. width:100%;
  142. text-align:center;
  143. }
  144. .arrow h1 {
  145. margin-top: 30px;
  146. font-weight: 800;
  147. font-size: 26px;
  148. color: #0099FF;
  149. margin-bottom: 5px;
  150. }
  151. .arrow img{
  152. width:25px;
  153. margin-top:20px;
  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>