9684_10232_backup.jsp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <div class="content-part">
  15. <!-- 左边 -->
  16. <div class="content-left">
  17. <website-include page="crumbs" />
  18. <!-- 列表 -->
  19. <div class="list-wrap">
  20. <c:if test="${articleList.size() == 0}">
  21. <p class="no-data">空空如也</p>
  22. </c:if>
  23. <ul>
  24. <c:forEach items="${articleList}" var="item">
  25. <li class="hasImg">
  26. <a href="${item.url}" target="${item.target}">
  27. <p class="list-title">
  28. ${item.title}
  29. </p>
  30. <span class="list-time">(<fmt:formatDate value="${item.release_time}" pattern="yyyy年MM月dd日" />)[${item.read_count}]</span>
  31. </a>
  32. </li>
  33. </c:forEach>
  34. </ul>
  35. </div>
  36. <!-- 分页 -->
  37. <div class="list-page">
  38. <div id="page-warp"></div>
  39. </div>
  40. </div>
  41. <website-include page="right" />
  42. </div>
  43. </div>
  44. <website-include page="footer" />
  45. </body>
  46. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  47. <script>
  48. laypage({
  49. cont: 'page-warp',
  50. pages: '${pageCount}',
  51. curr: '${curPageNo}',
  52. groups: 10,
  53. skip: true,
  54. jump: function (obj, first) {
  55. if (first) {
  56. return;
  57. }
  58. location.href = "${curHerf}?page=" + obj.curr;
  59. }
  60. });
  61. </script>
  62. </html>