education-footer.jsp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <%@ page pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  4. <c:set var="educationFooterTitle" value="${empty website.seoTitle ? website.name : website.seoTitle}"/>
  5. <c:set var="educationFooterLogo" value="${empty footerLogoUrl ? '/main/ffkj-portal/education/education-logo.png' : footerLogoUrl}"/>
  6. <footer class="edu-footer">
  7. <div class="edu-wrap edu-footer-main">
  8. <div>
  9. <div class="edu-footer-brand">
  10. <img src="${educationFooterLogo}" alt="${educationFooterTitle}">
  11. </div>
  12. <p>${empty footerAddressText ? '广东省广州市从化区城鳌大道东772号' : footerAddressText}</p>
  13. <p>${empty footerAdmissionPhoneText ? '招生咨询:020-8786 0282' : footerAdmissionPhoneText}</p>
  14. <p>${empty footerOfficePhoneText ? '办公电话:020-8786 0201' : footerOfficePhoneText}</p>
  15. <p>${empty footerEmailText ? '邮箱:jiaoyu@gzhxtc.edu.cn' : footerEmailText}</p>
  16. </div>
  17. <div>
  18. <h4>快速入口</h4>
  19. <div class="edu-footer-links">
  20. <c:forEach items="${educationFooterLinksNmv.articleList}" var="item"><a href="${item.url}" target="${item.target}" rel="noopener">${item.title}</a></c:forEach>
  21. <c:if test="${empty educationFooterLinksNmv.articleList}">
  22. <a href="/xueyuangaikuang/">学院概况</a>
  23. <a href="/xinwentonggao/">新闻通告</a>
  24. <a href="/jiaoyujiaoxue/">教育教学</a>
  25. <a href="/zhaoshengjiuye/">招生就业</a>
  26. <a href="/search">站内搜索</a>
  27. </c:if>
  28. </div>
  29. </div>
  30. <div>
  31. <h4>服务入口</h4>
  32. <div class="edu-service-grid">
  33. <a class="edu-service-link" href="${empty educationSchoolHomeUrl ? 'http://ffkj-school.localhost:4188/' : educationSchoolHomeUrl}" target="_self" rel="noopener">学校首页</a>
  34. <c:forEach items="${educationFooterLinksNmv.articleList}" var="item" begin="0" end="3"><a class="edu-service-link" href="${item.url}" target="${item.target}" rel="noopener">${item.title}</a></c:forEach>
  35. <c:if test="${fn:length(educationFooterLinksNmv.articleList) lt 4}"><a class="edu-service-link" href="/search">站内搜索</a></c:if>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="edu-footer-bottom">
  40. <div class="edu-wrap">
  41. <span>${empty footerCopyrightText ? '版权所有:广州华夏职业学院 教育学院' : footerCopyrightText}</span>
  42. <c:if test="${not empty footerBeianText}">&nbsp;|&nbsp;<a href="${empty footerBeianUrl ? 'https://beian.miit.gov.cn/' : footerBeianUrl}" target="_blank" rel="noopener">${footerBeianText}</a></c:if>
  43. </div>
  44. </div>
  45. </footer>
  46. <a class="edu-back-top" href="#top" aria-label="返回顶部" aria-hidden="true" tabindex="-1">↑</a>
  47. <script>
  48. (function () {
  49. var backTop = document.querySelector('.edu-back-top');
  50. if (!backTop) return;
  51. function sync() {
  52. var visible = window.scrollY > 600;
  53. backTop.classList.toggle('is-visible', visible);
  54. backTop.setAttribute('aria-hidden', visible ? 'false' : 'true');
  55. backTop.tabIndex = visible ? 0 : -1;
  56. }
  57. window.addEventListener('scroll', sync, { passive: true });
  58. sync();
  59. })();
  60. </script>