1005310567_edit.jsp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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>${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. <!-- 面包屑 -->
  15. <div class="crumbs">
  16. <div class="crumbs-left">
  17. <c:if test="${isNullKey == '1'}">
  18. ${website.seoTitle}站内搜索
  19. </c:if>
  20. <c:if test="${isNullKey != '1'}">
  21. “${str}” 的搜索结果
  22. </c:if>
  23. </div>
  24. </div>
  25. <!-- 列表 -->
  26. <div class="list-wrap">
  27. <c:if test="${isNullKey == '1'}">
  28. <p class="no-data">请输入标题关键词进行搜索</p>
  29. </c:if>
  30. <c:if test="${articleList.size() == 0}">
  31. <p class="no-data">抱歉,没有找到相关结果。</p>
  32. </c:if>
  33. <ul>
  34. <c:forEach items="${articleList}" var="item">
  35. <li>
  36. <a href="${item.url}" target="${item.target}">
  37. <p class="list-title">${item.title}</p>
  38. <span>[<fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd" />]</span>
  39. </a>
  40. </li>
  41. </c:forEach>
  42. </ul>
  43. </div>
  44. <!-- 分页 -->
  45. <div class="list-page">
  46. <div id="page-warp"></div>
  47. </div>
  48. </div>
  49. <website-include page="footer" />
  50. </body>
  51. <script src="/main/dist/websites/plug-in/laypage/laypage.js"></script>
  52. <script>
  53. laypage({
  54. cont: 'page-warp',
  55. pages: '${pageCount}',
  56. curr: '${curPageNo}',
  57. groups: 10,
  58. skip: true,
  59. jump: function (obj, first) {
  60. if (first) {
  61. return;
  62. }
  63. location.href = "/search?str=${str}&page=" + obj.curr;
  64. }
  65. });
  66. </script>
  67. </html>