1006110392_edit.jsp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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">${item.title}</p>
  26. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  27. </a>
  28. </li>
  29. </c:forEach>
  30. </ul>
  31. </div>
  32. <!-- 分页 -->
  33. <div class="list-page">
  34. <div id="page-warp"></div>
  35. </div>
  36. </div>
  37. </div>
  38. <website-include page="footer" />
  39. </body>
  40. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  41. <script>
  42. laypage({
  43. cont: 'page-warp',
  44. pages: '${pageCount}',
  45. curr: '${curPageNo}',
  46. groups: 10,
  47. skip: true,
  48. jump: function(obj, first){
  49. if (first) {
  50. return;
  51. }
  52. location.href = "${curHerf}?page=" + obj.curr;
  53. }
  54. });
  55. </script>
  56. </html>