1005010285_run.jsp 3.4 KB

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