9860_10278_backup.jsp 1.4 KB

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