9325_10215_backup.jsp 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!-- 头部 -->
  2. <div class="header">
  3. <div class="header-img wrap">
  4. <img src="/main/dist/websites/images/header/header-top_01.jpg" alt="">
  5. <img src="/main/dist/websites/images/header/header-top_02.jpg" alt="" class="header-img-right">
  6. <div class="mobile-nav-icon">
  7. <span></span>
  8. <span></span>
  9. <span></span>
  10. </div>
  11. </div>
  12. <!-- 导航 -->
  13. <div class="header-nav">
  14. <ul class="wrap">
  15. <c:forEach items="${navList}" var="item">
  16. <li>
  17. <c:if test="${item.existChildren == '0'}">
  18. <a href="${item.href}" target="${item.target}">
  19. ${item.name}
  20. </a>
  21. </c:if>
  22. <c:if test="${item.existChildren == '1'}">
  23. <a href="#">
  24. ${item.name}<span>></span>
  25. </a>
  26. <ul class="nav-secondLevel">
  27. <c:forEach items="${item.children}" var="item2">
  28. <li>
  29. <c:if test="${item2.existChildren == '0'}">
  30. <a href="${item2.href}" target="${item2.target}">
  31. ${item2.name}
  32. </a>
  33. </c:if>
  34. <c:if test="${item2.existChildren == '1'}">
  35. <a href="#">
  36. ${item2.name}<span>></span>
  37. </a>
  38. <ul class="nav-threeLevel">
  39. <c:forEach items="${item2.children}" var="item3">
  40. <li>
  41. <a href="${item3.href}" target="${item3.target}">
  42. ${item3.name}
  43. </a>
  44. </li>
  45. </c:forEach>
  46. </ul>
  47. </c:if>
  48. </li>
  49. </c:forEach>
  50. </ul>
  51. </c:if>
  52. </li>
  53. </c:forEach>
  54. </ul>
  55. </div>
  56. <!-- 移动端导航 -->
  57. <div class="mobile-header-nav">
  58. <ul class="wrap">
  59. <c:forEach items="${navList}" var="item">
  60. <li>
  61. <c:if test="${item.existChildren == '0'}">
  62. <a href="${item.href}" target="${item.target}">
  63. ${item.name}
  64. </a>
  65. </c:if>
  66. <c:if test="${item.existChildren == '1'}">
  67. <a href="#">
  68. ${item.name}<span>></span>
  69. </a>
  70. <ul class="nav-secondLevel">
  71. <c:forEach items="${item.children}" var="item2">
  72. <li>
  73. <c:if test="${item2.existChildren == '0'}">
  74. <a href="${item2.href}" target="${item2.target}">
  75. ${item2.name}
  76. </a>
  77. </c:if>
  78. <c:if test="${item2.existChildren == '1'}">
  79. <a href="#">
  80. ${item2.name}<span>></span>
  81. </a>
  82. <ul class="nav-threeLevel">
  83. <c:forEach items="${item2.children}" var="item3">
  84. <li>
  85. <a href="${item3.href}" target="${item3.target}">
  86. ${item3.name}
  87. </a>
  88. </li>
  89. </c:forEach>
  90. </ul>
  91. </c:if>
  92. </li>
  93. </c:forEach>
  94. </ul>
  95. </c:if>
  96. </li>
  97. </c:forEach>
  98. </ul>
  99. </div>
  100. </div>