17868_10374_backup.jsp 2.2 KB

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