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

同步参考站轮播并校准人物分类底线

首页轮播改用参考站 banner-3、banner-4 两套本地素材,按参考站实现 6 秒自动切换、方向状态、淡出衔接和 6 秒缓慢缩放动画,箭头与圆点交互同步调整。

华夏人物三个分类整体下移 10px,使选中蓝线中心与华夏人物标题底线中心对齐;手机端取消该偏移。

Validation:
- Chrome 实测轮播 6 秒从第 1 张切换到第 2 张,is-carousel-ready/is-leaving/is-zooming 状态正常
- 蓝线中心与标题底线偏差 0.11px
- /usr/bin/python3 /tmp/verify-gjjx-sites.py(主站 112、部门站 47,bad=0/external=0)
非繁 1 месяц назад
Родитель
Сommit
6cde3431a2

+ 14 - 8
WebRoot/main/ffkj-portal/gjjx-blue.css

@@ -11,21 +11,27 @@
 .gjjx-site .portal-nav-panel{border-top-color:#214b9f!important}
 .gjjx-hero-section{position:relative;background:#fff}
 .gjjx-hero{position:relative;height:clamp(610px,calc(46vw + 50px),870px);min-height:440px;overflow:hidden}
-.gjjx-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease}
+.gjjx-hero-slide{position:absolute;inset:-2px -3vw;z-index:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity 1s ease}
 .gjjx-hero-slide.is-active{opacity:1;visibility:visible;z-index:2}
+.gjjx-hero-slide.is-leaving{visibility:visible;z-index:1;opacity:0}
 .gjjx-hero-media,.gjjx-hero-media-link{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
 .gjjx-hero-media-link{position:absolute;inset:0}
+.gjjx-hero-media{transform:scale(1.12);transition:none;will-change:transform}
+.gjjx-hero-slide.is-active.is-zooming .gjjx-hero-media{transform:scale(1);transition:transform 6s cubic-bezier(.22,1,.36,1)}
+.gjjx-hero-slide.is-leaving .gjjx-hero-media{transform:scale(1.02);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
 .gjjx-hero-caption{position:absolute;left:50%;bottom:66px;width:min(1200px,calc(100% - 48px));transform:translateX(-50%);color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45)}
 .gjjx-hero-caption span{display:inline-block;padding:7px 12px;background:rgba(33,75,159,.86);font:12px/1.2 Arial,sans-serif;letter-spacing:2px}
 .gjjx-hero-caption h1{max-width:820px;margin:15px 0 8px;font-size:clamp(30px,3vw,48px);font-weight:600;line-height:1.22}
 .gjjx-hero-caption p{max-width:720px;margin:0;font-size:16px;line-height:1.7;opacity:.92}
-.gjjx-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.38))}
+.gjjx-hero:after{display:none}
 .gjjx-hero-slide>*{z-index:2}
