9636_10246_backup.jsp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 content-list-wrap">
  14. <div class="content-part">
  15. <!-- 左边 -->
  16. <div class="content-left">
  17. <!-- 面包屑 -->
  18. <div class="crumbs">
  19. <div class="crumbs-right">
  20. "${str}" 的搜索结果
  21. </div>
  22. </div>
  23. <!-- 列表 -->
  24. <div class="list-wrap">
  25. <c:if test="${articleList.size() == 0}">
  26. <p class="no-data">空空如也</p>
  27. </c:if>
  28. <ul>
  29. <c:forEach items="${articleList}" var="item">
  30. <li class="hasImg">
  31. <a href="${item.url}" target="${item.target}">
  32. <p class="list-title">
  33. ${item.title}
  34. </p>
  35. <span class="list-time">(<fmt:formatDate value="${item.release_time}" pattern="yyyy年MM月dd日" />)[${item.read_count}]</span>
  36. </a>
  37. </li>
  38. </c:forEach>
  39. </ul>
  40. </div>
  41. <!-- 分页 -->
  42. <div class="list-page">
  43. <div id="page-warp"></div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <website-include page="footer" />
  49. </body>
  50. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  51. <script>
  52. laypage({
  53. cont: 'page-warp',
  54. pages: '${pageCount}',
  55. curr: '${curPageNo}',
  56. groups: 10,
  57. skip: true,
  58. jump: function (obj, first) {
  59. if (first) {
  60. return;
  61. }
  62. location.href = "/search?key=${str}&page=" + obj.curr;
  63. }
  64. });
  65. </script>
  66. </html>