| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <%@ 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/functions" prefix="fn"%>
- <c:set var="weijianTheme" value="${website.idCode eq 'hxcs_ffkjweijian_2026_site' or website.idCode eq 'local_ffkjweijian_2026_site'}"/>
- <!doctype html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="${website.seoDescription}">
- <title>站内搜索_${website.seoTitle}</title>
- <link rel="stylesheet" href="/main/ffkj-portal/xingong-blue.css?v=20261117-360-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">
- <c:if test="${weijianTheme}"><link rel="stylesheet" href="/web/upload/modules/sys/upload/files/2026/11/18/weijian-green.css?v=20261121-weijian-4"></c:if>
- <%@ include file="school-schema-jsonld-include.jsp"%>
- </head>
- <body class="${weijianTheme ? 'weijian-page' : ''}">
- <%@ include file="xingong-header.jsp"%>
- <main class="inner-page">
- <section class="inner-hero"><div class="wrap inner-hero-inner"><div class="crumb-links"><a href="/">首页</a><span>/</span><span>站内搜索</span></div><h1>站内搜索</h1><p>搜索${website.name}及下级网站已发布文章。</p></div></section>
- <section class="inner-content"><div class="wrap inner-list-layout weijian-left-layout">
- <aside class="inner-side-panel"><div class="section-title"><div class="l"><h2>站群栏目</h2></div></div><nav class="inner-side-links"><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页子栏目'}"><a href="${item.href}" target="${item.target}">${item.name}</a></c:if></c:forEach></nav><div class="inner-side-card"><strong>${website.name}</strong><p>搜索范围包含本站及下级网站已发布文章。</p></div></aside>
- <article class="inner-list-panel">
- <c:choose>
- <c:when test="${isNullKey eq '1'}"><div class="search-empty-panel"><strong>请输入搜索关键词</strong><p>输入文章标题或摘要中的关键词后再搜索。</p></div></c:when>
- <c:when test="${empty articleList}"><div class="search-empty-panel"><strong>暂无结果</strong><p>没有找到包含“${str}”的已发布文章。</p></div></c:when>
- <c:otherwise>
- <p class="search-result-meta">关键词:${str}</p>
- <ul class="inner-news-list">
- <c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><span class="article-list-thumb"><c:choose><c:when test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:when><c:otherwise><em>暂无缩略图</em></c:otherwise></c:choose></span><div class="article-copy"><div class="article-graphic-head"><strong class="article-graphic-title">${item.title}</strong><time class="article-graphic-time">${fn:substring(item.release_time, 0, 10)}</time></div><p>${item.desc}</p><span class="search-result-source">${item.website_name}<c:if test="${not empty item.navigation_name}"> / ${item.navigation_name}</c:if></span></div></a></li></c:forEach>
- </ul>
- <c:if test="${pageCount gt 1}"><nav class="inner-pagination" aria-label="分页"><c:if test="${curPageNo gt 1}"><c:url var="prevUrl" value="/search"><c:param name="str" value="${str}"/><c:param name="page" value="${curPageNo - 1}"/></c:url><a href="${prevUrl}">上一页</a></c:if><span class="active">${curPageNo}</span><c:if test="${curPageNo lt pageCount}"><c:url var="nextUrl" value="/search"><c:param name="str" value="${str}"/><c:param name="page" value="${curPageNo + 1}"/></c:url><a href="${nextUrl}">下一页</a></c:if></nav></c:if>
- </c:otherwise>
- </c:choose>
- </article>
- </div></section>
- </main>
- <%@ include file="xingong-footer.jsp"%>
- <script src="/main/ffkj-portal/xingong-blue.js?v=20261026-tab-overflow-1"></script>
- <%@ include file="website-guest-gate-include.jsp"%>
- </body>
- </html>
|