14331_10349_backup.jsp 2.1 KB

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