1009910656_edit.jsp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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">
  14. <div class="banner-list">
  15. <img src="/main/dist/websites/images/banner/banner-zs.jpg" alt="">
  16. </div>
  17. <div class="content-list-wrap">
  18. <website-include page="crumbs" />
  19. <c:if test="${articleList.size() == 0}">
  20. <p class="no-data">空空如也</p>
  21. </c:if>
  22. <c:if test="${navigation.wnlscode != '10010'}">
  23. <!-- 文字列表 -->
  24. <div class="list-wrap">
  25. <ul>
  26. <c:forEach items="${articleList}" var="item">
  27. <li>
  28. <a href="${item.url}" target="${item.target}">
  29. <p class="list-title">
  30. ${item.title}
  31. </p>
  32. <span class="list-time"><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" /></span>
  33. </a>
  34. </li>
  35. </c:forEach>
  36. </ul>
  37. </div>
  38. </c:if>
  39. <!-- 图文列表 -->
  40. <c:if test="${navigation.wnlscode == '10010'}">
  41. <div class="list-pic">
  42. <ul class="content-img-list">
  43. <c:forEach items="${articleList}" var="item">
  44. <li>
  45. <a href="${item.url}" target="${item.target}">
  46. <div class="content-img-list-imgWrap">
  47. <img src="${item.thumbnail}" alt="">
  48. </div>
  49. <p>${item.title}</p>
  50. </a>
  51. </li>
  52. </c:forEach>
  53. </ul>
  54. </div>
  55. </c:if>
  56. <!-- 分页 -->
  57. <div class="list-page">
  58. <div id="page-warp"></div>
  59. </div>
  60. </div>
  61. </div>
  62. <website-include page="footer" />
  63. </body>
  64. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  65. <script>
  66. // $(document).ready(function() {
  67. // $('a').each(function() {
  68. // var href = $(this).attr('href');
  69. // if (href.indexOf('http://a.nff.com') !== -1) {
  70. // href = href.replace('http://a.nff.com', 'https://hxgj.newfeifan.cn');
  71. // $(this).attr('href', href);
  72. // }
  73. // });
  74. // $('img').each(function() {
  75. // var src = $(this).attr('src');
  76. // if (src.indexOf('https://ht.gzhxtc.edu.cn') !== -1) {
  77. // src = src.replace('https://ht.gzhxtc.edu.cn', 'https://hxgj.newfeifan.cn');
  78. // $(this).attr('src', src);
  79. // }
  80. // });
  81. // });
  82. laypage({
  83. cont: 'page-warp',
  84. pages: '${pageCount}',
  85. curr: '${curPageNo}',
  86. groups: 10,
  87. skip: true,
  88. jump: function(obj, first){
  89. if (first) {
  90. return;
  91. }
  92. location.href = "${curHerf}?page=" + obj.curr;
  93. }
  94. });
  95. </script>
  96. </html>