1004910278_edit.jsp 1.4 KB

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