1009710646_edit.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <!-- 头部 -->
  2. <div class="header">
  3. <div>
  4. <div class="header-top">
  5. <div class="header-top-bg"></div>
  6. <div class="header-top-left">
  7. <!-- <c:forEach items="${dingbulianjie.articleList}" var="item" varStatus="status">
  8. <span>
  9. <a href="${item.url}" target="${item.target}">
  10. ${item.title}
  11. ${dingbulianjie.articleList[dingbulianjie.articleList.size() - status.index - 1].title}
  12. </a>
  13. </span>
  14. </c:forEach> -->
  15. <c:forEach begin="0" end="${dingbulianjie.articleList.size()-1}" var="index">
  16. <span>
  17. <a href="${dingbulianjie.articleList[dingbulianjie.articleList.size()-1-index].url}"
  18. target="${dingbulianjie.articleList[dingbulianjie.articleList.size()-1-index].target}">
  19. ${dingbulianjie.articleList[dingbulianjie.articleList.size()-1-index].title}
  20. </a>
  21. </span>
  22. </c:forEach>
  23. </div>
  24. </div>
  25. <div class="header-img">
  26. <!-- ${logo} -->
  27. <c:forEach items="${logo.articleList}" var="item" varStatus="status">
  28. <!-- ${item} -->
  29. <img src="${item.thumbnail}" alt=""/>
  30. </c:forEach>
  31. <!-- <img src="/main/dist/websites/images/jjgl/logo.png" alt="" /> -->
  32. <!-- <div class="header-img-line"></div>
  33. <img src="/main/dist/websites/images/gjjl/gjjlzx.png" alt=""> -->
  34. </div>
  35. <div class="mobile-nav-icon">
  36. <span></span>
  37. <span></span>
  38. <span></span>
  39. </div>
  40. </div>
  41. <div>
  42. <!-- 导航 -->
  43. <div class="header-nav">
  44. <ul>
  45. <c:forEach items="${navList}" var="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. </ul>
  135. </div>
  136. </div>