16005_10374_backup.jsp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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-list-wrap">
  15. <website-include page="crumbs" />
  16. <!-- 列表 -->
  17. <div class="list-wrap">
  18. <c:if test="${articleList.size() == 0}">
  19. <p class="no-data">空空如也</p>
  20. </c:if>
  21. <ul>
  22. <c:forEach items="${articleList}" var="item">
  23. <li>
  24. <a href="${item.url}" target="${item.target}">
  25. <p class="list-title">
  26. ${item.title}
  27. </p>
  28. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  29. </a>
  30. </li>
  31. </c:forEach>
  32. </ul>
  33. </div>
  34. <!-- 分页 -->
  35. <div class="list-page">
  36. <div id="page-warp"></div>
  37. </div>
  38. </div>
  39. </div>
  40. <website-include page="footer" />
  41. </body>
  42. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  43. <script>
  44. laypage({
  45. cont: 'page-warp',
  46. pages: '${pageCount}',
  47. curr: '${curPageNo}',
  48. groups: 10,
  49. skip: true,
  50. jump: function (obj, first) {
  51. if (first) {
  52. return;
  53. }
  54. location.href = "${curHerf}?page=" + obj.curr;
  55. }
  56. });
  57. </script>
  58. </html>