1007710519_edit.jsp 4.1 KB

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