18683_10275_backup.jsp 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  2. <html>
  3. <head>
  4. <website-include page="head" />
  5. <meta name="keywords" content="${website.seoKeywords}" />
  6. <meta name="description" content="${website.seoDescription}" />
  7. <title>${website.seoTitle}</title>
  8. </head>
  9. <body>
  10. <website-include page="navigation" />
  11. <!-- 主体 -->
  12. <div class="content">
  13. <!-- 轮播 -->
  14. <div class="banner">
  15. <!-- Swiper -->
  16. <div class="swiper-container banner-swiper wrap">
  17. <div class="swiper-wrapper">
  18. <!-- 遮罩 -->
  19. <div class="swiper-shade"></div>
  20. <c:forEach items="${TXUFBATMysloIzuhThumbnailNmv.articleList}" var="item">
  21. <div class="swiper-slide">
  22. <a href="${item.url}" target="${item.target}">
  23. <img src="${item.thumbnail}">
  24. <p class="swiper-title">
  25. ${item.title}
  26. </p>
  27. </a>
  28. </div>
  29. </c:forEach>
  30. </div>
  31. <!-- Add Pagination -->
  32. <div class="swiper-pagination swiper-pagination-white"></div>
  33. <!-- Add Arrows -->
  34. <div class="swiper-button-prev swiper-button-white"></div>
  35. <div class="swiper-button-next swiper-button-white"></div>
  36. </div>
  37. </div>
  38. <!-- 第一行 -->
  39. <div class="content-row wrap">
  40. <div class="content-item">
  41. <div class="content-wrap">
  42. <h2>
  43. ${BpZVnLkjuXCdoLYCNmv.navigationMap.name}
  44. <a href="${BpZVnLkjuXCdoLYCNmv.navigationMap.url}">
  45. 更多
  46. >>
  47. </a>
  48. </h2>
  49. <ul>
  50. <c:forEach items="${BpZVnLkjuXCdoLYCNmv.articleList}" var="item">
  51. <li>
  52. <a href="${item.url}" target="${item.target}">
  53. <p>
  54. ${item.title}
  55. </p>
  56. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  57. </a>
  58. </li>
  59. </c:forEach>
  60. </ul>
  61. </div>
  62. </div>
  63. <div class="content-item">
  64. <div class="content-wrap">
  65. <h2>
  66. ${aGjQNOLGYfgvuDoQNmv.navigationMap.name}
  67. <a href="${aGjQNOLGYfgvuDoQNmv.navigationMap.url}">
  68. 更多
  69. >>
  70. </a>
  71. </h2>
  72. <ul>
  73. <c:forEach items="${aGjQNOLGYfgvuDoQNmv.articleList}" var="item">
  74. <li>
  75. <a href="${item.url}" target="${item.target}">
  76. <p>
  77. ${item.title}
  78. </p>
  79. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  80. </a>
  81. </li>
  82. </c:forEach>
  83. </ul>
  84. </div>
  85. </div>
  86. </div>
  87. <!-- 第二行 -->
  88. <div class="content-row wrap">
  89. <!-- 招生信息 -->
  90. <div class="content-item">
  91. <div class="content-wrap">
  92. <h2>
  93. ${diy_huEAwAnwqKjkNmv.navigationMap.name}
  94. <a href="${diy_huEAwAnwqKjkNmv.navigationMap.url}">
  95. 更多
  96. >>
  97. </a>
  98. </h2>
  99. <ul>
  100. <c:forEach items="${diy_huEAwAnwqKjkNmv.articleList}" var="item">
  101. <li>
  102. <a href="${item.url}" target="${item.target}">
  103. <p>
  104. ${item.title}
  105. </p>
  106. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  107. </a>
  108. </li>
  109. </c:forEach>
  110. </ul>
  111. </div>
  112. </div>
  113. <!-- 卫健风采 -->
  114. <div class="content-item">
  115. <div class="content-wrap">
  116. <h2>
  117. ${diy_PiVupLvAlfHmNmv.navigationMap.name}
  118. <a href="${diy_PiVupLvAlfHmNmv.navigationMap.url}">
  119. 更多
  120. >>
  121. </a>
  122. </h2>
  123. <ul>
  124. <c:forEach items="${diy_PiVupLvAlfHmNmv.articleList}" var="item">
  125. <li>
  126. <a href="${item.url}" target="${item.target}">
  127. <p>
  128. ${item.title}
  129. </p>
  130. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  131. </a>
  132. </li>
  133. </c:forEach>
  134. </ul>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <website-include page="footer" />
  140. <c:if test="${diy_MGoQhDjcBRmqNmv != null && diy_MGoQhDjcBRmqNmv.articleList.size() > 0}">
  141. <!-- 右侧边栏 -->
  142. <div class="sidebar">
  143. <ul>
  144. <c:forEach items="${diy_MGoQhDjcBRmqNmv.articleList}" var="item">
  145. <li>
  146. <a href="${item.url}" target="${item.target}">
  147. <img src="${item.thumbnail}" width="200" alt="">
  148. </a>
  149. </li>
  150. </c:forEach>
  151. </ul>
  152. <div class="sidebar-close">
  153. <a href="javascript:;">
  154. 关闭×
  155. </a>
  156. </div>
  157. </div>
  158. </c:if>
  159. <script>
  160. // banenr轮播
  161. var swiper = new Swiper('.banner-swiper', {
  162. grabCursor: true,
  163. effect: 'slide',
  164. pagination: {
  165. el: '.swiper-pagination',
  166. clickable: true,
  167. },
  168. navigation: {
  169. nextEl: '.swiper-button-next',
  170. prevEl: '.swiper-button-prev',
  171. },
  172. loop : true,
  173. loopAdditionalSlides: 1,
  174. autoplay: { //自动切换
  175. delay: 5000,
  176. stopOnLastSlide: true,
  177. disableOnInteraction: true,
  178. },
  179. });
  180. // 关闭右侧边栏
  181. $(".sidebar-close").click(function(){
  182. $(this).parent(".sidebar").fadeOut();
  183. })
  184. </script>
  185. </body>
  186. </html>