1007110460_edit.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <c:if test="${navigation.wnlscode != '10010'}">
  48. <div class="list-wrap">
  49. <c:if test="${articleList.size() == 0}">
  50. <p class="no-data">空空如也</p>
  51. </c:if>
  52. <ul>
  53. <c:forEach items="${articleList}" var="item">
  54. <li>
  55. <a href="${item.url}" target="${item.target}">
  56. <p class="list-title">${item.title}</p>
  57. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="[yyyy-MM-dd]" /></span>
  58. </a>
  59. </li>
  60. </c:forEach>
  61. </ul>
  62. </div>
  63. </c:if>
  64. <!-- 图文列表 -->
  65. <c:if test="${navigation.wnlscode == '10010'}">
  66. <div class="list-pic">
  67. <c:if test="${articleList.size() == 0}">
  68. <p class="no-data">空空如也</p>
  69. </c:if>
  70. <ul class="content-img-list">
  71. <c:forEach items="${articleList}" var="item">
  72. <li>
  73. <a href="${item.url}" target="${item.target}">
  74. <div class="content-img-list-imgWrap">
  75. <img src="${item.thumbnail}" alt="">
  76. </div>
  77. <p>${item.title}</p>
  78. </a>
  79. </li>
  80. </c:forEach>
  81. </ul>
  82. </div>
  83. </c:if>
  84. <!-- 分页 -->
  85. <div class="list-page">
  86. <div id="page-warp"></div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <website-include page="footer" />
  92. </body>
  93. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  94. <script>
  95. laypage({
  96. cont: 'page-warp',
  97. pages: '${pageCount}',
  98. curr: '${curPageNo}',
  99. groups: 10,
  100. skip: true,
  101. jump: function(obj, first){
  102. if (first) {
  103. return;
  104. }
  105. location.href = "${curHerf}?page=" + obj.curr;
  106. }
  107. });
  108. </script>
  109. </html>