1005810360_edit.jsp 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!-- 头部 -->
  2. <div class="header">
  3. <div class="wrap">
  4. <div class="header-img">
  5. <img src="/main/dist/websites/images/header/header-zs.png" alt="">
  6. <div class="header-qrcode">
  7. <img src="/main/dist/websites/images/zs-qrcode.jpeg" alt="">
  8. <p>扫码进群咨询</p >
  9. </div>
  10. <a href="${homeWebsiteDomain.href}" target="${homeWebsiteDomain.target}" class="header-right">【${homeWebsiteDomain.title}】</a>
  11. <div class="mobile-nav-icon">
  12. <span></span>
  13. <span></span>
  14. <span></span>
  15. </div>
  16. </div>
  17. </div>
  18. <div class="wrap">
  19. <!-- 导航 -->
  20. <div class="header-nav">
  21. <ul>
  22. <c:forEach items="${navList}" var="item">
  23. <li>
  24. <c:if test="${item.existChildren == '0'}">
  25. <a href="${item.href}" target="${item.target}">
  26. ${item.name}
  27. </a>
  28. </c:if>
  29. <c:if test="${item.existChildren == '1'}">
  30. <a href="${item.href}" target="${item.target}">
  31. ${item.name}
  32. <span>></span>
  33. </a>
  34. <ul class="nav-secondLevel">
  35. <c:forEach items="${item.children}" var="item2">
  36. <li>
  37. <c:if test="${item2.existChildren == '0'}">
  38. <a href="${item2.href}" target="${item2.target}">
  39. ${item2.name}
  40. </a>
  41. </c:if>
  42. <c:if test="${item2.existChildren == '1'}">
  43. <a href="${item2.href}" target="${item2.target}">
  44. ${item2.name}
  45. <span>></span>
  46. </a>
  47. <ul class="nav-threeLevel">
  48. <c:forEach items="${item2.children}" var="item3">
  49. <li>
  50. <a href="${item3.href}" target="${item3.target}">
  51. ${item3.name}
  52. </a>
  53. </li>
  54. </c:forEach>
  55. </ul>
  56. </c:if>
  57. </li>
  58. </c:forEach>
  59. </ul>
  60. </c:if>
  61. </li>
  62. </c:forEach>
  63. </ul>
  64. </div>
  65. </div>
  66. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  67. <div class="mobile-header-nav">
  68. <ul class="wrap">
  69. <c:forEach items="${navList}" var="item">
  70. <li>
  71. <c:if test="${item.existChildren == '0'}">
  72. <a href="${item.href}" target="${item.target}">
  73. ${item.name}
  74. </a>
  75. </c:if>
  76. <c:if test="${item.existChildren == '1'}">
  77. <a href="#">
  78. ${item.name}
  79. <span>></span>
  80. </a>
  81. <ul class="nav-secondLevel">
  82. <c:forEach items="${item.children}" var="item2">
  83. <li>
  84. <c:if test="${item2.existChildren == '0'}">
  85. <a href="${item2.href}" target="${item2.target}">
  86. ${item2.name}
  87. </a>
  88. </c:if>
  89. <c:if test="${item2.existChildren == '1'}">
  90. <a href="#">
  91. ${item2.name}
  92. <span>></span>
  93. </a>
  94. <ul class="nav-threeLevel">
  95. <c:forEach items="${item2.children}" var="item3">
  96. <li>
  97. <a href="${item3.href}" target="${item3.target}">
  98. ${item3.name}
  99. </a>
  100. </li>
  101. </c:forEach>
  102. </ul>
  103. </c:if>
  104. </li>
  105. </c:forEach>
  106. </ul>
  107. </c:if>
  108. </li>
  109. </c:forEach>
  110. </ul>
  111. </div>
  112. </div>