10653_10347_backup.jsp 3.3 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="banner">
  15. <!-- Swiper -->
  16. <div class="swiper-container banner-swiper">
  17. <div class="swiper-wrapper">
  18. <c:forEach items="${KwXqaoNhgmpFXoeZThumbnailNmv.articleList}" var="item">
  19. <div class="swiper-slide">
  20. <a href="${item.url}" target="${item.target}">
  21. <img src="${item.thumbnail}" alt="">
  22. </a>
  23. </div>
  24. </c:forEach>
  25. </div>
  26. <!-- Add Pagination -->
  27. <div class="swiper-pagination swiper-pagination-white"></div>
  28. <!-- Add Arrows -->
  29. <div class="swiper-button-prev swiper-button-white"></div>
  30. <div class="swiper-button-next swiper-button-white"></div>
  31. </div>
  32. </div>
  33. <div class="content-row">
  34. <c:forEach items="${xqIzlCdsTKpkAnkLNmv.articleList}" var="item">
  35. <div class="content-item">
  36. <div class="content-item-pic">
  37. <img src="${item.thumbnail}" alt="">
  38. </div>
  39. <div class="content-wrap">
  40. <h2>
  41. <a href="${item.url}" target="${item.target}">
  42. ${item.title}
  43. </a>
  44. </h2>
  45. </div>
  46. </div>
  47. </c:forEach>
  48. </div>
  49. </div>
  50. <!-- 友情链接 -->
  51. <div class="footer-link">
  52. <div class="wrap">
  53. <span>
  54. ${rOAuDbMHGMleQXvqNmv.navigationMap.name}
  55. <i>></i>
  56. </span>
  57. <ul>
  58. <c:forEach items="${rOAuDbMHGMleQXvqNmv.articleList}" var="item">
  59. <li>
  60. <a href="${item.url}" target="${item.target}">
  61. ${item.title}
  62. </a>
  63. </li>
  64. </c:forEach>
  65. </ul>
  66. </div>
  67. </div>
  68. <website-include page="footer" />
  69. <script>
  70. // banenr轮播
  71. var swiper = new Swiper('.banner-swiper', {
  72. grabCursor: true,
  73. effect: 'fade',
  74. pagination: {
  75. el: '.swiper-pagination',
  76. clickable: true,
  77. },
  78. navigation: {
  79. nextEl: '.swiper-button-next',
  80. prevEl: '.swiper-button-prev',
  81. },
  82. loop : true,
  83. autoplay: { //自动切换
  84. delay: 5000,
  85. stopOnLastSlide: false,
  86. disableOnInteraction: true,
  87. },
  88. });
  89. </script>
  90. </body>
  91. </html>