-.gjjx-hero-arrow{position:absolute;top:50%;z-index:5;display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(11,38,82,.28);color:#fff;font:30px/1 Arial;cursor:pointer;transform:translateY(-50%)}
+.gjjx-hero-arrow{position:absolute;top:50%;z-index:5;display:grid;place-items:center;width:56px;height:88px;border:0;background:transparent;color:rgba(255,255,255,.86);font:76px/80px Georgia,"Times New Roman",serif;cursor:pointer;opacity:0;pointer-events:none;text-shadow:0 2px 16px rgba(20,44,63,.34);transform:translateY(-50%);transition:opacity .24s ease,color .2s ease,background .2s ease}
+.gjjx-hero:hover .gjjx-hero-arrow,.gjjx-hero:focus-within .gjjx-hero-arrow{opacity:1;pointer-events:auto}
+.gjjx-hero-arrow:hover{color:#fff;background:rgba(27,55,77,.18)}
 .gjjx-hero-arrow.prev{left:28px}.gjjx-hero-arrow.next{right:28px}
-.gjjx-hero-dots{position:absolute;left:50%;bottom:26px;z-index:5;display:flex;gap:9px;transform:translateX(-50%)}
-.gjjx-hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer}
-.gjjx-hero-dots button.is-active{width:28px;border-radius:5px;background:#fff}
+.gjjx-hero-dots{position:absolute;right:40px;bottom:35px;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:18px}
+.gjjx-hero-dots button{width:15px;height:15px;padding:0;border:2px solid rgba(255,255,255,.86);border-radius:50%;background:transparent;box-shadow:0 2px 10px rgba(22,48,70,.16);cursor:pointer}
+.gjjx-hero-dots button.is-active{width:30px;height:30px;border:1px solid #fff;background:transparent url('/main/ffkj-portal/assets/decor/hero-dot-logo.png') center/28px 28px no-repeat;box-shadow:none}
 .gjjx-section{padding:72px 0}
 .gjjx-section-soft{background:linear-gradient(180deg,#f4f7fc,#fff)}
 .gjjx-section>.wrap,.gjjx-hero-section>.wrap{width:min(1200px,calc(100% - 48px));margin:0 auto}
@@ -164,7 +170,7 @@
 
 /* 华夏人物:分类标题与栏目标题同排,下方切换人物内容 */
 .gjjx-people-title{flex-wrap:wrap;row-gap:16px}
-.gjjx-people-tabs{display:flex;align-items:center;gap:24px;margin-left:0}
+.gjjx-people-tabs{position:relative;top:10px;display:flex;align-items:center;gap:24px;margin-left:0}
 .gjjx-people-tabs button{position:relative;padding:0 0 12px;border:0;background:transparent;color:#7d8aa0;font:600 24px/1.2 "Microsoft YaHei","PingFang SC",sans-serif;cursor:pointer;transition:color .25s}
 .gjjx-people-tabs button:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:#214b9f;transform:scaleX(0);transform-origin:left center;transition:transform .25s}
 .gjjx-people-tabs button:hover,.gjjx-people-tabs button.is-active{color:#1a2a43}
@@ -189,7 +195,7 @@
 .gjjx-person-card:after{content:"查看 →";margin:6px 9px 0;color:#8190a7;font-size:11px;line-height:1.4}
 .gjjx-person-card:hover:after,.gjjx-person-card.is-active:after{color:rgba(255,255,255,.78)}
 @media(max-width:1100px){.gjjx-people-feature{grid-template-columns:1fr}.gjjx-people-main{grid-template-columns:280px minmax(0,1fr)}.gjjx-people-portrait-ring{width:280px;height:280px}.gjjx-people-panel{grid-template-columns:repeat(5,minmax(0,1fr))}.gjjx-people-tabs{gap:24px}.gjjx-people-tabs button{font-size:24px}}
-@media(max-width:900px){.gjjx-people-title{align-items:flex-start}.gjjx-people-tabs{order:3;width:100%;margin-left:0;justify-content:space-between;gap:12px}.gjjx-people-tabs button{font-size:20px}.gjjx-people-feature{gap:28px}.gjjx-people-main{grid-template-columns:1fr;text-align:center}.gjjx-people-portrait-ring{width:240px;height:240px;margin:0 auto}.gjjx-people-profile h3{font-size:26px}.gjjx-people-line{margin-left:auto;margin-right:auto}.gjjx-people-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
+@media(max-width:900px){.gjjx-people-title{align-items:flex-start}.gjjx-people-tabs{top:0;order:3;width:100%;margin-left:0;justify-content:space-between;gap:12px}.gjjx-people-tabs button{font-size:20px}.gjjx-people-feature{gap:28px}.gjjx-people-main{grid-template-columns:1fr;text-align:center}.gjjx-people-portrait-ring{width:240px;height:240px;margin:0 auto}.gjjx-people-profile h3{font-size:26px}.gjjx-people-line{margin-left:auto;margin-right:auto}.gjjx-people-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
 @media(max-width:560px){.gjjx-people-tabs{gap:8px}.gjjx-people-tabs button{padding-bottom:8px;font-size:18px}.gjjx-people-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gjjx-person-card{padding-bottom:11px}.gjjx-person-card strong{font-size:14px}.gjjx-person-card:after{content:"查看 →";font-size:11px}.gjjx-people-portrait-ring{width:210px;height:210px}}
 
 /* 产教融合/服务直通车标题与内容同宽同比例 */

+ 70 - 1
WebRoot/main/ffkj-portal/gjjx-blue.js

@@ -1,4 +1,73 @@
 (function () {
+  function setupHeroCarousel() {
+    var root = document.querySelector('[data-gjjx-hero]');
+    if (!root) return;
+    var slides = Array.prototype.slice.call(root.querySelectorAll('[data-gjjx-hero-slide]'));
+    var dots = Array.prototype.slice.call(root.querySelectorAll('[data-gjjx-hero-dot]'));
+    if (slides.length < 2) return;
+    var index = 0;
+    var timer = null;
+
+    function restartZoom(active) {
+      slides.forEach(function (slide) { slide.classList.remove('is-zooming'); });
+      if (!active || (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches)) return;
+      active.offsetWidth;
+      window.requestAnimationFrame(function () { active.classList.add('is-zooming'); });
+    }
+
+    function show(next, direction) {
+      var previousIndex = index;
+      var hasPrevious = root.classList.contains('is-carousel-ready');
+      index = (next + slides.length) % slides.length;
+      root.classList.remove('is-carousel-forward', 'is-carousel-backward');
+      root.classList.add(direction < 0 ? 'is-carousel-backward' : 'is-carousel-forward');
+      slides.forEach(function (slide, slideIndex) {
+        var active = slideIndex === index;
+        var leaving = hasPrevious && slideIndex === previousIndex && slideIndex !== index;
+        slide.classList.toggle('is-active', active);
+        slide.classList.toggle('is-leaving', leaving);
+        slide.setAttribute('aria-hidden', active ? 'false' : 'true');
+        if (slide._leaveTimer) {
+          window.clearTimeout(slide._leaveTimer);
+          slide._leaveTimer = 0;
+        }
+        if (leaving) {
+          slide._leaveTimer = window.setTimeout(function () {
+            slide.classList.remove('is-leaving');
+            slide._leaveTimer = 0;
+          }, 1200);
+        }
+        var video = slide.querySelector('video');
+        if (video) {
+          if (active) video.play().catch(function () {});
+          else video.pause();
+        }
+      });
+      restartZoom(slides[index]);
+      dots.forEach(function (dot, dotIndex) {
+        var active = dotIndex === index;
+        dot.classList.toggle('is-active', active);
+        dot.setAttribute('aria-pressed', active ? 'true' : 'false');
+      });
+      root.classList.add('is-carousel-ready');
+    }
+
+    function stop() { if (timer) { window.clearInterval(timer); timer = null; } }
+    function start() { stop(); timer = window.setInterval(function () { show(index + 1, 1); }, 6000); }
+    var prev = root.querySelector('.gjjx-hero-arrow.prev');
+    var next = root.querySelector('.gjjx-hero-arrow.next');
+    if (prev) prev.addEventListener('click', function () { show(index - 1, -1); start(); });
+    if (next) next.addEventListener('click', function () { show(index + 1, 1); start(); });
+    dots.forEach(function (dot, dotIndex) {
+      dot.addEventListener('click', function () { show(dotIndex, dotIndex < index ? -1 : 1); start(); });
+    });
+    root.addEventListener('mouseenter', stop);
+    root.addEventListener('mouseleave', start);
+    document.addEventListener('visibilitychange', function () { if (document.hidden) stop(); else start(); });
+    show(0, 1);
+    start();
+  }
+
   function setupSlides(rootSelector, slideSelector, dotSelector, prevSelector, nextSelector) {
     var root = document.querySelector(rootSelector);
     if (!root) return;
@@ -37,7 +106,7 @@
     activate(0);
     start();
   }
-  setupSlides('[data-gjjx-hero]', '[data-gjjx-hero-slide]', '[data-gjjx-hero-dot]', '.gjjx-hero-arrow.prev', '.gjjx-hero-arrow.next');
+  setupHeroCarousel();
   setupSlides('[data-gjjx-news-carousel]', '[data-gjjx-news-slide]', '[data-gjjx-news-dot]', null, null);
 })();
 

BIN
WebRoot/main/ffkj-portal/gjjx/hero-ref-1.png


BIN
WebRoot/main/ffkj-portal/gjjx/hero-ref-2.png


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

+ 4 - 7
local-run/repairs/2026-10-17-huaxia-gjjx-templates.sql

@@ -111,7 +111,7 @@ INSERT INTO website_navigation(dcode,unitid,wnccode,websiteid,wtid,idcard,name,n
 SELECT 61,10000,10000,@main_site_id,NULL,s.idcard,s.name,s.assistant,s.name,CONCAT(s.name,'栏目'),s.wntcode,s.wnscode,10010,s.wnlscode,s.uri,s.url,NULL,NULL,NULL,480,320,NULL,s.sort_number,NOW(),10000 FROM gjjx_main_nav_seed s WHERE @main_site_id IS NOT NULL AND NOT EXISTS(SELECT 1 FROM website_navigation n WHERE n.websiteid=@main_site_id AND n.idcard=s.idcard);
 UPDATE website_navigation n JOIN gjjx_main_nav_seed s ON s.idcard=n.idcard SET n.name=s.name,n.name_assistant=s.assistant,n.title=s.name,n.`desc`=CONCAT(s.name,'栏目'),n.wntcode=s.wntcode,n.wnscode=s.wnscode,n.wnjtcode=10010,n.wnlscode=s.wnlscode,n.uri=s.uri,n.url=s.url,n.parent_nid=NULL,n.sort_number=s.sort_number,n.dcode=61 WHERE n.websiteid=@main_site_id;
 UPDATE website_navigation n JOIN gjjx_main_nav_seed s ON s.idcard=n.idcard JOIN website_navigation p ON p.websiteid=@main_site_id AND p.idcard=s.parent_idcard SET n.parent_nid=p.navigationid WHERE n.websiteid=@main_site_id AND s.parent_idcard IS NOT NULL;
-UPDATE website_navigation SET photo_size_width=1920,photo_size_height=620 WHERE (wtid=@main_template_id OR websiteid=@main_site_id) AND idcard='FFKJ_GJJX_HOME_HERO';
+UPDATE website_navigation SET photo_size_width=1920,photo_size_height=1080 WHERE (wtid=@main_template_id OR websiteid=@main_site_id) AND idcard='FFKJ_GJJX_HOME_HERO';
 UPDATE website_navigation SET photo_size_width=240,photo_size_height=300 WHERE (wtid=@main_template_id OR websiteid=@main_site_id) AND idcard IN ('FFKJ_GJJX_HOME_PEOPLE','FFKJ_GJJX_HOME_PEOPLE_TEACHERS','FFKJ_GJJX_HOME_PEOPLE_ALUMNI','FFKJ_GJJX_HOME_PEOPLE_TALENTS');
 UPDATE website_navigation SET photo_size_width=240,photo_size_height=96 WHERE (wtid=@main_template_id OR websiteid=@main_site_id) AND idcard='FFKJ_GJJX_HOME_INDUSTRY';
 
@@ -153,12 +153,8 @@ UPDATE website_navigation SET photo_size_width=1920,photo_size_height=620 WHERE
 DROP TEMPORARY TABLE IF EXISTS gjjx_main_article_seed;
 CREATE TEMPORARY TABLE gjjx_main_article_seed (nav_idcard VARCHAR(128),title VARCHAR(256),summary VARCHAR(2048),source VARCHAR(256),thumbnail VARCHAR(512),url VARCHAR(512),release_time DATETIME,sort_number INT,ajtcode INT,content VARCHAR(256),edit_content VARCHAR(256));
 INSERT INTO gjjx_main_article_seed VALUES
-('FFKJ_GJJX_HOME_HERO','选择华夏,成就技能人生','国家级重点技工学校,让技能点亮未来。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-1.jpg','/gjjxhero/900000000001.htm','2026-10-12 09:00:00',1,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
-('FFKJ_GJJX_HOME_HERO','匠心筑梦,强技报国','在真实项目中练技能,在校园生活中成长。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-2.jpg','/gjjxhero/900000000002.htm','2026-10-13 09:00:00',2,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
-('FFKJ_GJJX_HOME_HERO','走进智能制造实训中心','先进设备与真实生产场景融合教学。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-3.jpg','/gjjxhero/900000000003.htm','2026-10-14 09:00:00',3,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
-('FFKJ_GJJX_HOME_HERO','产教融合,协同育人','校企共同制定课程,共同培养技能人才。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-4.jpg','/gjjxhero/900000000004.htm','2026-10-15 09:00:00',4,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
-('FFKJ_GJJX_HOME_HERO','青春华夏,活力校园','丰富多彩的校园文化活动。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-5.jpg','/gjjxhero/900000000005.htm','2026-10-16 09:00:00',5,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
-('FFKJ_GJJX_HOME_HERO','技能成才,人人出彩','技能竞赛与专业社团助力成长。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-6.jpg','/gjjxhero/900000000006.htm','2026-10-17 09:00:00',6,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
+('FFKJ_GJJX_HOME_HERO','选择华夏,成就技能人生','国家级重点技工学校,让技能点亮未来。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-ref-1.png','/gjjxhero/900000000001.htm','2026-10-12 09:00:00',1,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
+('FFKJ_GJJX_HOME_HERO','匠心筑梦,强技报国','在真实项目中练技能,在校园生活中成长。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-ref-2.png','/gjjxhero/900000000002.htm','2026-10-13 09:00:00',2,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
 ('FFKJ_GJJX_HOME_NEWS','学校召开新学期教职工大会,部署年度重点工作','学校围绕高质量发展部署新学期重点任务。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-1.jpg','/gjjxnews/900000001001.htm','2026-10-16 09:00:00',1,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
 ('FFKJ_GJJX_HOME_NEWS','喜报!我校师生在省技能竞赛中获佳绩','以赛促教、以赛促学,技能人才培养再结硕果。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-2.jpg','/gjjxnews/900000001002.htm','2026-10-15 09:00:00',2,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
 ('FFKJ_GJJX_HOME_NEWS','学校开展校企合作专题调研','深化产教融合,拓展学生实习就业渠道。','广东华夏高级技工学校','/main/ffkj-portal/gjjx/hero-3.jpg','/gjjxnews/900000001003.htm','2026-10-14 09:00:00',3,10000,'/web/upload/ffkj-template/content/portal-demo.html','/web/upload/ffkj-template/content/portal-demo.html'),
@@ -259,6 +255,7 @@ UPDATE article a JOIN website_navigation p ON p.navigationid=a.navigationid AND
 INSERT INTO article(dcode,websiteid,unitid,ascode,navigationid,title,ajtcode,`desc`,source,thumbnail,sticktop,sticktop_end_time,sticktop_schedulesid,`release`,release_time,release_task_schedulesid,content,edit_content,url,read_count,create_time,last_change_time,create_pid,last_change_pid,sort_number)
 SELECT 61,@main_site_id,10000,10010,n.navigationid,s.title,s.ajtcode,s.summary,s.source,s.thumbnail,0,NULL,NULL,1,s.release_time,NULL,s.content,s.edit_content,s.url,1,NOW(),NOW(),10000,10000,s.sort_number FROM gjjx_main_article_seed s JOIN website_navigation n ON n.websiteid=@main_site_id AND n.idcard=s.nav_idcard AND n.dcode=61 WHERE @main_site_id IS NOT NULL AND NOT EXISTS(SELECT 1 FROM article a WHERE a.websiteid=@main_site_id AND a.navigationid=n.navigationid AND a.title=s.title AND a.dcode<>72);
 UPDATE article a JOIN gjjx_main_article_seed s ON s.title=a.title JOIN website_navigation n ON n.navigationid=a.navigationid AND n.idcard=s.nav_idcard SET a.dcode=61,a.ascode=10010,a.ajtcode=s.ajtcode,a.`desc`=s.summary,a.source=s.source,a.thumbnail=s.thumbnail,a.`release`=1,a.release_time=s.release_time,a.content=s.content,a.edit_content=s.edit_content,a.url=s.url,a.sort_number=s.sort_number,a.last_change_time=NOW(),a.last_change_pid=10000 WHERE a.websiteid=@main_site_id AND n.websiteid=@main_site_id;
+DELETE a FROM article a JOIN website_navigation n ON n.navigationid=a.navigationid WHERE a.websiteid=@main_site_id AND n.websiteid=@main_site_id AND n.idcard='FFKJ_GJJX_HOME_HERO' AND a.title IN ('走进智能制造实训中心','产教融合,协同育人','青春华夏,活力校园','技能成才,人人出彩');
 DELETE a FROM article a JOIN website_navigation n ON n.navigationid=a.navigationid WHERE a.websiteid=@main_site_id AND n.websiteid=@main_site_id AND n.idcard='FFKJ_GJJX_HOME_FLOAT_NAV' AND a.title IN ('学校概况','机构设置','教学科研','公共服务','人才招聘');