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

收口教育学院模板页头页脚样式

补齐教育学院模板当前本地已验收的页头页脚样式差异,使教育站点页面文件与生产运行文件保持一致。\n保留现有轮播改造;仅调整教育站点相关品牌区、页脚图片、按钮选择器和响应式规则。

Validation:\n- 本地教育学院首页 HTTP 200,轮播 3 张、箭头 2 个、圆点 3 个。\n- 已确认动态装饰、叠加文案和场景元素均不存在。\n- education-college.css 与 education-index.jsp 通过 git diff --check。
非繁 1 неделя назад
Родитель
Сommit
02613186d5

+ 13 - 7
WebRoot/main/ffkj-portal/education-college.css

@@ -29,7 +29,11 @@ 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;color:#fff;min-width:0}
+.edu-brand{display:flex;align-items:center;gap:14px;color:#fff;min-width:0}
+.edu-brand-mark{display:block;width:54px;height:54px;padding:5px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(255,255,255,.1);object-fit:contain;filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
+.edu-brand-copy{display:flex;flex-direction:column;line-height:1.12;min-width:0}
+.edu-brand-name{color:#fff;font-family:"Noto Serif SC","STZhongsong","Songti SC",serif;font-size:23px;font-weight:900;letter-spacing:.08em}
+.edu-brand-en{margin-top:5px;color:rgba(255,255,255,.8);font-family:Arial,sans-serif;font-size:10px;font-style:normal;font-weight:700;letter-spacing:.18em}
 .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}
@@ -131,7 +135,7 @@ ul{list-style:none}
 .edu-heritage-copy{min-width:0}
 .edu-heritage-copy h3{font-family:"STZhongsong","Songti SC",serif;font-size:22px;color:var(--edu-wine-deep)}
 .edu-heritage-copy p{display:-webkit-box;overflow:hidden;margin-top:4px;color:#6f4c4d;font-size:13.5px;line-height:1.85;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
-.edu-zone-btn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:128px;height:38px;padding:0 18px;border-radius:20px;background:var(--edu-wine);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
+body.education-page a.edu-zone-btn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:128px;height:38px;padding:0 18px;border-radius:20px;background:var(--edu-wine);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
 .edu-zone-btn:hover{background:var(--edu-wine-deep)}
 
 /* 教育教学 / 招生就业双栏 */
@@ -166,7 +170,7 @@ ul{list-style:none}
 .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{margin-bottom:16px}
-.edu-footer-brand img{width:min(300px,100%);height:auto;object-fit:contain}
+.edu-footer-brand img{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-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}
@@ -274,7 +278,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-logo{width:min(330px,44vw);max-height:64px}
+  .edu-brand-logo,.edu-footer-brand img{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)}
@@ -283,7 +287,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-logo{width:min(290px,52vw);max-height:60px}
+  .edu-brand-logo,.edu-footer-brand img{width:min(290px,52vw);max-height:60px}
   .edu-top-links{display:none}
   .edu-top-search input{width:132px}
   .edu-hero{height:420px}
@@ -300,7 +304,9 @@ ul{list-style:none}
 }
 @media (max-width:680px){
   .edu-topbar-inner{min-height:92px}
-  .edu-brand-logo{width:min(230px,62vw);max-height:50px}
+  .edu-brand-logo,.edu-footer-brand img{width:min(230px,62vw);max-height:50px}
+  .edu-brand-mark{width:48px;height:48px}
+  .edu-brand-name{font-size:21px}
   .edu-top-search input{display:none}
   .edu-top-search button{width:38px}
   .edu-nav-toggle{display:flex}
@@ -335,7 +341,7 @@ ul{list-style:none}
   .edu-back-top{right:12px;bottom:18px}
 }
 @media (max-width:430px){
-  .edu-brand-logo{width:min(190px,64vw)}
+  .edu-brand-logo,.edu-footer-brand img{width:min(190px,64vw)}
   .edu-hero{height:340px}
   .edu-hero-arrow{display:none}
   .edu-section-title{font-size:23px}

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

@@ -29,7 +29,7 @@
 	<meta name="keywords" content="${website.seoKeywords}">
 	<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="icon" href="${empty website.seoIcon ? website.logo : website.seoIcon}?v=20261109-education-2">
 	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261120-plain-carousel-1">
 </head>
 <body class="education-page">