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

清理教育学院首页装饰图标并统一风采标题颜色

- 移除首页公告、栏目标题、教育教学与招生就业页签、非遗专区的装饰图标。\n- 调整非遗专区布局,避免移除图标后留下空白列。\n- 学院风采卡片标题明确设置为白色,修复全局链接颜色覆盖问题。\n- 更新教育学院首页 CSS 缓存版本为 20261123-home-cleanup-2。
非繁 6 дней назад
Родитель
Сommit
04702862f8

+ 2 - 4
WebRoot/main/ffkj-portal/education-college.css

@@ -103,7 +103,6 @@ ul{list-style:none}
 .edu-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding-bottom:11px;border-bottom:1px solid var(--edu-line);position:relative}
 .edu-section-head::after{content:"";position:absolute;left:0;bottom:-1px;width:74px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--edu-wine),var(--edu-wine-soft))}
 .edu-section-title{display:flex;align-items:center;gap:9px;font-family:"STZhongsong","Songti SC",serif;font-size:27px;font-weight:900;line-height:1.2;color:var(--edu-wine-deep);letter-spacing:.04em}
-.edu-section-title .ico{font-size:22px}
 .edu-section-more{font-size:13px;font-weight:700;color:var(--edu-wine)}
 .edu-section-more:hover{color:var(--edu-wine-deep)}
 
@@ -129,9 +128,8 @@ ul{list-style:none}
 .edu-empty{padding:28px 16px;border:1px dashed var(--edu-line);border-radius:7px;background:#fffaf9;text-align:center;color:var(--edu-muted);font-size:14px}
 
 /* 非遗专区 */
-.edu-heritage-zone{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 27px;border:1px solid #e7c5c5;border-radius:10px;background:linear-gradient(100deg,#fff8f3 0%,#f9e9e6 56%,#f2d4d5 100%);box-shadow:0 10px 26px rgba(122,28,44,.08);position:relative;overflow:hidden}
+.edu-heritage-zone{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 27px;border:1px solid #e7c5c5;border-radius:10px;background:linear-gradient(100deg,#fff8f3 0%,#f9e9e6 56%,#f2d4d5 100%);box-shadow:0 10px 26px rgba(122,28,44,.08);position:relative;overflow:hidden}
 .edu-heritage-zone::after{content:"";position:absolute;right:74px;top:-95px;width:220px;height:220px;border:1px solid rgba(163,38,60,.12);border-radius:50%}
-.edu-heritage-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(163,38,60,.18);border-radius:50%;background:rgba(255,255,255,.72);font-size:28px}
 .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}
@@ -163,7 +161,7 @@ body.education-page a.edu-zone-btn{position:relative;z-index:1;display:inline-fl
 .edu-gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
 .edu-gallery-card::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(74,13,24,.86))}
 .edu-gallery-card:hover img{transform:scale(1.05)}
