18924_10268_backup.jsp 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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="content-row">
  15. <div class="content-item content-item-swiper">
  16. <div class="content-wrap">
  17. <h2>
  18. ${BpfTsmUcsdehJtfpNmv.navigationMap.name}
  19. <a href="${BpfTsmUcsdehJtfpNmv.navigationMap.url}">更多>></a>
  20. </h2>
  21. <!-- 轮播 -->
  22. <!-- Swiper -->
  23. <div class="swiper-container">
  24. <div class="swiper-wrapper">
  25. <c:forEach items="${BpfTsmUcsdehJtfpThumbnailNmv.articleList}" var="item">
  26. <div class="swiper-slide">
  27. <a href="${item.url}" target="${item.target}">
  28. <img src="${item.thumbnail}">
  29. </a>
  30. </div>
  31. </c:forEach>
  32. </div>
  33. <!-- Add Pagination -->
  34. <div class="swiper-pagination swiper-pagination-white"></div>
  35. <!-- Add Arrows -->
  36. <div class="swiper-button-prev swiper-button-white"></div>
  37. <div class="swiper-button-next swiper-button-white"></div>
  38. </div>
  39. <ul>
  40. <c:forEach items="${BpfTsmUcsdehJtfpNmv.articleList}" var="item">
  41. <li>
  42. <a href="${item.url}" target="${item.target}">
  43. <p>
  44. ${item.title}
  45. </p>
  46. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  47. </a>
  48. </li>
  49. </c:forEach>
  50. </ul>
  51. </div>
  52. </div>
  53. <div class="content-item">
  54. <div class="content-wrap">
  55. <h2>
  56. ${KUzUYgJBkzElHJAfNmv.navigationMap.name}
  57. <a href="${KUzUYgJBkzElHJAfNmv.navigationMap.url}">更多>></a>
  58. </h2>
  59. <ul>
  60. <c:forEach items="${KUzUYgJBkzElHJAfNmv.articleList}" var="item">
  61. <li>
  62. <a href="${item.url}" target="${item.target}">
  63. <p>
  64. ${item.title}
  65. </p>
  66. </a>
  67. </li>
  68. </c:forEach>
  69. </ul>
  70. </div>
  71. </div>
  72. <div class="content-item">
  73. <div class="content-wrap">
  74. <h2>
  75. ${ezldGgYcBtAPbaLZNmv.navigationMap.name}
  76. <a href="${ezldGgYcBtAPbaLZNmv.navigationMap.url}">更多>></a>
  77. </h2>
  78. <ul>
  79. <c:forEach items="${ezldGgYcBtAPbaLZNmv.articleList}" var="item">
  80. <li>
  81. <a href="${item.url}" target="${item.target}">
  82. <p>
  83. ${item.title}
  84. </p>
  85. </a>
  86. </li>
  87. </c:forEach>
  88. </ul>
  89. </div>
  90. </div>
  91. <div class="content-item">
  92. <div class="content-wrap">
  93. <h2>
  94. ${bICzjKEejVPCxmuENmv.navigationMap.name}
  95. <a href="${bICzjKEejVPCxmuENmv.navigationMap.url}">更多>></a>
  96. </h2>
  97. <ul>
  98. <c:forEach items="${bICzjKEejVPCxmuENmv.articleList}" var="item">
  99. <li>
  100. <a href="${item.url}" target="${item.target}">
  101. <p>
  102. ${item.title}
  103. </p>
  104. </a>
  105. </li>
  106. </c:forEach>
  107. </ul>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <website-include page="footer" />
  113. <script>
  114. // 轮播
  115. var swiper = new Swiper('.swiper-container', {
  116. grabCursor: true,
  117. effect: 'fade',
  118. pagination: {
  119. el: '.swiper-pagination',
  120. clickable: true,
  121. renderBullet: function (index, className) {
  122. return '<span class="' + className + '">' + (index + 1) + '</span>';
  123. },
  124. },
  125. navigation: {
  126. nextEl: '.swiper-button-next',
  127. prevEl: '.swiper-button-prev',
  128. },
  129. loop : true,
  130. autoplay: { //自动切换
  131. delay: 5000,
  132. stopOnLastSlide: false,
  133. disableOnInteraction: true,
  134. },
  135. });
  136. </script>
  137. </body>
  138. </html>