10682_10356_backup.jsp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  2. <html>
  3. <head>
  4. <meta name="keywords" content="${website.seoKeywords}" />
  5. <meta name="description" content="${website.seoDescription}" />
  6. <meta name="lanmu" content="${navigation.name}">
  7. <title>${navigation.name}_${website.seoTitle}</title>
  8. <website-include page="head" />
  9. </head>
  10. <body>
  11. <website-include page="navigation" />
  12. <!-- 主体 -->
  13. <div class="content wrap">
  14. <div class="content-part">
  15. <!-- 左侧 -->
  16. <div class="content-left">
  17. <c:if test="${brotherNavList.size() > 0}">
  18. <div class="content-right-item">
  19. <h2 class="content-wrap-title">
  20. ${parNavigation.name}
  21. </h2>
  22. <ul class="content-left-list">
  23. <c:forEach items="${brotherNavList}" var="item">
  24. <c:if test="${item.name == navigation.name}">
  25. <li class="content-left-current">
  26. <a href="${item.href}" target="_self">
  27. ${item.name}
  28. </a>
  29. </li>
  30. </c:if>
  31. <c:if test="${item.name != navigation.name}">
  32. <li>
  33. <a href="${item.href}" target="_self">
  34. ${item.name}
  35. </a>
  36. </li>
  37. </c:if>
  38. </c:forEach>
  39. </ul>
  40. </div>
  41. </c:if>
  42. <c:if test="${empty childrenNavList && empty brotherNavList}">
  43. <div class="content-right-item">
  44. <h2 class="content-wrap-title">
  45. ${parNavigation.name}
  46. </h2>
  47. <ul class="content-left-list">
  48. <li class="content-left-current">
  49. <a href="javascript:void(0)" target="_self">
  50. ${navigation.name}
  51. </a>
  52. </li>
  53. </ul>
  54. </div>
  55. </c:if>
  56. <c:if test="${childrenNavList.size() > 0}">
  57. <div class="content-right-item">
  58. <h2 class="content-wrap-title">
  59. ${parNavigation.name}
  60. </h2>
  61. <ul class="content-left-list">
  62. <c:forEach items="${childrenNavList}" var="item">
  63. <li>
  64. <a href="${item.href}" target="_self">
  65. ${item.name}
  66. </a>
  67. </li>
  68. </c:forEach>
  69. </ul>
  70. </div>
  71. </c:if>
  72. </div>
  73. <div class="content-right content-list-wrap">
  74. <website-include page="crumbs" />
  75. <!-- 列表 -->
  76. <div class="list-wrap">
  77. <c:if test="${articleList.size() == 0}">
  78. <p class="no-data">空空如也</p>
  79. </c:if>
  80. <ul>
  81. <li>
  82. <a href="article.html">
  83. <p class="list-title">两会小先锋|总书记与人大代表对话情谊深</p>
  84. <span class="list-time">2020-07-29</span>
  85. </a>
  86. </li>
  87. </ul>
  88. <ul>
  89. <c:forEach items="${articleList}" var="item">
  90. <li>
  91. <a href="${item.url}" target="${item.target}">
  92. <p class="list-title">
  93. ${item.title}
  94. </p>
  95. <span class="list-time">(<fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" />)[${item.read_count}]</span>
  96. </a>
  97. </li>
  98. </c:forEach>
  99. </ul>
  100. </div>
  101. <!-- 分页 -->
  102. <div class="list-page">
  103. <div id="page-warp"></div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <website-include page="footer" />
  109. </body>
  110. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  111. <script>
  112. laypage({
  113. cont: 'page-warp',
  114. pages: '${pageCount}',
  115. curr: '${curPageNo}',
  116. groups: 10,
  117. skip: true,
  118. jump: function (obj, first) {
  119. if (first) {
  120. return;
  121. }
  122. location.href = "${curHerf}?page=" + obj.curr;
  123. }
  124. });
  125. </script>
  126. </html>