1006010383_edit.jsp 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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">
  14. <div class="content-part">
  15. <!-- 左侧 -->
  16. <div class="content-left">
  17. <h2 class="content-wrap-title">
  18. ${parNavigation.name}
  19. </h2>
  20. <ul class="content-left-list">
  21. <c:forEach items="${brotherNavList}" var="item">
  22. <c:if test="${item.name == navigation.name}">
  23. <li class="content-left-current">
  24. <a href="${item.href}" target="_self">
  25. ${item.name}
  26. </a>
  27. </li>
  28. </c:if>
  29. <c:if test="${item.name != navigation.name}">
  30. <li>
  31. <a href="${item.href}" target="_self">
  32. ${item.name}
  33. </a>
  34. </li>
  35. </c:if>
  36. </c:forEach>
  37. </ul>
  38. </div>
  39. <div class="content-right content-list-wrap">
  40. <website-include page="crumbs" />
  41. <!-- 列表 -->
  42. <div class="list-wrap">
  43. <c:if test="${articleList.size() == 0}">
  44. <p class="no-data">空空如也</p>
  45. </c:if>
  46. <ul>
  47. <c:forEach items="${articleList}" var="item">
  48. <li>
  49. <a href="${item.url}" target="${item.target}">
  50. <p class="list-title">
  51. <span>→</span>
  52. ${item.title}
  53. </p>
  54. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  55. </a>
  56. </li>
  57. </c:forEach>
  58. </ul>
  59. </div>
  60. <!-- 分页 -->
  61. <div class="list-page">
  62. <div id="page-warp"></div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <website-include page="footer" />
  68. </body>
  69. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  70. <script>
  71. laypage({
  72. cont: 'page-warp',
  73. pages: '${pageCount}',
  74. curr: '${curPageNo}',
  75. groups: 10,
  76. skip: true,
  77. jump: function(obj, first){
  78. if (first) {
  79. return;
  80. }
  81. location.href = "${curHerf}?page=" + obj.curr;
  82. }
  83. });
  84. </script>
  85. </html>