gjjx-list.jsp 3.7 KB

123456789101112131415161718192021
  1. <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
  4. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  5. <c:set var="sidebarTitle" value="${empty parNavigation.name ? navigation.name : parNavigation.name}"/>
  6. <c:set var="sidebarImage" value="${empty navigation.backgroundImage ? '/main/ffkj-portal/gjjx/hero-2.jpg' : navigation.backgroundImage}"/>
  7. <!doctype html>
  8. <html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>${navigation.name}_${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>
  9. <body class="screen-blue-theme gjjx-site gjjx-inner-page"><div class="portal-shell gjjx-site">
  10. <%@ include file="gjjx-header.jsp"%>
  11. <main class="gjjx-inner-main">
  12. <div class="wrap gjjx-breadcrumb"><a href="/">首页</a><c:forEach items="${crumbsNavList}" var="item"><span>/</span><a href="${item.url}">${item.name}</a></c:forEach></div>
  13. <section class="wrap gjjx-inner-layout">
  14. <aside class="gjjx-inner-sidebar"><div class="gjjx-sidebar-media"><img src="${sidebarImage}" alt="${sidebarTitle}"><strong>${sidebarTitle}</strong></div><nav><c:choose><c:when test="${not empty childrenNavList}"><c:forEach items="${childrenNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'is-active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></c:when><c:when test="${not empty brotherNavList}"><c:forEach items="${brotherNavList}" var="item"><a class="${item.navigationid eq navigation.navigationid ? 'is-active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></c:when><c:otherwise><c:forEach items="${navList}" var="item"><c:if test="${item.name ne '首页' and item.name ne '首页子栏目'}"><a class="${item.navigationid eq navigation.navigationid ? 'is-active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:if></c:forEach></c:otherwise></c:choose></nav></aside>
  15. <article class="gjjx-inner-panel"><div class="gjjx-inner-title"><h1>${navigation.name}</h1><span>${empty navigation.nameAssistant ? 'NEWS LIST' : navigation.nameAssistant}</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}"><c:if test="${not empty item.thumbnail}"><img src="${item.thumbnail}" alt="${item.title}"></c:if><span><strong>${item.title}</strong><c:if test="${not empty item.desc}"><p>${item.desc}</p></c:if></span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time></a></li></c:forEach></ul></c:otherwise></c:choose><c:if test="${not empty articleList}"><nav class="gjjx-pagination" data-page-count="${pageCount}" data-current-page="${curPageNo}"><c:if test="${curPageNo gt 1}"><a href="${curHerf}?page=${curPageNo - 1}">上一页</a></c:if><span>第 ${curPageNo} / ${pageCount} 页</span><c:if test="${curPageNo lt pageCount}"><a href="${curHerf}?page=${curPageNo + 1}">下一页</a></c:if></nav></c:if></article>
  16. </section>
  17. </main>
  18. <%@ include file="gjjx-footer.jsp"%>
  19. </div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-27"></script>
  20. <script src="/main/ffkj-portal/pagination-jump.js?v=20261128-search-pages-r2"></script>
  21. </body></html>