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