9415_10219_backup.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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="_blank">首页</a>
  44. >
  45. <c:forEach items="${crumbsNavList}" var="item" varStatus="index">
  46. <a href="${item.url}" target="_blank">
  47. ${item.name}
  48. </a>
  49. <c:if test="${index.index < crumbsNavListSize}">></c:if>
  50. </c:forEach>
  51. </h2>
  52. <ul class="content-wrap-list">
  53. <c:if test="${articleList.size() == 0}">
  54. <p class="no-data">空空如也</p>
  55. </c:if>
  56. <c:forEach items="${articleList}" var="item">
  57. <li>
  58. <a href="${item.url}" target="_blank">
  59. <p>
  60. ${item.title}
  61. </p>
  62. <span><fmt:formatDate value="${item.release_time}" pattern="yyyy/MM/dd" /></span>
  63. </a>
  64. </li>
  65. </c:forEach>
  66. </ul>
  67. <!-- 分页 -->
  68. <div class="list-page">
  69. <div id="page-warp">xxxxxx</div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <website-include page="footer" />
  76. </body>
  77. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  78. <script>
  79. laypage({
  80. cont: 'page-warp',
  81. pages: '${pageCount}',
  82. curr: '${curPageNo}',
  83. groups: 10,
  84. skip: true,
  85. jump: function(obj, first){
  86. if (first) {
  87. return;
  88. }
  89. location.href = "${curHerf}?page=" + obj.curr;
  90. }
  91. });
  92. </script>
  93. </html>