1007410491_edit.jsp 2.2 KB

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