Browse Source

统一媒体聚焦与通知公告栏目标题样式

移除媒体聚焦、通知公告面板内的 24px 标题覆盖,恢复与其他首页栏目一致的标准标题:32px主标题、13px英文副标题、58px标题行、蓝色竖条和底部横线。

Validation:
- Chrome 实测媒体聚焦、通知公告与校园新闻等栏目标题样式全部一致
- /usr/bin/python3 /tmp/verify-gjjx-sites.py(主站 115、部门站 47,bad=0/external=0)
非繁 1 month ago
parent
commit
1aff481944

+ 0 - 1
WebRoot/main/ffkj-portal/gjjx-blue.css

@@ -63,7 +63,6 @@
 .gjjx-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;align-items:stretch}
 .gjjx-panel{min-width:0;padding:0 26px 20px;background:#fff;border:1px solid #e6ecf5}
 .gjjx-panel .gjjx-section-title{margin:0 0 16px;border-bottom-color:#e6ecf5}
-.gjjx-panel .gjjx-section-title h2{font-size:24px}
 .gjjx-media-list,.gjjx-notice-list{margin:0;padding:0;list-style:none}
 .gjjx-notice-panel{display:flex;flex-direction:column}
 .gjjx-notice-list{display:flex;flex:1;flex-direction:column}

+ 2 - 2
WebRoot/web/upload/ffkj-template/gjjx-catalog.jsp

@@ -1,5 +1,5 @@
 <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <c:set var="sidebarTitle" value="${empty parNavigation.name ? navigation.name : parNavigation.name}"/>
-<!doctype html><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=20261017-gjjx-blue-15"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15"></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"><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><section class="wrap gjjx-inner-layout"><aside class="gjjx-inner-sidebar"><div class="gjjx-sidebar-media"><img src="/main/ffkj-portal/gjjx/hero-3.jpg" alt="${sidebarTitle}"><strong>${sidebarTitle}</strong></div><nav><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></nav></aside><article class="gjjx-inner-panel"><div class="gjjx-inner-title"><h1>${navigation.name}</h1><span>${empty navigation.nameAssistant ? 'COLUMNS' : navigation.nameAssistant}</span></div><div class="gjjx-catalog-grid"><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}"><strong>${item.name}</strong><p>${empty item.desc ? '进入该栏目查看更多内容。' : item.desc}</p><em>查看栏目 →</em></a></c:forEach></div></article></section></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script></body></html>
+<!doctype html><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=20261017-gjjx-blue-16"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16"></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"><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><section class="wrap gjjx-inner-layout"><aside class="gjjx-inner-sidebar"><div class="gjjx-sidebar-media"><img src="/main/ffkj-portal/gjjx/hero-3.jpg" alt="${sidebarTitle}"><strong>${sidebarTitle}</strong></div><nav><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></nav></aside><article class="gjjx-inner-panel"><div class="gjjx-inner-title"><h1>${navigation.name}</h1><span>${empty navigation.nameAssistant ? 'COLUMNS' : navigation.nameAssistant}</span></div><div class="gjjx-catalog-grid"><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}"><strong>${item.name}</strong><p>${empty item.desc ? '进入该栏目查看更多内容。' : item.desc}</p><em>查看栏目 →</em></a></c:forEach></div></article></section></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script></body></html>

+ 1 - 1
WebRoot/web/upload/ffkj-template/gjjx-dept-catalog.jsp

@@ -11,7 +11,7 @@
 	<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=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 <body class="${portalThemeClass}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/gjjx-dept-details.jsp

@@ -10,7 +10,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1">
 	<meta name="description" content="${articleDescription}">
 	<title>${articleTitle}_${navigation.name}_${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 <body class="${portalThemeClass}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/gjjx-dept-index.jsp

@@ -12,7 +12,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 <body class="${portalThemeClass}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/gjjx-dept-list.jsp

@@ -26,7 +26,7 @@
 	<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=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 <body class="${portalThemeClass}">

+ 1 - 1
WebRoot/web/upload/ffkj-template/gjjx-dept-search.jsp

@@ -10,7 +10,7 @@
 	<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=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
 	<c:if test="${not empty portalThemeStyle}"><style>${portalThemeStyle}</style></c:if>
 </head>
 <body class="${portalThemeClass}">

+ 2 - 2
WebRoot/web/upload/ffkj-template/gjjx-details.jsp

@@ -1,4 +1,4 @@
 <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="${articleDescription}"><title>${articleTitle}_${navigation.name}_${website.seoTitle}</title><link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-15"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15"></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"><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><article class="wrap gjjx-detail"><h1>${articleTitle}</h1><div class="gjjx-detail-meta"><span>${navigation.name}</span><time>${articleReleaseTime}</time><span>来源:${articleSource}</span></div><div class="gjjx-detail-body">${articleContent}</div></article></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script><script src="/apps/space/js/secure-pdf.js?v=20260709-pdf-secure"></script></body></html>
+<!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="${articleDescription}"><title>${articleTitle}_${navigation.name}_${website.seoTitle}</title><link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16"></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"><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><article class="wrap gjjx-detail"><h1>${articleTitle}</h1><div class="gjjx-detail-meta"><span>${navigation.name}</span><time>${articleReleaseTime}</time><span>来源:${articleSource}</span></div><div class="gjjx-detail-body">${articleContent}</div></article></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script><script src="/apps/space/js/secure-pdf.js?v=20260709-pdf-secure"></script></body></html>

+ 4 - 4
WebRoot/web/upload/ffkj-template/gjjx-index.jsp

@@ -13,8 +13,8 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<meta name="description" content="${website.seoDescription}">
 	<title>${website.seoTitle}</title>
-	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-15">
-	<link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-16">
+	<link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16">
 </head>
 <body class="screen-blue-theme gjjx-site">
 <div class="portal-shell screen-shell screen-blue-theme gjjx-site">
@@ -164,7 +164,7 @@
 	</c:if>
 	<%@ include file="gjjx-footer.jsp"%>
 </div>
-<script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script>
-<script src="/main/ffkj-portal/gjjx-blue.js?v=20261017-gjjx-blue-15"></script>
+<script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script>
+<script src="/main/ffkj-portal/gjjx-blue.js?v=20261017-gjjx-blue-16"></script>
 </body>
 </html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/gjjx-list.jsp

@@ -5,7 +5,7 @@
 <c:set var="sidebarTitle" value="${empty parNavigation.name ? navigation.name : parNavigation.name}"/>
 <c:set var="sidebarImage" value="${empty navigation.backgroundImage ? '/main/ffkj-portal/gjjx/hero-2.jpg' : navigation.backgroundImage}"/>
 <!doctype html>
-<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=20261017-gjjx-blue-15"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15"></head>
+<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=20261017-gjjx-blue-16"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16"></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">
@@ -16,4 +16,4 @@
 	</section>
 </main>
 <%@ include file="gjjx-footer.jsp"%>
-</div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script></body></html>
+</div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script></body></html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/gjjx-org.jsp

@@ -1,8 +1,8 @@
 <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <!doctype html>
-<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=20261017-gjjx-blue-15"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15"></head>
+<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=20261017-gjjx-blue-16"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16"></head>
 <body class="screen-blue-theme gjjx-site screen-inner-shell screen-inner-hero-page org-structure-page"><div class="portal-shell screen-shell screen-blue-theme gjjx-site screen-inner-shell screen-inner-hero-page org-structure-page"><%@ include file="gjjx-header.jsp"%><main>
 	<section class="school-inner-hero"><div class="wrap inner-hero-inner"><div class="inner-breadcrumb"><a href="/">首页</a><c:forEach items="${crumbsNavList}" var="item"><span>›</span><a href="${item.url}">${item.name}</a></c:forEach></div><h1>${navigation.name}</h1><span>集中展示学校职能部门与教学单位设置</span></div></section>
 	<section class="inner-content"><div class="wrap inner-list-layout"><article class="inner-list-panel"><section class="org-structure-section"><nav class="org-structure-tabs" aria-label="${navigation.name}栏目"><c:forEach items="${orgTabList}" var="item"><a class="org-structure-tab ${item.navigationid eq orgActiveNavigationId ? 'is-active' : ''}" href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></nav><div class="org-structure-panel"><c:choose><c:when test="${not empty orgContentNavList}"><ul class="org-structure-list"><c:forEach items="${orgContentNavList}" var="item"><c:choose><c:when test="${item.wntcode eq 10070}"><li class="is-static"><strong>${item.name}</strong></li></c:when><c:otherwise><li><a href="${item.href}" target="${item.target}"><strong>${item.name}</strong></a></li></c:otherwise></c:choose></c:forEach></ul></c:when><c:otherwise><div class="org-structure-empty">暂无内容。</div></c:otherwise></c:choose></div></section></article></div></section>
-</main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script></body></html>
+</main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script></body></html>

+ 2 - 2
WebRoot/web/upload/ffkj-template/gjjx-search.jsp

@@ -1,5 +1,5 @@
 <%@ 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=20261017-gjjx-blue-15"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-15"></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:otherwise></c:choose></section></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-15"></script></body></html>
+<!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=20261017-gjjx-blue-16"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-16"></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:otherwise></c:choose></section></main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-16"></script></body></html>