15094_10275_backup.jsp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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="${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. </div>
  86. <website-include page="footer" />
  87. <script>
  88. // banenr轮播
  89. var swiper = new Swiper('.banner-swiper', {
  90. grabCursor: true,
  91. effect: 'fade',
  92. pagination: {
  93. el: '.swiper-pagination',
  94. clickable: true,
  95. },
  96. navigation: {
  97. nextEl: '.swiper-button-next',
  98. prevEl: '.swiper-button-prev',
  99. },
  100. loop : true,
  101. autoplay: { //自动切换
  102. delay: 5000,
  103. stopOnLastSlide: false,
  104. disableOnInteraction: true,
  105. },
  106. });
  107. </script>
  108. </body>
  109. </html>