| 1234567891011121314151617181920212223 |
- <%@ 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"%>
- <c:set var="searchLabel" value="${empty str ? '请输入关键词' : '关键词:'}${str}"/>
- <!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/dept-red.css?v=20261019-footer-1">
- </head>
- <body class="screen-red-theme">
- <%@ include file="dept-red-header.jsp"%>
- <main>
- <section class="section"><div class="wrap news-list-panel">
- <div class="news-list-head"><h1>站内搜索</h1><span>${searchLabel}</span></div>
- <c:choose><c:when test="${empty articleList}"><div class="empty-line">没有找到匹配内容</div></c:when><c:otherwise><ul class="article-list"><c:forEach items="${articleList}" var="item"><li><a href="${item.url}" target="${item.target}"><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time><div class="article-copy"><strong>${item.title}</strong><p>${item.desc}</p></div></a></li></c:forEach></ul></c:otherwise></c:choose>
- </div></section>
- </main>
- <%@ include file="dept-red-footer.jsp"%>
- </body>
- </html>
|