13053_10296_backup.jsp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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">
  25. ${item.title}
  26. </p>
  27. <span class="list-time">[<fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" />]</span>
  28. </a>
  29. </li>
  30. </c:forEach>
  31. </ul>
  32. </div>
  33. <!-- 分页 -->
  34. <div class="list-page">
  35. <div id="page-warp"></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>