1005510322_run.jsp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <!-- 头部 -->
  4. <div class="header">
  5. <div class="header-top">
  6. <div class="wrap">
  7. <span>
  8. 欢迎访问广州华夏职业学院继续教育学院!
  9. </span>
  10. <a href="${homeWebsiteDomain.href}" target="${homeWebsiteDomain.target}" class="header-right">【${homeWebsiteDomain.title}】</a>
  11. </div>
  12. </div>
  13. <div class="wrap">
  14. <div class="header-img">
  15. <img src="/main/dist/websites/images/header/header-jxjy.jpg" alt="">
  16. <div class="header-mesg">
  17. <p>专本同读:刘老师、潘老师 020-87860489</p>
  18. <p>成人教育:刘老师、杨老师 020-87863516</p>
  19. <p>院长办公室 020-87868945</p>
  20. </div>
  21. <div class="mobile-nav-icon">
  22. <span></span>
  23. <span></span>
  24. <span></span>
  25. </div>
  26. </div>
  27. </div>
  28. <!-- 导航 -->
  29. <div class="header-nav">
  30. <ul class="wrap">
  31. <c:forEach items="${navList}" var="item">
  32. <li>
  33. <c:if test="${item.existChildren == '0'}">
  34. <a href="${item.href}" target="${item.target}">
  35. ${item.name}
  36. </a>
  37. </c:if>
  38. <c:if test="${item.existChildren == '1'}">
  39. <a href="${item.href}" target="${item.target}">
  40. ${item.name}
  41. <span>></span>
  42. </a>
  43. <ul class="nav-secondLevel">
  44. <c:forEach items="${item.children}" var="item2">
  45. <li>
  46. <c:if test="${item2.existChildren == '0'}">
  47. <a href="${item2.href}" target="${item2.target}">
  48. ${item2.name}
  49. </a>
  50. </c:if>
  51. <c:if test="${item2.existChildren == '1'}">
  52. <a href="${item2.href}" target="${item2.target}">
  53. ${item2.name}
  54. <span>></span>
  55. </a>
  56. <ul class="nav-threeLevel">
  57. <c:forEach items="${item2.children}" var="item3">
  58. <li>
  59. <a href="${item3.href}" target="${item3.target}">
  60. ${item3.name}
  61. </a>
  62. </li>
  63. </c:forEach>
  64. </ul>
  65. </c:if>
  66. </li>
  67. </c:forEach>
  68. </ul>
  69. </c:if>
  70. </li>
  71. </c:forEach>
  72. </ul>
  73. </div>
  74. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  75. <div class="mobile-header-nav">
  76. <ul class="wrap">
  77. <c:forEach items="${navList}" var="item">
  78. <li>
  79. <c:if test="${item.existChildren == '0'}">
  80. <a href="${item.href}" target="${item.target}">
  81. ${item.name}
  82. </a>
  83. </c:if>
  84. <c:if test="${item.existChildren == '1'}">
  85. <a href="#">
  86. ${item.name}
  87. <span>></span>
  88. </a>
  89. <ul class="nav-secondLevel">
  90. <c:forEach items="${item.children}" var="item2">
  91. <li>
  92. <c:if test="${item2.existChildren == '0'}">
  93. <a href="${item2.href}" target="${item2.target}">
  94. ${item2.name}
  95. </a>
  96. </c:if>
  97. <c:if test="${item2.existChildren == '1'}">
  98. <a href="#">
  99. ${item2.name}
  100. <span>></span>
  101. </a>
  102. <ul class="nav-threeLevel">
  103. <c:forEach items="${item2.children}" var="item3">
  104. <li>
  105. <a href="${item3.href}" target="${item3.target}">
  106. ${item3.name}
  107. </a>
  108. </li>
  109. </c:forEach>
  110. </ul>
  111. </c:if>
  112. </li>
  113. </c:forEach>
  114. </ul>
  115. </c:if>
  116. </li>
  117. </c:forEach>
  118. </ul>
  119. </div>
  120. </div>