10662_10347_backup.jsp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <link rel="icon" type="image/png" sizes="16x16" href="${website.seoIcon}">
  9. </head>
  10. <body>
  11. <website-include page="navigation" />
  12. <!-- 主体 -->
  13. <div class="content wrap">
  14. <!-- 轮播 -->
  15. <div class="banner">
  16. <!-- Swiper -->
  17. <div class="swiper-container banner-swiper">
  18. <div class="swiper-wrapper">
  19. <c:forEach items="${KwXqaoNhgmpFXoeZThumbnailNmv.articleList}" var="item">
  20. <div class="swiper-slide">
  21. <a href="${item.url}" target="${item.target}">
  22. <img src="${item.thumbnail}" alt="">
  23. </a>
  24. </div>
  25. </c:forEach>
  26. </div>
  27. <!-- Add Pagination -->
  28. <div class="swiper-pagination swiper-pagination-white"></div>
  29. <!-- Add Arrows -->
  30. <div class="swiper-button-prev swiper-button-white"></div>
  31. <div class="swiper-button-next swiper-button-white"></div>
  32. </div>
  33. </div>
  34. <div class="content-row">
  35. <c:forEach items="${xqIzlCdsTKpkAnkLNmv.articleList}" var="item" varStatus="status">
  36. <c:if test="${status.index == 0}">
  37. <div class="content-item">
  38. </c:if>
  39. <c:if test="${status.index == 1}">
  40. <div class="content-item content-item-second">
  41. </c:if>
  42. <c:if test="${status.index == 2}">
  43. <div class="content-item content-item-third">
  44. </c:if>
  45. <c:if test="${status.index == 3}">
  46. <div class="content-item content-item-fourth">
  47. </c:if>
  48. <div class="content-item-pic">
  49. <a href="${item.url}" target="${item.target}">
  50. <img src="${item.thumbnail}" alt="">
  51. </a>
  52. </div>
  53. <div class="content-wrap">
  54. <h2>
  55. <a href="${item.url}" target="${item.target}">
  56. ${item.title}
  57. </a>
  58. </h2>
  59. </div>
  60. </div>
  61. </c:forEach>
  62. </div>
  63. </div>
  64. <!-- 友情链接 -->
  65. <div class="footer-link">
  66. <div class="wrap">
  67. <span>
  68. ${rOAuDbMHGMleQXvqNmv.navigationMap.name}
  69. <i>></i>
  70. </span>
  71. <ul>
  72. <c:forEach items="${rOAuDbMHGMleQXvqNmv.articleList}" var="item">
  73. <li>
  74. <a href="${item.url}" target="${item.target}">
  75. ${item.title}
  76. </a>
  77. </li>
  78. </c:forEach>
  79. </ul>
  80. </div>
  81. </div>
  82. <website-include page="footer" />
  83. <script>
  84. // banenr轮播
  85. var swiper = new Swiper('.banner-swiper', {
  86. grabCursor: true,
  87. effect: 'fade',
  88. pagination: {
  89. el: '.swiper-pagination',
  90. clickable: true,
  91. },
  92. navigation: {
  93. nextEl: '.swiper-button-next',
  94. prevEl: '.swiper-button-prev',
  95. },
  96. loop : true,
  97. autoplay: { //自动切换
  98. delay: 5000,
  99. stopOnLastSlide: false,
  100. disableOnInteraction: true,
  101. },
  102. });
  103. </script>
  104. </body>
  105. </html>