1005510326_edit.jsp 3.0 KB

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