-.edu-gallery-card span{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px;font-size:13px;line-height:1.65}
+.edu-gallery-card span{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px;color:#fff;font-size:13px;line-height:1.65}
 
 /* 页脚 */
 .edu-footer{margin-top:46px;background:linear-gradient(115deg,#651522 0%,#7e1d2e 58%,#96283e 100%);color:rgba(255,255,255,.82)}

+ 11 - 12
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=20261120-plain-carousel-1">
+	<link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261123-home-cleanup-2">
 </head>
 <body class="education-page">
 	<%@ include file="education-header.jsp"%>
@@ -65,7 +65,7 @@
 		<section class="edu-notice-section" aria-label="通知通告">
 			<div class="edu-wrap">
 				<div class="edu-notice">
-					<div class="edu-notice-label"><span aria-hidden="true">🔊</span>公告</div>
+					<div class="edu-notice-label">公告</div>
 					<div class="edu-notice-window">
 						<div class="edu-notice-list" data-education-notices>
 							<c:choose>
@@ -89,7 +89,7 @@
 		<section class="edu-section" aria-labelledby="education-news-title">
 			<div class="edu-wrap">
 				<div class="edu-section-head">
-					<h2 class="edu-section-title" id="education-news-title"><span class="ico" aria-hidden="true">📰</span>学院新闻</h2>
+					<h2 class="edu-section-title" id="education-news-title">学院新闻</h2>
 					<a class="edu-section-more" href="${newsHref}">更多 ›</a>
 				</div>
 				<div class="edu-news-card">
@@ -120,7 +120,6 @@
 		<section class="edu-section" aria-labelledby="education-heritage-title">
 			<div class="edu-wrap">
 				<div class="edu-heritage-zone">
-					<div class="edu-heritage-icon" aria-hidden="true">🏮</div>
 					<div class="edu-heritage-copy">
 						<h2 class="edu-section-title" id="education-heritage-title">非物质文化遗产传承基地</h2>
 						<c:choose>
@@ -139,13 +138,13 @@
 			<div class="edu-wrap edu-twin">
 				<article class="edu-panel">
 					<div class="edu-section-head">
-						<h2 class="edu-section-title"><span class="ico" aria-hidden="true">📘</span>教育教学</h2>
+						<h2 class="edu-section-title">教育教学</h2>
 						<a class="edu-section-more" href="${teachingHref}">更多 ›</a>
 					</div>
 					<div class="edu-tabs" role="tablist" aria-label="教育教学分类" data-education-tabgroup="teaching">
-						<button class="edu-tab is-active" id="education-teaching-tab-0" type="button" role="tab" aria-selected="true" aria-controls="education-teaching-panel-0" tabindex="0" data-education-tab="0">☰ 专业介绍</button>
-						<button class="edu-tab" id="education-teaching-tab-1" type="button" role="tab" aria-selected="false" aria-controls="education-teaching-panel-1" tabindex="-1" data-education-tab="1">▤ 教学动态</button>
-						<button class="edu-tab" id="education-teaching-tab-2" type="button" role="tab" aria-selected="false" aria-controls="education-teaching-panel-2" tabindex="-1" data-education-tab="2">🤝 校企合作</button>
+						<button class="edu-tab is-active" id="education-teaching-tab-0" type="button" role="tab" aria-selected="true" aria-controls="education-teaching-panel-0" tabindex="0" data-education-tab="0">专业介绍</button>
+						<button class="edu-tab" id="education-teaching-tab-1" type="button" role="tab" aria-selected="false" aria-controls="education-teaching-panel-1" tabindex="-1" data-education-tab="1">教学动态</button>
+						<button class="edu-tab" id="education-teaching-tab-2" type="button" role="tab" aria-selected="false" aria-controls="education-teaching-panel-2" tabindex="-1" data-education-tab="2">校企合作</button>
 					</div>
 					<div class="edu-tab-panel is-active" id="education-teaching-panel-0" role="tabpanel" aria-labelledby="education-teaching-tab-0" data-education-panel="0">
 						<ul class="edu-mini-list">
@@ -170,12 +169,12 @@
 
 				<article class="edu-panel">
 					<div class="edu-section-head">
-						<h2 class="edu-section-title"><span class="ico" aria-hidden="true">🎓</span>招生就业</h2>
+						<h2 class="edu-section-title">招生就业</h2>
 						<a class="edu-section-more" href="${admissionHref}">更多 ›</a>
 					</div>
 					<div class="edu-tabs" role="tablist" aria-label="招生就业分类" data-education-tabgroup="admission">
-						<button class="edu-tab is-active" id="education-admission-tab-0" type="button" role="tab" aria-selected="true" aria-controls="education-admission-panel-0" tabindex="0" data-education-tab="0">📢 招生工作</button>
-						<button class="edu-tab" id="education-admission-tab-1" type="button" role="tab" aria-selected="false" aria-controls="education-admission-panel-1" tabindex="-1" data-education-tab="1">💼 就业工作</button>
+						<button class="edu-tab is-active" id="education-admission-tab-0" type="button" role="tab" aria-selected="true" aria-controls="education-admission-panel-0" tabindex="0" data-education-tab="0">招生工作</button>
+						<button class="edu-tab" id="education-admission-tab-1" type="button" role="tab" aria-selected="false" aria-controls="education-admission-panel-1" tabindex="-1" data-education-tab="1">就业工作</button>
 					</div>
 					<div class="edu-tab-panel is-active" id="education-admission-panel-0" role="tabpanel" aria-labelledby="education-admission-tab-0" data-education-panel="0">
 						<ul class="edu-mini-list">
@@ -197,7 +196,7 @@
 		<section class="edu-section" aria-labelledby="education-gallery-title">
 			<div class="edu-wrap">
 				<div class="edu-section-head">
-					<h2 class="edu-section-title" id="education-gallery-title"><span class="ico" aria-hidden="true">☆</span>学院风采</h2>
+					<h2 class="edu-section-title" id="education-gallery-title">学院风采</h2>
 					<a class="edu-section-more" href="${galleryHref}">更多 ›</a>
 				</div>
 				<div class="edu-gallery">