1005010285_edit.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!-- 头部 -->
  2. <div class="header">
  3. <div class="header-top">
  4. <div class="wrap">
  5. <span id="nowtime"></span>
  6. <a href="${homeWebsiteDomain.href}" target="${homeWebsiteDomain.target}" class="header-right">${homeWebsiteDomain.title}</a>
  7. </div>
  8. </div>
  9. <div class="wrap">
  10. <div class="header-img">
  11. <img src="/main/dist/websites/images/header/header-kyc.jpg" alt="">
  12. <div class="mobile-nav-icon">
  13. <span></span>
  14. <span></span>
  15. <span></span>
  16. </div>
  17. </div>
  18. </div>
  19. <!-- 导航 -->
  20. <div class="header-nav">
  21. <ul class="wrap">
  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. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  66. <div class="mobile-header-nav">
  67. <ul class="wrap">
  68. <c:forEach items="${navList}" var="item">
  69. <li>
  70. <c:if test="${item.existChildren == '0'}">
  71. <a href="${item.href}" target="${item.target}">
  72. ${item.name}
  73. </a>
  74. </c:if>
  75. <c:if test="${item.existChildren == '1'}">
  76. <a href="#">
  77. ${item.name}
  78. <span>></span>
  79. </a>
  80. <ul class="nav-secondLevel">
  81. <c:forEach items="${item.children}" var="item2">
  82. <li>
  83. <c:if test="${item2.existChildren == '0'}">
  84. <a href="${item2.href}" target="${item2.target}">
  85. ${item2.name}
  86. </a>
  87. </c:if>
  88. <c:if test="${item2.existChildren == '1'}">
  89. <a href="#">
  90. ${item2.name}
  91. <span>></span>
  92. </a>
  93. <ul class="nav-threeLevel">
  94. <c:forEach items="${item2.children}" var="item3">
  95. <li>
  96. <a href="${item3.href}" target="${item3.target}">
  97. ${item3.name}
  98. </a>
  99. </li>
  100. </c:forEach>
  101. </ul>
  102. </c:if>
  103. </li>
  104. </c:forEach>
  105. </ul>
  106. </c:if>
  107. </li>
  108. </c:forEach>
  109. </ul>
  110. </div>
  111. </div>