1007010468_edit.jsp 1.5 KB

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