xingong-footer.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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="xgFooterLogo" value="${website.logo}"/>
  5. <c:if test="${empty xgFooterLogo and not empty deptFooterLogoNmv.articleList[0].thumbnail}"><c:set var="xgFooterLogo" value="${deptFooterLogoNmv.articleList[0].thumbnail}"/></c:if>
  6. <c:set var="xgCopyright" value=""/>
  7. <c:forEach items="${deptFooterAddressNmv.articleList}" var="item">
  8. <c:if test="${fn:startsWith(item.title, '版权所有')}"><c:set var="xgCopyright" value="${item.title}"/></c:if>
  9. </c:forEach>
  10. <footer class="footer">
  11. <div class="wrap">
  12. <div class="info">
  13. <h4>${website.name}</h4>
  14. <c:if test="${not empty xgFooterLogo}"><img class="footer-logo-image" src="${xgFooterLogo}" alt="${website.name}"></c:if>
  15. <p>
  16. <c:forEach items="${deptFooterAddressNmv.articleList}" var="item">
  17. <c:if test="${fn:startsWith(item.title, '地址')}">
  18. ${item.title}<br>
  19. <c:if test="${not empty item.desc and item.desc ne item.title}">${item.desc}<br></c:if>
  20. </c:if>
  21. </c:forEach>
  22. </p>
  23. </div>
  24. <div>
  25. <h4>快捷入口</h4>
  26. <div class="links">
  27. <c:forEach items="${deptTopLinksNmv.articleList}" var="item"><a href="${item.url}" target="${item.target}">${item.title}</a></c:forEach>
  28. <c:if test="${empty deptTopLinksNmv.articleList}"><a href="/">返回首页</a></c:if>
  29. </div>
  30. </div>
  31. <div>
  32. <h4>关注我们</h4>
  33. <div class="qr">
  34. <c:forEach items="${deptFooterImageNmv.articleList}" var="item" varStatus="vs">
  35. <c:if test="${vs.count le 2 and not empty item.thumbnail}">
  36. <div class="it">
  37. <div class="box"><img src="${item.thumbnail}" alt="${vs.first ? '学院公众号' : '招生咨询'}"></div>
  38. <span>${vs.first ? '学院公众号' : '招生咨询'}</span>
  39. </div>
  40. </c:if>
  41. </c:forEach>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="cr"><div class="wrap">${empty xgCopyright ? '版权所有 © 广州华夏职业学院' : xgCopyright}</div></div>
  46. </footer>