10651_10349_backup.jsp 2.0 KB

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