1004010219_edit.jsp 3.2 KB

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