Przeglądaj źródła

更新教育学院VIS组合标志

将教育学院模板页头与页脚切换为指定的“华夏+教育学院”横向组合标志,并按桌面、平板和手机宽度设置响应式尺寸。\n\n新增站点头部、页脚与模板默认 logo 资源,更新本地站点配置;新增 HXCS 增量迁移,将教育学院-2026 站点 website.logo 切换为新资源,同时保留原院徽作为 favicon。\n\nValidation:\n- 320、1120、860、680、430 等断点均配置横向 logo 尺寸\n- bash -n HXCS 发布脚本通过\n- git diff --check 通过\n- PNG 1212x200 RGBA 资源已校验
非繁 2 tygodni temu
rodzic
commit
07a65e8ccb

+ 8 - 22
WebRoot/main/ffkj-portal/education-college.css

@@ -29,13 +29,8 @@ ul{list-style:none}
 .edu-topbar::before{right:-70px;top:-95px;width:360px;height:360px}
 .edu-topbar::after{right:80px;bottom:-155px;width:260px;height:260px}
 .edu-topbar-inner{min-height:118px;display:flex;align-items:center;justify-content:space-between;gap:30px}
-.edu-brand{display:flex;align-items:center;gap:18px;color:#fff;min-width:0}
-.edu-brand-mark{width:82px;height:82px;flex:none;object-fit:contain;padding:5px;border:2px solid rgba(255,255,255,.58);border-radius:50%;background:rgba(255,255,255,.08);filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
-.edu-brand-divider{width:1px;height:58px;background:rgba(255,255,255,.35);flex:none}
-.edu-brand-copy{min-width:0}
-.edu-brand-copy .edu-brand-name{display:block;font-family:"STZhongsong","Songti SC",serif;font-size:28px;font-weight:900;line-height:1.2;letter-spacing:.16em;text-shadow:0 2px 7px rgba(70,10,20,.26)}
-.edu-brand-copy .cn{font-size:13px;font-weight:600;letter-spacing:.14em;color:rgba(255,255,255,.92)}
-.edu-brand-copy .en{font-family:"Segoe UI",Arial,sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.76);white-space:nowrap;margin-top:2px}
+.edu-brand{display:flex;align-items:center;color:#fff;min-width:0}
+.edu-brand-logo{display:block;width:min(370px,42vw);height:auto;max-height:72px;object-fit:contain;filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
 .edu-top-tools{display:flex;align-items:center;gap:14px;flex:none}
 .edu-top-links{display:flex;align-items:center;gap:13px;white-space:nowrap}
 .edu-top-links a{color:#fff;font-size:13px;font-weight:600;transition:color .2s}
@@ -187,10 +182,8 @@ ul{list-style:none}
 .edu-footer{margin-top:46px;background:linear-gradient(115deg,#651522 0%,#7e1d2e 58%,#96283e 100%);color:rgba(255,255,255,.82)}
 .edu-footer-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.65fr) minmax(210px,.75fr);gap:42px;padding:46px 0 34px}
 .edu-footer h4{margin-bottom:15px;color:#fff;font-family:"STZhongsong","Songti SC",serif;font-size:19px;letter-spacing:.05em}
-.edu-footer-brand{display:flex;align-items:center;gap:15px;margin-bottom:16px}
-.edu-footer-brand img{width:62px;height:62px;object-fit:contain;padding:4px;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(255,255,255,.08)}
-.edu-footer-brand strong{display:block;color:#fff;font-family:"STZhongsong","Songti SC",serif;font-size:20px}
-.edu-footer-brand span{display:block;margin-top:3px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.68)}
+.edu-footer-brand{margin-bottom:16px}
+.edu-footer-brand img{width:min(300px,100%);height:auto;object-fit:contain}
 .edu-footer p,.edu-footer li{font-size:12.5px;line-height:1.95}
 .edu-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
 .edu-footer-links{display:flex;flex-wrap:wrap;gap:9px 18px}
@@ -298,7 +291,7 @@ ul{list-style:none}
   .edu-nav-item.is-open .edu-subnav{display:block}
   .edu-subnav a{padding:9px 20px;border-bottom:1px solid rgba(255,255,255,.08);color:#fff}
   .edu-subnav a:hover{background:rgba(255,255,255,.08);color:#fff}
-  .edu-brand-mark{width:70px;height:70px}
+  .edu-brand-logo{width:min(330px,44vw);max-height:64px}
   .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)}
@@ -307,10 +300,7 @@ ul{list-style:none}
 @media (max-width:860px){
   .edu-wrap{width:calc(100% - 30px)}
   .edu-topbar-inner{min-height:104px;gap:18px}
-  .edu-brand-mark{width:62px;height:62px}
-  .edu-brand-divider{height:48px}
-  .edu-brand-copy .edu-brand-name{font-size:23px}
-  .edu-brand-copy .en{font-size:8px;letter-spacing:.08em}
+  .edu-brand-logo{width:min(290px,52vw);max-height:60px}
   .edu-top-links{display:none}
   .edu-top-search input{width:132px}
   .edu-hero{height:340px}
@@ -328,10 +318,8 @@ ul{list-style:none}
   .edu-sidebar-nav a.is-active{border-left-color:transparent;border-bottom-color:#fff;background:rgba(255,255,255,.16)}
 }
 @media (max-width:680px){
-  .edu-brand-divider{display:none}
   .edu-topbar-inner{min-height:92px}
-  .edu-brand-gap{gap:10px}
-  .edu-brand-copy .en{display:none}
+  .edu-brand-logo{width:min(230px,62vw);max-height:50px}
   .edu-top-search input{display:none}
   .edu-top-search button{width:38px}
   .edu-nav-toggle{display:flex}
@@ -368,9 +356,7 @@ ul{list-style:none}
   .edu-back-top{right:12px;bottom:18px}
 }
 @media (max-width:430px){
-  .edu-brand-mark{width:52px;height:52px;padding:3px}
-  .edu-brand-copy .edu-brand-name{font-size:20px}
-  .edu-brand-copy .cn{font-size:11px}
+  .edu-brand-logo{width:min(190px,64vw)}
   .edu-hero-tag{letter-spacing:.12em}
   .edu-hero-title{font-size:25px}
   .edu-hero-title small{font-size:12px;letter-spacing:.02em}

BIN
WebRoot/main/ffkj-portal/education/education-logo.png


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

@@ -10,7 +10,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=20261106-education-1">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261106-education-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261108-education-logo-1">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

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

@@ -10,7 +10,7 @@
 	<title>${articleTitle}_${navigation.name}_${empty website.seoTitle ? website.name : website.seoTitle}</title>
 	<link rel="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261106-education-1">
 	<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=20261106-education-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261108-education-logo-1">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

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

@@ -2,16 +2,12 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
 <c:set var="educationFooterTitle" value="${empty website.seoTitle ? website.name : website.seoTitle}"/>
-<c:set var="educationFooterLogo" value="${empty footerLogoUrl ? '/main/ffkj-portal/education/education-emblem.svg' : footerLogoUrl}"/>
+<c:set var="educationFooterLogo" value="${empty footerLogoUrl ? '/main/ffkj-portal/education/education-logo.png' : footerLogoUrl}"/>
 <footer class="edu-footer">
 	<div class="edu-wrap edu-footer-main">
 		<div>
 			<div class="edu-footer-brand">
 				<img src="${educationFooterLogo}" alt="${educationFooterTitle}">
-				<div>
-					<strong>广州华夏职业学院 · ${educationFooterTitle}</strong>
-					<span>School of Education</span>
-				</div>
 			</div>
 			<p>${empty footerAddressText ? '广东省广州市从化区城鳌大道东772号' : footerAddressText}</p>
 			<p>${empty footerAdmissionPhoneText ? '招生咨询:020-8786 0282' : footerAdmissionPhoneText}</p>

+ 2 - 8
WebRoot/web/upload/ffkj-template/education-header.jsp

@@ -1,17 +1,11 @@
 <%@ page pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <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-emblem.svg' : website.logo}"/>
+<c:set var="educationLogo" value="${empty website.logo ? '/main/ffkj-portal/education/education-logo.png' : website.logo}"/>
 <header class="edu-topbar" id="top">
 	<div class="edu-wrap edu-topbar-inner">
 		<a class="edu-brand" href="/" aria-label="${educationSiteTitle}首页">
-			<img class="edu-brand-mark" src="${educationLogo}" alt="">
-			<span class="edu-brand-divider" aria-hidden="true"></span>
-			<span class="edu-brand-copy">
-				<span class="edu-brand-name">${educationSiteTitle}</span>
-				<span class="cn">广州华夏职业学院</span>
-				<span class="en">School of Education, Guangzhou Huaxia Vocational College</span>
-			</span>
+			<img class="edu-brand-logo" src="${educationLogo}" alt="${educationSiteTitle}">
 		</a>
 		<div class="edu-top-tools">
 			<nav class="edu-top-links" aria-label="快捷入口">

+ 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=20261106-education-1">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261106-education-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261108-education-logo-1">
 </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=20261106-education-1">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261106-education-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261108-education-logo-1">
 </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=20261106-education-1">
-	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261106-education-8">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261108-education-logo-1">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>

+ 13 - 2
local-run/bin/sync-to-hxcs-prod.sh

@@ -1516,7 +1516,8 @@ SELECT IF(
 SELECT IF(
   (SELECT COUNT(*) FROM ${APPS_SCHEMA_SQL}.website
     WHERE id_code='hxcs_ffkjeducation_2026_site' AND dcode=61
-      AND name='教育学院-2026' AND domains='ffkj-education-2026.hxcs.feifan.net;')=1
+      AND name='教育学院-2026' AND domains='ffkj-education-2026.hxcs.feifan.net;'
+      AND logo='/main/ffkj-portal/education/education-logo.png')=1
   AND
   (SELECT COUNT(*) FROM ${APPS_SCHEMA_SQL}.website_navigation n
     JOIN ${APPS_SCHEMA_SQL}.website w ON w.websiteid=n.websiteid
@@ -1567,17 +1568,27 @@ SELECT IF(
 	verify_http "教育学院-2026 新闻动态列表可访问" "https://ffkj-education-2026.hxcs.feifan.net/xinwentonggao/xinwendongtai/"
 	verify_http "教育学院-2026 新闻正文可访问" "https://ffkj-education-2026.hxcs.feifan.net/education/EDU000000011.htm"
 	verify_http "教育学院-2026 站内搜索可访问" "https://ffkj-education-2026.hxcs.feifan.net/search?str=%E6%95%99%E8%82%B2"
-	verify_http "教育学院-2026 模板 CSS 可访问" "https://ffkj-education-2026.hxcs.feifan.net/main/ffkj-portal/education-college.css?v=20261106-education-8"
+	verify_http "教育学院-2026 模板 CSS 可访问" "https://ffkj-education-2026.hxcs.feifan.net/main/ffkj-portal/education-college.css?v=20261108-education-logo-1"
 	verify_http "教育学院-2026 院徽资源可访问" "https://ffkj-education-2026.hxcs.feifan.net/main/ffkj-portal/education/education-emblem.svg"
+	verify_http "教育学院-2026 VIS 组合标志可访问" "https://ffkj-education-2026.hxcs.feifan.net/main/ffkj-portal/education/education-logo.png"
 	verify_remote_file_checksum "教育学院首页 JSP 已部署" \
 		"web/upload/ffkj-template/education-index.jsp" \
 		"${PROJECT_ROOT}/WebRoot/web/upload/ffkj-template/education-index.jsp"
 	verify_remote_file_checksum "教育学院列表 JSP 已部署" \
 		"web/upload/ffkj-template/education-list.jsp" \
 		"${PROJECT_ROOT}/WebRoot/web/upload/ffkj-template/education-list.jsp"
+	verify_remote_file_checksum "教育学院页头 JSP 已部署" \
+		"web/upload/ffkj-template/education-header.jsp" \
+		"${PROJECT_ROOT}/WebRoot/web/upload/ffkj-template/education-header.jsp"
+	verify_remote_file_checksum "教育学院页脚 JSP 已部署" \
+		"web/upload/ffkj-template/education-footer.jsp" \
+		"${PROJECT_ROOT}/WebRoot/web/upload/ffkj-template/education-footer.jsp"
 	verify_remote_file_checksum "教育学院模板 CSS 已部署" \
 		"main/ffkj-portal/education-college.css" \
 		"${PROJECT_ROOT}/WebRoot/main/ffkj-portal/education-college.css"
+	verify_remote_file_checksum "教育学院 VIS 组合标志已部署" \
+		"main/ffkj-portal/education/education-logo.png" \
+		"${PROJECT_ROOT}/WebRoot/main/ffkj-portal/education/education-logo.png"
 	verify_remote_file_checksum "教育学院模板 Java 类已部署" \
 		"WEB-INF/classes/space/apps/moudules/website/template/ffkjeducation1/WebSiteArticleService.class" \
 		"${PROJECT_ROOT}/WebRoot/WEB-INF/classes/space/apps/moudules/website/template/ffkjeducation1/WebSiteArticleService.class"

+ 2 - 2
local-run/migrations/2026-11-06-001-education-college-template-and-site.sql

@@ -190,7 +190,7 @@ SELECT 61,
        4188,
        @edu_domain,
        '/',
-       '/main/ffkj-portal/education/education-emblem.svg',
+       '/main/ffkj-portal/education/education-logo.png',
        '#A3263C',
        '/main/ffkj-portal/education/education-emblem.svg',
        '教育学院',
@@ -215,7 +215,7 @@ SET dcode = 61,
     port = 4188,
     domains = @edu_domain,
     catalog_uri = '/',
-    logo = '/main/ffkj-portal/education/education-emblem.svg',
+    logo = '/main/ffkj-portal/education/education-logo.png',
     white_logo_file = '#A3263C',
     seo_icon = '/main/ffkj-portal/education/education-emblem.svg',
     seo_title = '教育学院',

+ 9 - 0
local-run/migrations/hxcs-mig-next/2026-11-08-001-education-logo.sql

@@ -0,0 +1,9 @@
+-- 教育学院-2026 站点启用 VIS 横向组合标志。
+-- 首页、栏目页和正文页由 education-header.jsp 从 website.logo 统一读取。
+
+SET NAMES utf8mb4;
+
+UPDATE sp_gzhx_apps_mig_next.website
+SET logo = '/main/ffkj-portal/education/education-logo.png'
+WHERE id_code = 'hxcs_ffkjeducation_2026_site'
+  AND dcode = 61;