9541_10224_backup.jsp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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">
  16. <div class="content-wrap">
  17. <h2>
  18. ${XRVLjGrCyecHiOeDNmv.navigationMap.name}
  19. <a href="${XRVLjGrCyecHiOeDNmv.navigationMap.url}" target="_self">
  20. MORE
  21. >>
  22. </a>
  23. </h2>
  24. <ul>
  25. <c:forEach items="${XRVLjGrCyecHiOeDNmv.articleList}" var="item">
  26. <li>
  27. <a href="${item.url}" target="${item.target}">
  28. <p>
  29. ${item.title}
  30. </p>
  31. <span class="list-time">[<fmt:formatDate value="${item.release_time}" pattern="MM-dd" />]</span>
  32. </a>
  33. </li>
  34. </c:forEach>
  35. </ul>
  36. </div>
  37. </div>
  38. <div class="content-item">
  39. <div class="content-wrap">
  40. <h2>
  41. ${AlxbBaArsVzinpPrNmv.navigationMap.name}
  42. <a href="${AlxbBaArsVzinpPrNmv.navigationMap.url}" target="_self">
  43. MORE
  44. >>
  45. </a>
  46. </h2>
  47. <ul>
  48. <c:forEach items="${AlxbBaArsVzinpPrNmv.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>
  62. </div>
  63. <website-include page="footer" />
  64. <script>
  65. // 轮播
  66. var swiper = new Swiper('.swiper-container', {
  67. grabCursor: true,
  68. effect: 'fade',
  69. pagination: {
  70. el: '.swiper-pagination',
  71. clickable: true,
  72. renderBullet: function (index, className) {
  73. return '<span class="' + className + '">' + (index + 1) + '</span>';
  74. },
  75. },
  76. navigation: {
  77. nextEl: '.swiper-button-next',
  78. prevEl: '.swiper-button-prev',
  79. },
  80. loop : true,
  81. autoplay: { //自动切换
  82. delay: 5000,
  83. stopOnLastSlide: false,
  84. disableOnInteraction: true,
  85. },
  86. });
  87. </script>
  88. </body>
  89. </html>