1009410620_run.jsp 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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>
  6. <div class="header-top">
  7. <div class="header-top-bg"></div>
  8. <div class="header-top">
  9. <c:forEach items="${diy_UgdqBPueZcRaNmv.articleList}" var="item">
  10. <span>
  11. <a href="${item.href}" target="${item.target}">
  12. ${item.title}
  13. </a>
  14. </span>
  15. </c:forEach>
  16. </div>
  17. </div>
  18. <div class="header-img">
  19. <img src="/main/dist/websites/images/gjjl/logo.png" alt="">
  20. <div class="header-img-line"></div>
  21. <img src="/main/dist/websites/images/gjjl/gjjlzx.png" alt="">
  22. </div>
  23. <div class="mobile-nav-icon">
  24. <span></span>
  25. <span></span>
  26. <span></span>
  27. </div>
  28. </div>
  29. <div>
  30. <!-- 导航 -->
  31. <div class="header-nav">
  32. <ul>
  33. <c:forEach items="${navList}" var="item">
  34. <li>
  35. <c:if test="${item.existChildren == '0'}">
  36. <a href="${item.href}" target="${item.target}">
  37. ${item.name}
  38. </a>
  39. </c:if>
  40. <c:if test="${item.existChildren == '1'}">
  41. <a href="${item.href}" target="${item.target}">
  42. ${item.name}
  43. <span>></span>
  44. </a>
  45. <ul class="nav-secondLevel">
  46. <c:forEach items="${item.children}" var="item2">
  47. <li>
  48. <c:if test="${item2.existChildren == '0'}">
  49. <a href="${item2.href}" target="${item2.target}">
  50. ${item2.name}
  51. </a>
  52. </c:if>
  53. <c:if test="${item2.existChildren == '1'}">
  54. <a href="${item2.href}" target="${item2.target}">
  55. ${item2.name}
  56. <span>></span>
  57. </a>
  58. <ul class="nav-threeLevel">
  59. <c:forEach items="${item2.children}" var="item3">
  60. <li>
  61. <a href="${item3.href}" target="${item3.target}">
  62. ${item3.name}
  63. </a>
  64. </li>
  65. </c:forEach>
  66. </ul>
  67. </c:if>
  68. </li>
  69. </c:forEach>
  70. </ul>
  71. </c:if>
  72. </li>
  73. </c:forEach>
  74. </ul>
  75. </div>
  76. </div>
  77. <div class="header-top-bg" style="transform: rotate(180deg);"></div>
  78. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  79. <div class="mobile-header-nav">
  80. <ul>
  81. <c:forEach items="${navList}" var="item">
  82. <li>
  83. <c:if test="${item.existChildren == '0'}">
  84. <a href="${item.href}" target="${item.target}">
  85. ${item.name}
  86. </a>
  87. </c:if>
  88. <c:if test="${item.existChildren == '1'}">
  89. <a href="#">
  90. ${item.name}
  91. <span>></span>
  92. </a>
  93. <ul class="nav-secondLevel">
  94. <c:forEach items="${item.children}" var="item2">
  95. <li>
  96. <c:if test="${item2.existChildren == '0'}">
  97. <a href="${item2.href}" target="${item2.target}">
  98. ${item2.name}
  99. </a>
  100. </c:if>
  101. <c:if test="${item2.existChildren == '1'}">
  102. <a href="#">
  103. ${item2.name}
  104. <span>></span>
  105. </a>
  106. <ul class="nav-threeLevel">
  107. <c:forEach items="${item2.children}" var="item3">
  108. <li>
  109. <a href="${item3.href}" target="${item3.target}">
  110. ${item3.name}
  111. </a>
  112. </li>
  113. </c:forEach>
  114. </ul>
  115. </c:if>
  116. </li>
  117. </c:forEach>
  118. </ul>
  119. </c:if>
  120. </li>
  121. </c:forEach>
  122. </ul>
  123. </div>
  124. </div>