19517_10471_backup.jsp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!-- 头部 -->
  2. <div class="header wrap">
  3. <div class="header-top">
  4. <span>
  5. 欢迎光临
  6. </span>
  7. <span id="nowtime"></span>
  8. <div class="header-right">
  9. —— 厚德 重能 敬业 善事 ——
  10. </div>
  11. </div>
  12. <div class="wrap">
  13. <div class="header-img">
  14. <img src="/main/dist/websites/images/header/header-sxzz1.jpg" alt="">
  15. <div class="mobile-nav-icon">
  16. <span></span>
  17. <span></span>
  18. <span></span>
  19. </div>
  20. </div>
  21. <!-- 导航 -->
  22. <div class="header-nav">
  23. <ul>
  24. <c:forEach items="${navList}" var="item">
  25. <c:if test="${item.existChildren == '0'}">
  26. <a href="${item.href}" target="${item.target}">
  27. ${item.name}
  28. </a>
  29. </c:if>
  30. <c:if test="${item.existChildren == '1'}">
  31. <a href="${item.href}" target="${item.target}">
  32. ${item.name}
  33. <span>></span>
  34. </a>
  35. <ul class="nav-secondLevel">
  36. <c:forEach items="${item.children}" var="item2">
  37. <li>
  38. <c:if test="${item2.existChildren == '0'}">
  39. <a href="${item2.href}" target="${item2.target}">
  40. ${item2.name}
  41. </a>
  42. </c:if>
  43. <c:if test="${item2.existChildren == '1'}">
  44. <a href="${item2.href}" target="${item2.target}">
  45. ${item2.name}
  46. <span>></span>
  47. </a>
  48. <ul class="nav-threeLevel">
  49. <c:forEach items="${item2.children}" var="item3">
  50. <li>
  51. <a href="${item3.href}" target="${item3.target}">
  52. ${item3.name}
  53. </a>
  54. </li>
  55. </c:forEach>
  56. </ul>
  57. </c:if>
  58. </li>
  59. </c:forEach>
  60. </ul>
  61. </c:if>
  62. </c:forEach>
  63. </ul>
  64. </div>
  65. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  66. <div class="mobile-header-nav">
  67. <ul>
  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>
  112. </div>