| 1234567 |
- <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
- <!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>站内搜索_${website.seoTitle}</title><link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261117-360-legacy-layout-r2"><link rel="stylesheet" href="/web/upload/modules/sys/upload/files/2026/11/17/portal-360-compat-r2.css?v=20261117-360-compat-r2"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-27"></head>
- <body class="screen-blue-theme gjjx-site gjjx-inner-page"><div class="portal-shell gjjx-site"><%@ include file="gjjx-header.jsp"%><main class="gjjx-inner-main"><section class="wrap gjjx-inner-panel gjjx-search-panel"><div class="gjjx-inner-title"><h1>站内搜索</h1><span>搜索:${str}</span></div><c:choose><c:when test="${empty articleList}"><div class="gjjx-empty">没有找到匹配内容</div></c:when><c:otherwise><ul class="gjjx-article-list"><c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><span><strong>${item.title}</strong><p>${item.desc}</p></span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time></a></li></c:forEach></ul><c:if test="${not empty articleList}"><c:url var="searchPageUrl" value="/search"><c:param name="str" value="${str}"/></c:url><c:set var="pageWindowStart" value="${curPageNo - 2 < 1 ? 1 : curPageNo - 2}"/><c:set var="pageWindowEnd" value="${pageWindowStart + 4 > pageCount ? pageCount : pageWindowStart + 4}"/><c:set var="pageWindowStart" value="${pageWindowEnd - 4 < 1 ? 1 : pageWindowEnd - 4}"/><nav class="gjjx-pagination" data-page-count="${pageCount}" data-current-page="${curPageNo}" aria-label="搜索分页"><span class="page-summary">共 ${pageCount} 页</span><c:choose><c:when test="${curPageNo > 1}"><a href="${searchPageUrl}&page=${curPageNo - 1}">上一页</a></c:when><c:otherwise><span class="is-disabled">上一页</span></c:otherwise></c:choose><c:if test="${pageWindowStart > 1}"><a href="${searchPageUrl}&page=1">1</a><c:if test="${pageWindowStart > 2}"><span>…</span></c:if></c:if><c:forEach begin="${pageWindowStart}" end="${pageWindowEnd}" var="pageNo"><a class="${pageNo eq curPageNo ? 'active' : ''}" href="${searchPageUrl}&page=${pageNo}">${pageNo}</a></c:forEach><c:if test="${pageWindowEnd < pageCount}"><c:if test="${pageWindowEnd < pageCount - 1}"><span>…</span></c:if><a href="${searchPageUrl}&page=${pageCount}">${pageCount}</a></c:if><c:choose><c:when test="${curPageNo < pageCount}"><a href="${searchPageUrl}&page=${curPageNo + 1}">下一页</a></c:when><c:otherwise><span class="is-disabled">下一页</span></c:otherwise></c:choose></nav></c:if></c:otherwise></c:choose></section></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-27"></script>
- <script src="/main/ffkj-portal/pagination-jump.js?v=20261128-search-pages-r3"></script>
- </body></html>
|