1007910534_run.jsp 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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="wrap">
  6. <div class="header-img">
  7. <!-- logo -->
  8. <img src="/main/dist/websites/images/jxjy/logo.png" alt="">
  9. <!-- 右侧二维码 -->
  10. <div class="header-right">
  11. <c:forEach items="${nHlcqHIswgLBWCIrNmv.articleList}" var="item">
  12. <img src="${item.thumbnail}">
  13. </c:forEach>
  14. <p>${nHlcqHIswgLBWCIrNmv.navigationMap.name}</p>
  15. </div>
  16. <div class="mobile-nav-icon">
  17. <span></span>
  18. <span></span>
  19. <span></span>
  20. </div>
  21. </div>
  22. <!-- 搜索 -->
  23. <div class="header-search">
  24. <input type="text" id="search" value="${str}" placeholder="请输入关键字">
  25. <button id="search-btn"></button>
  26. </div>
  27. </div>
  28. <!-- 移动端导航,跟上面的导航一模一样,最外层的类名不一样 -->
  29. <div class="mobile-header-nav">
  30. <ul class="wrap">
  31. <c:forEach items="${navList}" var="item">
  32. <li>
  33. <c:if test="${item.existChildren == '0'}">
  34. <a href="${item.href}" target="${item.target}">
  35. ${item.name}
  36. </a>
  37. </c:if>
  38. <c:if test="${item.existChildren == '1'}">
  39. <a href="#">
  40. ${item.name}
  41. <span>></span>
  42. </a>
  43. <ul class="nav-secondLevel">
  44. <c:forEach items="${item.children}" var="item2">
  45. <li>
  46. <c:if test="${item2.existChildren == '0'}">
  47. <a href="${item2.href}" target="${item2.target}">
  48. ${item2.name}
  49. </a>
  50. </c:if>
  51. <c:if test="${item2.existChildren == '1'}">
  52. <a href="#">
  53. ${item2.name}
  54. <span>></span>
  55. </a>
  56. <ul class="nav-threeLevel">
  57. <c:forEach items="${item2.children}" var="item3">
  58. <li>
  59. <a href="${item3.href}" target="${item3.target}">
  60. ${item3.name}
  61. </a>
  62. </li>
  63. </c:forEach>
  64. </ul>
  65. </c:if>
  66. </li>
  67. </c:forEach>
  68. </ul>
  69. </c:if>
  70. </li>
  71. </c:forEach>
  72. </ul>
  73. </div>
  74. </div>