Просмотр исходного кода

统一快速导航上下半圆造型

右侧快速导航改为 92px 宽的胶囊形面板,顶部和底部统一使用 46px 半圆圆角,并保持蓝色渐变背景、内部菜单和返回顶部按钮不变。

Validation:
- Chrome 实测顶部、底部圆角均为 46px
- /usr/bin/python3 /tmp/verify-gjjx-sites.py(主站 115、部门站 47,bad=0/external=0)
非繁 1 месяц назад
Родитель
Сommit
d78cd6672d

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

@@ -161,7 +161,7 @@
 @media(max-width:900px){.gjjx-industry-service{grid-template-columns:1fr}.gjjx-logo-cloud{height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}.gjjx-logo-cloud .gjjx-logo-float{position:relative;left:auto!important;top:auto!important;width:auto;animation:none}.gjjx-logo-cloud .gjjx-logo-float img{height:56px}.gjjx-service-grid{height:auto;grid-auto-rows:auto}.gjjx-notice-list{display:block}.gjjx-notice-list li{flex:none}}
 
 /* 右侧快速导览:按济南大学参考栏 1:1 结构,蓝色品牌与技校 Logo */
-.gjjx-float-nav{right:12px;width:92px;padding:8px 8px 10px;background:url('/main/ffkj-portal/gjjx/float-nav-bg.png') no-repeat top center/100% 100%;border:0;border-radius:0;box-shadow:none}
+.gjjx-float-nav{right:12px;width:92px;padding:8px 8px 10px;overflow:hidden;background:linear-gradient(180deg,#214b9f,#173a7e);border:0;border-radius:46px;box-shadow:none}
 .gjjx-float-top{display:flex;justify-content:center;padding:2px 0 6px}
 .gjjx-float-logo{display:block;width:58px;height:58px;overflow:hidden;border-radius:50%}
 .gjjx-float-logo img{display:block;width:auto;height:58px;max-width:none;object-fit:cover;object-position:left center}

+ 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-20"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20"></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-20"></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-21"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21"></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-21"></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-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
 	<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-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
 	<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-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
 	<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-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
 	<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-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
 	<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-20"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20"></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-20"></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-21"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21"></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-21"></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-20">
-	<link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20">
+	<link rel="stylesheet" href="/main/ffkj-portal/portal-source.css?v=20261017-gjjx-blue-21">
+	<link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21">
 </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-20"></script>
-<script src="/main/ffkj-portal/gjjx-blue.js?v=20261017-gjjx-blue-20"></script>
+<script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-21"></script>
+<script src="/main/ffkj-portal/gjjx-blue.js?v=20261017-gjjx-blue-21"></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-20"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20"></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-21"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21"></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-20"></script></body></html>
+</div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-21"></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-20"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20"></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-21"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21"></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-20"></script></body></html>
+</main><%@ include file="gjjx-footer.jsp"%></div><script src="/main/ffkj-portal/portal-zq.js?v=20261017-gjjx-blue-21"></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-20"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-20"></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-20"></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-21"><link rel="stylesheet" href="/main/ffkj-portal/gjjx-blue.css?v=20261017-gjjx-blue-21"></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-21"></script></body></html>