10765_10376_backup.jsp 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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">
  17. <div class="swiper-wrapper">
  18. <c:forEach items="${QRWvegBGcvAftaSyThumbnailNmv.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. <span>
  42. <i></i>
  43. ${BSSBhhrMuVRRMPpdNmv.navigationMap.name}
  44. </span>
  45. <a href="${BSSBhhrMuVRRMPpdNmv.navigationMap.url}">
  46. 更多
  47. >>
  48. </a>
  49. </h2>
  50. <ul>
  51. <c:forEach items="${BSSBhhrMuVRRMPpdNmv.articleList}" var="item" varStatus="status">
  52. <c:if test="${status.index == 0}">
  53. <li class="content-imageText">
  54. <a href="${item.url}" target="${item.target}">
  55. <dl>
  56. <dt>
  57. <img src="${item.thumbnail}" alt="">
  58. </dt>
  59. <dd>
  60. ${item.title}
  61. </dd>
  62. <dd class="content-imageText-time">
  63. <fmt:formatDate value="${item.release_time}" pattern="MM-dd" />
  64. </dd>
  65. </dl>
  66. </a>
  67. </li>
  68. </c:if>
  69. <c:if test="${status.index > 0}">
  70. <li>
  71. <a href="${item.url}" target="${item.target}">
  72. <p>
  73. ${item.title}
  74. </p>
  75. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  76. </a>
  77. </li>
  78. </c:if>
  79. </c:forEach>
  80. </ul>
  81. </div>
  82. </div>
  83. <div class="content-item content-item-center">
  84. <div class="content-wrap">
  85. <h2>
  86. <span>
  87. <i></i>
  88. ${BSSBhhrMuVRRMPpdNmv.navigationMap.name}
  89. </span>
  90. </h2>
  91. <div class="content-QRcode">
  92. <c:forEach items="${BSSBhhrMuVRRMPpdNmv.articleList}" var="item">
  93. <div class="content-QRcode-item">
  94. <img src="${item.thumbnail}" alt="">
  95. <p>${item.title}</p>
  96. </div>
  97. </c:forEach>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="content-item">
  102. <div class="content-wrap">
  103. <h2>
  104. <span>
  105. <i></i>
  106. ${BSSBhhrMuVRRMPpdNmv.navigationMap.name}
  107. </span>
  108. <a href="${BSSBhhrMuVRRMPpdNmv.navigationMap.url}">
  109. 更多
  110. >>
  111. </a>
  112. </h2>
  113. <ul>
  114. <c:forEach items="${BSSBhhrMuVRRMPpdNmv.articleList}" var="item" varStatus="status">
  115. <c:if test="${status.index == 0}">
  116. <li class="content-imageText">
  117. <a href="${item.url}" target="${item.target}">
  118. <dl>
  119. <dt>
  120. <img src="${item.thumbnail}" alt="">
  121. </dt>
  122. <dd>
  123. ${item.title}
  124. </dd>
  125. <dd class="content-imageText-time">
  126. <fmt:formatDate value="${item.release_time}" pattern="MM-dd" />
  127. </dd>
  128. </dl>
  129. </a>
  130. </li>
  131. </c:if>
  132. <c:if test="${status.index > 0}">
  133. <li>
  134. <a href="${item.url}" target="${item.target}">
  135. <p>
  136. ${item.title}
  137. </p>
  138. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="MM-dd" /></span>
  139. </a>
  140. </li>
  141. </c:if>
  142. </c:forEach>
  143. </ul>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <!-- 右侧边栏 -->
  149. <div class="sidebar">
  150. <ul>
  151. <c:forEach items="${BSSBhhrMuVRRMPpdNmv.articleList}" var="item">
  152. <li>
  153. <a href="${item.url}" target="${item.target}">
  154. <img src="${item.thumbnail}" alt="">
  155. </a>
  156. </li>
  157. </c:forEach>
  158. </ul>
  159. <div class="sidebar-close">
  160. <a href="javascript:;">
  161. 关闭×
  162. </a>
  163. </div>
  164. </div>
  165. <!-- 飘窗 -->
  166. <c:if test="${BSSBhhrMuVRRMPpdNmv.articleList !=0 }" var="item">
  167. <div id="adMove1" >
  168. <div>
  169. <a href="javascript:;">
  170. <img src="${item.thumbnail}" >
  171. </a>
  172. </div>
  173. </div>
  174. </c:if>
  175. <website-include page="footer" />
  176. <script>
  177. // banenr轮播
  178. var swiper = new Swiper('.banner-swiper', {
  179. grabCursor: true,
  180. effect: 'fade',
  181. pagination: {
  182. el: '.swiper-pagination',
  183. clickable: true,
  184. },
  185. navigation: {
  186. nextEl: '.swiper-button-next',
  187. prevEl: '.swiper-button-prev',
  188. },
  189. loop : true,
  190. autoplay: { //自动切换
  191. delay: 5000,
  192. stopOnLastSlide: false,
  193. disableOnInteraction: true,
  194. },
  195. });
  196. // 关闭右侧边栏
  197. $(".sidebar-close").click(function(){
  198. $(this).parent(".sidebar").fadeOut();
  199. })
  200. // 飘窗
  201. var adMove1 = new AdMove("adMove1", true);
  202. adMove1.Run();
  203. </script>
  204. </body>
  205. </html>