| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- <%@ 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"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
- <c:set var="educationDefaultImage" value="/main/ffkj-portal/assets/official/view-hero.jpg"/>
- <c:set var="aboutHref" value="/xueyuangaikuang/"/>
- <c:set var="newsHref" value="/xinwentonggao/xinwendongtai/"/>
- <c:set var="noticeHref" value="/xinwentonggao/tongzhitonggao/"/>
- <c:set var="teachingHref" value="/jiaoyujiaoxue/"/>
- <c:set var="heritageHref" value="/feiyichuanchengjidi/"/>
- <c:set var="admissionHref" value="/zhaoshengjiuye/"/>
- <c:set var="galleryHref" value="/xueyuanfengcai/"/>
- <c:forEach items="${navList}" var="navItem">
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_ABOUT'}"><c:set var="aboutHref" value="${navItem.href}"/></c:if>
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_NEWS_DYNAMIC'}"><c:set var="newsHref" value="${navItem.href}"/></c:if>
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_NEWS_NOTICE'}"><c:set var="noticeHref" value="${navItem.href}"/></c:if>
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_TEACHING'}"><c:set var="teachingHref" value="${navItem.href}"/></c:if>
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_HERITAGE'}"><c:set var="heritageHref" value="${navItem.href}"/></c:if>
- <c:if test="${navItem.idcard eq 'FFKJ_EDU_ADMISSION'}"><c:set var="admissionHref" value="${navItem.href}"/></c:if>
- </c:forEach>
- <c:if test="${not empty educationNewsNmv.navigationMap.href}"><c:set var="newsHref" value="${educationNewsNmv.navigationMap.href}"/></c:if>
- <c:if test="${not empty educationNoticeNmv.navigationMap.href}"><c:set var="noticeHref" value="${educationNoticeNmv.navigationMap.href}"/></c:if>
- <c:if test="${not empty educationGalleryNmv.navigationMap.href}"><c:set var="galleryHref" value="${educationGalleryNmv.navigationMap.href}"/></c:if>
- <!doctype html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <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=20261109-education-2">
- <link rel="stylesheet" href="/main/ffkj-portal/education-college.css?v=20261123-home-cleanup-3">
- </head>
- <body class="education-page">
- <%@ include file="education-header.jsp"%>
- <main>
- <h1 class="edu-sr-only">${empty website.seoTitle ? website.name : website.seoTitle}</h1>
- <section class="edu-hero" data-education-hero aria-label="教育学院首页轮播" aria-roledescription="轮播">
- <div class="edu-hero-track">
- <c:choose>
- <c:when test="${not empty educationHeroNmv.articleList}">
- <c:forEach items="${educationHeroNmv.articleList}" var="item" varStatus="vs">
- <a class="edu-hero-slide ${vs.first ? 'is-active' : ''}" data-education-hero-slide href="${empty item.url ? aboutHref : item.url}" target="${item.target}" rel="noopener" aria-label="${item.title}" aria-hidden="${vs.first ? 'false' : 'true'}" tabindex="${vs.first ? '0' : '-1'}">
- <img class="edu-hero-bg" src="${empty item.thumbnail ? educationDefaultImage : item.thumbnail}" alt="">
- </a>
- </c:forEach>
- </c:when>
- <c:otherwise>
- <a class="edu-hero-slide is-active" data-education-hero-slide href="${aboutHref}" aria-label="走进教育学院" aria-hidden="false" tabindex="0">
- <img class="edu-hero-bg" src="${educationDefaultImage}" alt="">
- </a>
- </c:otherwise>
- </c:choose>
- </div>
- <c:if test="${fn:length(educationHeroNmv.articleList) > 1}">
- <button class="edu-hero-arrow prev" type="button" data-education-hero-prev aria-label="上一张">‹</button>
- <button class="edu-hero-arrow next" type="button" data-education-hero-next aria-label="下一张">›</button>
- <div class="edu-hero-dots" aria-label="首页轮播切换">
- <c:forEach items="${educationHeroNmv.articleList}" var="item" varStatus="vs"><button class="edu-hero-dot ${vs.first ? 'is-active' : ''}" type="button" data-education-hero-dot="${vs.index}" aria-label="第 ${vs.count} 张轮播图" aria-pressed="${vs.first ? 'true' : 'false'}"></button></c:forEach>
- </div>
- </c:if>
- </section>
- <section class="edu-notice-section" aria-label="通知通告">
- <div class="edu-wrap">
- <div class="edu-notice">
- <div class="edu-notice-label">公告</div>
- <div class="edu-notice-window">
- <div class="edu-notice-list" data-education-notices>
- <c:choose>
- <c:when test="${not empty educationNoticeNmv.articleList}">
- <c:forEach items="${educationNoticeNmv.articleList}" var="item" varStatus="vs">
- <article class="edu-notice-item ${vs.first ? 'is-active' : ''}" data-education-notice>
- <a href="${item.url}" target="${item.target}" rel="noopener">· ${item.title}</a>
- <time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time>
- </article>
- </c:forEach>
- </c:when>
- <c:otherwise><article class="edu-notice-item is-active" data-education-notice><a href="${noticeHref}">· 通知通告栏目暂无内容,请在后台发布文章。</a><time>—</time></article></c:otherwise>
- </c:choose>
- </div>
- </div>
- <a class="edu-more" href="${noticeHref}">更多 ›</a>
- </div>
- </div>
- </section>
- <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">学院新闻</h2>
- <a class="edu-section-more" href="${newsHref}">更多 ›</a>
- </div>
- <div class="edu-news-card">
- <c:choose>
- <c:when test="${not empty educationNewsNmv.articleList}">
- <c:forEach items="${educationNewsNmv.articleList}" var="item" varStatus="vs" begin="0" end="0">
- <article class="edu-feature">
- <a class="edu-feature-image" href="${item.url}" target="${item.target}" rel="noopener"><img src="${empty item.thumbnail ? educationDefaultImage : item.thumbnail}" alt="${item.title}"></a>
- <div class="edu-feature-copy">
- <div class="edu-date-badge"><b><fmt:formatDate value="${item.release_time}" pattern="dd"/></b>/ <fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></div>
- <h3><a href="${item.url}" target="${item.target}" rel="noopener">${item.title}</a></h3>
- <p>${empty item.desc ? '学院坚持立德树人根本任务,持续推进教育教学改革与师范人才培养。' : item.desc}</p>
- </div>
- </article>
- </c:forEach>
- <ul class="edu-news-list">
- <c:forEach items="${educationNewsNmv.articleList}" var="item" varStatus="vs" begin="1" end="10">
- <li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM-dd"/></time></a></li>
- </c:forEach>
- </ul>
- </c:when>
- <c:otherwise><div class="edu-empty">学院新闻栏目暂无内容,请在后台发布文章。</div></c:otherwise>
- </c:choose>
- </div>
- </div>
- </section>
- <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>
- <c:when test="${not empty educationHeritageIntroNmv.articleList}">
- <c:forEach items="${educationHeritageIntroNmv.articleList}" var="item" begin="0" end="0"><p>${empty item.desc ? item.title : item.desc}</p></c:forEach>
- </c:when>
- <c:otherwise><p>以“传艺·传心·传师道”为理念,集技艺传习、课程研发、师资培训、研学展示于一体,打造岭南非遗融入教师教育的实践高地。</p></c:otherwise>
- </c:choose>
- </div>
- <a class="edu-zone-btn" href="${heritageHref}">进入基地专区 ›</a>
- </div>
- </div>
- </section>
- <section class="edu-section" aria-label="教育教学与招生就业">
- <div class="edu-wrap edu-twin">
- <article class="edu-panel">
- <div class="edu-section-head">
- <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>
- </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">
- <c:forEach items="${educationMajorNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM"/></time></a></li></c:forEach>
- <c:if test="${empty educationMajorNmv.articleList}"><li><a href="${teachingHref}"><span>专业介绍栏目暂无内容</span><time>—</time></a></li></c:if>
- </ul>
- </div>
- <div class="edu-tab-panel" id="education-teaching-panel-1" role="tabpanel" aria-labelledby="education-teaching-tab-1" data-education-panel="1" hidden>
- <ul class="edu-mini-list">
- <c:forEach items="${educationTeachingNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM"/></time></a></li></c:forEach>
- <c:if test="${empty educationTeachingNmv.articleList}"><li><a href="${teachingHref}"><span>教学动态栏目暂无内容</span><time>—</time></a></li></c:if>
- </ul>
- </div>
- <div class="edu-tab-panel" id="education-teaching-panel-2" role="tabpanel" aria-labelledby="education-teaching-tab-2" data-education-panel="2" hidden>
- <ul class="edu-mini-list">
- <c:forEach items="${educationCooperationNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM"/></time></a></li></c:forEach>
- <c:if test="${empty educationCooperationNmv.articleList}"><li><a href="${teachingHref}"><span>校企合作栏目暂无内容</span><time>—</time></a></li></c:if>
- </ul>
- </div>
- <a class="edu-panel-more" href="${teachingHref}">进入教育教学 ›</a>
- </article>
- <article class="edu-panel">
- <div class="edu-section-head">
- <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>
- </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">
- <c:forEach items="${educationAdmissionNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM"/></time></a></li></c:forEach>
- <c:if test="${empty educationAdmissionNmv.articleList}"><li><a href="${admissionHref}"><span>招生工作栏目暂无内容</span><time>—</time></a></li></c:if>
- </ul>
- </div>
- <div class="edu-tab-panel" id="education-admission-panel-1" role="tabpanel" aria-labelledby="education-admission-tab-1" data-education-panel="1" hidden>
- <ul class="edu-mini-list">
- <c:forEach items="${educationEmploymentNmv.articleList}" var="item"><li><a href="${item.url}" target="${item.target}" rel="noopener"><span>${item.title}</span><time><fmt:formatDate value="${item.release_time}" pattern="yyyy-MM"/></time></a></li></c:forEach>
- <c:if test="${empty educationEmploymentNmv.articleList}"><li><a href="${admissionHref}"><span>就业工作栏目暂无内容</span><time>—</time></a></li></c:if>
- </ul>
- </div>
- <a class="edu-panel-more" href="${admissionHref}">进入招生就业 ›</a>
- </article>
- </div>
- </section>
- <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">学院风采</h2>
- <a class="edu-section-more" href="${galleryHref}">更多 ›</a>
- </div>
- <div class="edu-gallery">
- <c:choose>
- <c:when test="${not empty educationGalleryNmv.articleList}">
- <c:forEach items="${educationGalleryNmv.articleList}" var="item">
- <a class="edu-gallery-card" href="${item.url}" target="${item.target}" rel="noopener"><img src="${empty item.thumbnail ? educationDefaultImage : item.thumbnail}" alt="${item.title}"><span>${item.title}</span></a>
- </c:forEach>
- </c:when>
- <c:otherwise>
- <a class="edu-gallery-card" href="${galleryHref}"><img src="/main/ffkj-portal/assets/official/view-4.png" alt="诵读经典传文脉"><span>诵读经典传文脉——教育学院中华经典诵写讲大赛决赛现场</span></a>
- <a class="edu-gallery-card" href="${galleryHref}"><img src="/main/ffkj-portal/assets/official/campus-3.jpg" alt="学院田径运动会"><span>跃动青春,燃动赛场——学院第21届田径运动会开幕式</span></a>
- <a class="edu-gallery-card" href="${galleryHref}"><img src="/main/ffkj-portal/assets/programs/dance-education.png" alt="非遗课堂"><span>指尖非遗:广彩绘制课堂上的“小传承人”们</span></a>
- <a class="edu-gallery-card" href="${galleryHref}"><img src="/main/ffkj-portal/assets/official/view-5.jpg" alt="支教活动"><span>情系支教,传递温暖——赴山区结对学校送教活动</span></a>
- </c:otherwise>
- </c:choose>
- </div>
- </div>
- </section>
- </main>
- <%@ include file="education-footer.jsp"%>
- <script>
- (function () {
- var root = document.querySelector('[data-education-hero]');
- if (!root) return;
- var track = root.querySelector('.edu-hero-track');
- var slides = Array.prototype.slice.call(root.querySelectorAll('[data-education-hero-slide]'));
- var dots = Array.prototype.slice.call(root.querySelectorAll('[data-education-hero-dot]'));
- var prev = root.querySelector('[data-education-hero-prev]');
- var next = root.querySelector('[data-education-hero-next]');
- if (!track || slides.length < 2) return;
- var current = 0;
- var timer = null;
- var reduceMotion = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
- function activate(index) {
- current = (index + slides.length) % slides.length;
- track.style.transform = 'translateX(' + (-current * 100) + '%)';
- slides.forEach(function (slide, i) {
- slide.classList.toggle('is-active', i === current);
- slide.setAttribute('aria-hidden', i === current ? 'false' : 'true');
- slide.tabIndex = i === current ? 0 : -1;
- });
- dots.forEach(function (dot, i) { dot.classList.toggle('is-active', i === current); dot.setAttribute('aria-pressed', i === current ? 'true' : 'false'); });
- }
- function stop() { if (timer) { window.clearInterval(timer); timer = null; } }
- function start() { stop(); if (!reduceMotion) timer = window.setInterval(function () { activate(current + 1); }, 5600); }
- if (prev) prev.addEventListener('click', function () { activate(current - 1); start(); });
- if (next) next.addEventListener('click', function () { activate(current + 1); start(); });
- dots.forEach(function (dot) { dot.addEventListener('click', function () { activate(Number(dot.getAttribute('data-education-hero-dot'))); start(); }); });
- root.addEventListener('mouseenter', stop);
- root.addEventListener('mouseleave', start);
- root.addEventListener('focusin', stop);
- root.addEventListener('focusout', function (event) { if (!root.contains(event.relatedTarget)) start(); });
- activate(0);
- start();
- })();
- (function () {
- var items = Array.prototype.slice.call(document.querySelectorAll('[data-education-notice]'));
- if (items.length < 2) return;
- if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
- var current = 0;
- window.setInterval(function () {
- items[current].classList.remove('is-active');
- current = (current + 1) % items.length;
- items[current].classList.add('is-active');
- }, 4200);
- })();
- (function () {
- Array.prototype.forEach.call(document.querySelectorAll('.edu-tabs'), function (tabbar) {
- var panelRoot = tabbar.parentNode;
- var tabs = Array.prototype.slice.call(tabbar.querySelectorAll('[data-education-tab]'));
- var panels = Array.prototype.slice.call(panelRoot.querySelectorAll('[data-education-panel]'));
- function activate(index, focusTab) {
- tabs.forEach(function (item, i) {
- var active = i === index;
- item.classList.toggle('is-active', active);
- item.setAttribute('aria-selected', active ? 'true' : 'false');
- item.tabIndex = active ? 0 : -1;
- });
- panels.forEach(function (panel, i) {
- var active = i === index;
- panel.classList.toggle('is-active', active);
- panel.hidden = !active;
- });
- if (focusTab && tabs[index]) tabs[index].focus();
- }
- tabs.forEach(function (tab) {
- tab.addEventListener('click', function () { activate(Number(tab.getAttribute('data-education-tab')), false); });
- tab.addEventListener('keydown', function (event) {
- var index = Number(tab.getAttribute('data-education-tab'));
- var next = index;
- if (event.key === 'ArrowRight') next = (index + 1) % tabs.length;
- else if (event.key === 'ArrowLeft') next = (index - 1 + tabs.length) % tabs.length;
- else if (event.key === 'Home') next = 0;
- else if (event.key === 'End') next = tabs.length - 1;
- else return;
- event.preventDefault();
- activate(next, true);
- });
- });
- });
- })();
- </script>
- </body>
- </html>
|