Kaynağa Gözat

补齐教育学院导航一致性与脚本兼容

- 1024px 下列表、目录和搜索页快速导航统一保持 276px,不再缩为 220px
- jQuery 在教育学院公共页头统一提前加载,修复非正文页 CMS 懒加载脚本报错
- 迁移恢复体育部党支部栏目时同步停用三篇模板种子文章,并备份文章原状态

Validation:
- 本地 Java 8 发布编译通过
- 1440/1024/768/390 共 24 个页面场景通过浏览器验收
- 侧栏位置、宽度、白色导航文字、移动端一级菜单直达、entryNav 上下文、搜索范围和种子文章检查均通过
非繁 1 gün önce
ebeveyn
işleme
eba450cb06

+ 1 - 1
WebRoot/main/ffkj-portal/education-college.css

@@ -287,7 +287,7 @@ body.education-page a.edu-zone-btn{position:relative;z-index:1;display:inline-fl
   .edu-top-search input{width:150px}
   .edu-news-card{grid-template-columns:1fr}
   .edu-feature{grid-template-columns:minmax(200px,.75fr) minmax(0,1.25fr)}
-  .edu-list-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}
+  .edu-list-layout{grid-template-columns:276px minmax(0,1fr);gap:28px}
 }
 @media (max-width:860px){
   .edu-wrap{width:calc(100% - 30px)}

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

@@ -9,7 +9,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

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

@@ -9,8 +9,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<title>${articleTitle}_${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
-	<script src="/main/dist/websites/plug-in/jquery/jquery1.11.3.min.js"></script>
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

+ 1 - 0
WebRoot/web/upload/ffkj-template/education-header.jsp

@@ -1,5 +1,6 @@
 <%@ page pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<script src="/main/dist/websites/plug-in/jquery/jquery1.11.3.min.js"></script>
 <c:set var="educationSiteTitle" value="${empty website.seoTitle ? website.name : website.seoTitle}"/>
 <c:set var="educationLogo" value="${empty website.logo ? '/main/ffkj-portal/education/education-logo.png' : website.logo}"/>
 <header class="edu-topbar" id="top">

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

@@ -30,7 +30,7 @@
 	<meta name="description" content="${website.seoDescription}">
 	<title>${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

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

@@ -16,7 +16,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<title>${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

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

@@ -11,7 +11,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<title>站内搜索_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261127-navigation-r2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

+ 27 - 1
local-run/migrations/hxcs-mig-next/2026-11-27-003-restore-education-sports-branch.sql

@@ -1,4 +1,4 @@
--- 教育学院栏目结构收口:恢复“体育部党支部”。
+-- 教育学院栏目结构收口:恢复“体育部党支部”,并继续停用模板种子文章。
 -- 仅恢复栏目启用状态;栏目下 3 篇模板种子文章保持停用,不重新上线。
 CREATE TABLE IF NOT EXISTS sp_gzhx_apps_mig_next.hotfix_20261127_education_sports_branch AS
 SELECT navigationid, dcode, websiteid, wtid, parent_nid, name, idcard, url
@@ -11,3 +11,29 @@ SET dcode = 61
 WHERE idcard = 'FFKJ_EDU_PARTY_SPORTS_BRANCH'
   AND (websiteid = 10081 OR wtid = 70)
   AND dcode IN (61, 71);
+
+CREATE TABLE IF NOT EXISTS sp_gzhx_apps_mig_next.hotfix_20261127_education_sports_seed_articles AS
+SELECT a.articleid, a.dcode, a.ascode, a.websiteid, a.navigationid, a.title, a.source
+FROM sp_gzhx_apps_mig_next.article a
+JOIN sp_gzhx_apps_mig_next.website_navigation n ON n.navigationid = a.navigationid
+WHERE n.idcard = 'FFKJ_EDU_PARTY_SPORTS_BRANCH'
+  AND n.dcode = 61
+  AND n.websiteid IS NOT NULL
+  AND a.title IN (
+    '体育部党支部开展体育育人专题学习',
+    '体育部党员教师服务校园运动会',
+    '体育部党支部开展主题党日活动'
+  );
+
+UPDATE sp_gzhx_apps_mig_next.article a
+JOIN sp_gzhx_apps_mig_next.website_navigation n ON n.navigationid = a.navigationid
+SET a.dcode = 71
+WHERE n.idcard = 'FFKJ_EDU_PARTY_SPORTS_BRANCH'
+  AND n.dcode = 61
+  AND n.websiteid IS NOT NULL
+  AND a.dcode = 61
+  AND a.title IN (
+    '体育部党支部开展体育育人专题学习',
+    '体育部党员教师服务校园运动会',
+    '体育部党支部开展主题党日活动'
+  );