18679_10275_backup.jsp 7.0 KB

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