1009410620_edit.jsp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!-- 头部 -->
  2. <div class="header">
  3. <div>
  4. <div class="header-top">
  5. <div class="header-top-bg"></div>
  6. <div class="header-top">
  7. <c:forEach items="${diy_UgdqBPueZcRaNmv.articleList}" var="item">
  8. <span>
  9. <a href="${item.href}" target="${item.target}">
  10. ${item.title}
  11. </a>
  12. </span>
  13. </c:forEach>
  14. </div>
  15. </div>
  16. <div class="header-img">
  17. <img src="/main/dist/websites/images/gjjl/logo.png" alt="">
  18. <div class="header-img-line"></div>
  19. <img src="/main/dist/websites/images/gjjl/gjjlzx.png" alt="">
  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>
  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. </div>
  75. <div class="header-top-bg" style="transform: rotate(180deg);"></div>
  76. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  77. <div class="mobile-header-nav">
  78. <ul>
  79. <c:forEach items="${navList}" var="item">
  80. <li>
  81. <c:if test="${item.existChildren == '0'}">
  82. <a href="${item.href}" target="${item.target}">
  83. ${item.name}
  84. </a>
  85. </c:if>
  86. <c:if test="${item.existChildren == '1'}">
  87. <a href="#">
  88. ${item.name}
  89. <span>></span>
  90. </a>
  91. <ul class="nav-secondLevel">
  92. <c:forEach items="${item.children}" var="item2">
  93. <li>
  94. <c:if test="${item2.existChildren == '0'}">
  95. <a href="${item2.href}" target="${item2.target}">
  96. ${item2.name}
  97. </a>
  98. </c:if>
  99. <c:if test="${item2.existChildren == '1'}">
  100. <a href="#">
  101. ${item2.name}
  102. <span>></span>
  103. </a>
  104. <ul class="nav-threeLevel">
  105. <c:forEach items="${item2.children}" var="item3">
  106. <li>
  107. <a href="${item3.href}" target="${item3.target}">
  108. ${item3.name}
  109. </a>
  110. </li>
  111. </c:forEach>
  112. </ul>
  113. </c:if>
  114. </li>
  115. </c:forEach>
  116. </ul>
  117. </c:if>
  118. </li>
  119. </c:forEach>
  120. </ul>
  121. </div>
  122. </div>