1008010546_run.jsp 7.2 KB

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