1007310483_edit.jsp 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. ${navigation.name}
  19. </h2>
  20. <ul class="content-left-list">
  21. <c:forEach items="${brotherNavList}" var="item">
  22. <c:if test="${item.name == navigation.name}">
  23. <li class="content-left-current">
  24. <a href="${item.href}" target="_self">
  25. ${item.name}
  26. </a>
  27. </li>
  28. </c:if>
  29. <c:if test="${item.name != navigation.name}">
  30. <li>
  31. <a href="${item.href}" target="_self">
  32. ${item.name}
  33. </a>
  34. </li>
  35. </c:if>
  36. </c:forEach>
  37. </ul>
  38. </div>
  39. <div class="content-right content-list-wrap">
  40. <website-include page="crumbs" />
  41. <c:if test="${articleList.size() == 0}">
  42. <p class="no-data">空空如也</p>
  43. </c:if>
  44. <!-- 文字列表 -->
  45. <c:if test="${navigation.wnlscode != '10010'}">
  46. <div class="list-wrap">
  47. <ul>
  48. <c:forEach items="${articleList}" var="item">
  49. <li>
  50. <a href="${item.url}" target="${item.target}">
  51. <p class="list-title">${item.title}</p>
  52. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  53. </a>
  54. </li>
  55. </c:forEach>
  56. </ul>
  57. </div>
  58. </c:if>
  59. <!-- 图文列表-横向 -->
  60. <c:if test="${navigation.wnlscode == '10010'}">
  61. <div class="list-pic">
  62. <ul class="content-img-list content-crosswiseImg-list">
  63. <c:forEach items="${articleList}" var="item">
  64. <li>
  65. <a href="${item.url}" target="${item.target}">
  66. <div class="content-img-list-imgWrap">
  67. <img src="${item.thumbnail}" alt="">
  68. </div>
  69. <dl>
  70. <dt>
  71. ${item.title}
  72. </dt>
  73. <dd class="content-crosswiseImg-time">
  74. <fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" />
  75. </dd>
  76. <dd>
  77. ${item.source}
  78. </dd>
  79. </dl>
  80. </a>
  81. </li>
  82. </c:forEach>
  83. </ul>
  84. </div>
  85. </c:if>
  86. <!-- 分页 -->
  87. <div class="list-page">
  88. <div id="page-warp"></div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <website-include page="footer" />
  94. </body>
  95. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  96. <script>
  97. laypage({
  98. cont: 'page-warp',
  99. pages: '${pageCount}',
  100. curr: '${curPageNo}',
  101. groups: 10,
  102. skip: true,
  103. jump: function(obj, first){
  104. if (first) {
  105. return;
  106. }
  107. location.href = "${curHerf}?page=" + obj.curr;
  108. }
  109. });
  110. </script>
  111. </html>