1007910537_edit.jsp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!-- PC导航 -->
  2. <div class="header-nav">
  3. <ul class="wrap">
  4. <c:forEach items="${navList}" var="item">
  5. <li>
  6. <c:if test="${item.existChildren == '0'}">
  7. <a href="${item.href}" target="${item.target}">
  8. ${item.name}
  9. </a>
  10. </c:if>
  11. <c:if test="${item.existChildren == '1'}">
  12. <a href="${item.href}" target="${item.target}">
  13. ${item.name}
  14. <span>></span>
  15. </a>
  16. <ul class="nav-secondLevel">
  17. <c:forEach items="${item.children}" var="item2">
  18. <li>
  19. <c:if test="${item2.existChildren == '0'}">
  20. <a href="${item2.href}" target="${item2.target}">
  21. ${item2.name}
  22. </a>
  23. </c:if>
  24. <c:if test="${item2.existChildren == '1'}">
  25. <a href="${item2.href}" target="${item2.target}">
  26. ${item2.name}
  27. <span>></span>
  28. </a>
  29. <ul class="nav-threeLevel">
  30. <c:forEach items="${item2.children}" var="item3">
  31. <li>
  32. <a href="${item3.href}" target="${item3.target}">
  33. ${item3.name}
  34. </a>
  35. </li>
  36. </c:forEach>
  37. </ul>
  38. </c:if>
  39. </li>
  40. </c:forEach>
  41. </ul>
  42. </c:if>
  43. </li>
  44. </c:forEach>
  45. </ul>
  46. </div>