activityindex.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <div class="index_box">
  3. <div class="index_top">
  4. <div class="index_top_left">
  5. <Carousel autoplay v-model="value2" loop>
  6. <CarouselItem>
  7. <div class="demo-carousel"><img src="../../assets/image/resource/activity_banner_01.jpg" /></div>
  8. </CarouselItem>
  9. <CarouselItem>
  10. <div class="demo-carousel"><img src="../../assets/image/resource/activity_banner_02.png" /></div>
  11. </CarouselItem>
  12. </Carousel>
  13. <span class="tit">
  14. <em class="bg"></em>
  15. <p>2018年创新杯首届全国信息化教学创新大赛正式启动</p>
  16. </span>
  17. </div>
  18. <div class="index_top_right">
  19. <div class="index_top_title"><div class="right_title">活动报道</div></div>
  20. <ul class="index_top_list">
  21. <li class="index_top_data" v-for="item in listdata"><a href="" style="color:#555"><div class="index_top_data_title"><Icon type="ios-ribbon" size="24" />{{item.title}}</div><div class="index_top_data_time">{{item.time}}</div></a></li>
  22. </ul>
  23. </div>
  24. <div class="activity_img"><img src="../../assets/image/resource/flow_img.png" /></div>
  25. <div class="production_box">
  26. <div class="production_box_title"><div class="production_box_name">作品样例</div></div>
  27. <ul>
  28. <li></li>
  29. </ul>
  30. </div>
  31. </div>
  32. </div>
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. value2: 0,
  39. listdata: [
  40. { "id": 1, "title": '成都市小学数学“高效课堂”教学研讨活动', "time": '2018-09-16' },
  41. { "id": 2, "title": '在看、说、读、演中感悟“博爱”', "time": '2018-09-02' },
  42. { "id": 3, "title": '幸福课堂,让学生真正享受语文学习的快乐', "time": '2018-08-20' },
  43. { "id": 4, "title": '成都市小学语文阅读教学中信息技术运用研讨', "time": '2018-05-12' },
  44. { "id": 5, "title": 'IPAD进课堂,华科附小美术课堂新体验', "time": '2018-02-19' },
  45. { "id": 6, "title": '在看、说、读、演中感悟“博爱”', "time": '2018-01-02' },
  46. { "id": 7, "title": '幸福课堂,让学生真正享受语文学习的快乐', "time": '2018-01-07' },
  47. { "id": 8, "title": '成都市小学语文阅读教学中信息技术运用研讨', "time": '2017-12-25' },
  48. ],
  49. }
  50. }
  51. }
  52. </script>
  53. <style>
  54. .index_box {
  55. width:100%;
  56. height:auto;
  57. }
  58. .index_top {
  59. width:1200px;
  60. height:350px;
  61. margin:0 auto;
  62. padding-top:20px;
  63. }
  64. .index_top_left {
  65. width:405px;
  66. height:288px;
  67. float:left;
  68. position:relative
  69. }
  70. .index_top_right{
  71. width: 750px;
  72. height: 290px;
  73. float: left;
  74. margin-left:30px;
  75. }
  76. .tit {
  77. position: absolute;
  78. width: 100%;
  79. height: 40px;
  80. line-height: 40px;
  81. font-size: 15px;
  82. color: #fff;
  83. left: 0;
  84. bottom: 0;
  85. right: 0;
  86. text-align: center;
  87. }
  88. .bg {
  89. position: absolute;
  90. left: 0;
  91. top: 0;
  92. width: 100%;
  93. height: 100%;
  94. background: #000;
  95. opacity: .1;
  96. filter: alpha(opacity=10);
  97. z-index: 0;
  98. }
  99. .index_top_title {
  100. width: 100%;
  101. height: 37px;
  102. border-bottom: 1px solid #e3e3e3;
  103. }
  104. .right_title {
  105. width:13%;
  106. font-size: 24px;
  107. color: #288add;
  108. border-bottom: 1px solid #288add;
  109. }
  110. .index_top_list {
  111. width:100%;
  112. height:250px;
  113. list-style:none;
  114. }
  115. .index_top_data {
  116. width:100%;
  117. padding:1% 3% 3% 0%;
  118. }
  119. .index_top_data_title {
  120. width: 70%;
  121. float: left;
  122. font-size: 14px;
  123. }
  124. .index_top_data_time {
  125. width:20%;
  126. float:right;
  127. font-size:12px;
  128. }
  129. .activity_img {
  130. width:1200px;
  131. margin-top:7%;
  132. float:left;
  133. }
  134. .production_box {
  135. width: 1200px;
  136. float: left;
  137. margin: 0 auto;
  138. margin-top: 5%;
  139. }
  140. .production_box_title {
  141. width: 100%;
  142. padding:1%;
  143. }
  144. .production_box_name {
  145. width:8.5%;
  146. font-size: 24px;
  147. color: #288add;
  148. border-bottom:1px solid #288add;
  149. margin-left:1%;
  150. }
  151. </style>