example.jsp 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  2. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  3. <!DOCTYPE HTML>
  4. <html>
  5. <head>
  6. <title id="pageTitle">昊古</title>
  7. <meta name="renderer" content="webkit"/>
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  10. <meta name="format-detection" content="telephone=no"/>
  11. <meta name="apple-mobile-web-app-capable" content="yes"/>
  12. <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
  13. <meta name="viewport"
  14. content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0 user-scalable=no"/>
  15. <meta id="description" name="Description" content="昊古"/>
  16. <meta id="key" name="Keywords" content="昊古"/>
  17. <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/css/common.css"/>
  18. <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/css/fonts.css"/>
  19. <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/css/aos.css"/>
  20. <script language="javascript" type="text/javascript"
  21. src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
  22. <script language="javascript" type="text/javascript"
  23. src="${pageContext.request.contextPath}/static/js/js.js"></script>
  24. </head>
  25. <body>
  26. <div class="header">
  27. <div class="headt">
  28. <div class="main">
  29. <div class="headlogo">
  30. <a class="lowes" href="${pageContext.request.contextPath}/index.html/1/3">
  31. <img class="helogo" src="${pageContext.request.contextPath}/static/images/logo2x.png" alt="">
  32. </a>
  33. <a class="lores" href="${pageContext.request.contextPath}/index.html/1/3">
  34. <img class="helogo" src="${pageContext.request.contextPath}/static/images/lores.png" alt="">
  35. </a>
  36. </div>
  37. <div class="munes">
  38. <a href="#0" class="cd-nav-trigger">Menu<span class="cd-icon"></span></a>
  39. </div>
  40. <div class="headnva">
  41. <ul>
  42. <li><a href="${pageContext.request.contextPath}/index.html/1/3">基金介绍</a></li>
  43. <li><a href="${pageContext.request.contextPath}/example.html">投资案例</a></li>
  44. <li><a href="${pageContext.request.contextPath}/news.html/1/10">新闻动态</a></li>
  45. <li><a href="${pageContext.request.contextPath}/contact.html">联系我们</a></li>
  46. </ul>
  47. </div>
  48. <div class="cl"></div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="headerpr"></div>
  53. <div class="solde">
  54. <div class="soldimbg"
  55. style=" background-image: url(${pageContext.request.contextPath}/static/images/solde33.jpg); height:300px;"></div>
  56. </div>
  57. <div class="example" id="example">
  58. <span class="exampletex absolute txtbgab">Example</span>
  59. <div class="pro_tal">
  60. <div class="colutel textcent aos-animate" data-aos-duration="300" data-aos-delay="100" data-aos="zoom-in">
  61. <p class="colutelcn">投资案例</p>
  62. <p class="colutelen">Investment case</p>
  63. </div>
  64. <div class="exampnx_list">
  65. <div class="main">
  66. <c:forEach var="itme" items="${cases}">
  67. <p class="exampnxicoim ${itme.id}"><img src="${pageContext.request.contextPath}/${itme.img}" alt="">
  68. </p>
  69. </c:forEach>
  70. </div>
  71. <div class="div cl"></div>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="foot">
  76. <div class="main">
  77. <div class="footcopy">Copyright &copy; 2017 昊古资本 沪ICP备14003493号-9 powered by jzdsh</div>
  78. <div class="cl"></div>
  79. </div>
  80. </div>
  81. <div class="mask mask1">
  82. <div class="maskal">
  83. <div class="maskbg"></div>
  84. <div class="maskblk">
  85. <div class="maskticl"><span>×</span></div>
  86. <div class="masktex">
  87. <div class="masklog"><img src="" alt="" id="img">
  88. </div>
  89. <div class="masktil" id="cname"></div>
  90. <div class="masksrc"><a href="#" id="cname1"></a></div>
  91. <div class="masktal">
  92. <p id="context"></p>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <!-- 代码部分end -->
  99. <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/aos.js"></script>
  100. <script type="text/javascript">
  101. function maskck() {
  102. var htmltop;
  103. $(".exampnxicoim").on("click", function () {
  104. var str = ($(this).attr("class")).split(" ");
  105. $.post("${pageContext.request.contextPath}/getCasesById.html", {"id": str[1]}, function (data1) {
  106. var str = eval("(" + data1 + ")");
  107. $("#img").attr("src", "${pageContext.request.contextPath}/" + str.data.img);
  108. $("#cname").html(str.data.cname);
  109. $("#cname1").html(str.data.cname);
  110. $("#context").html(str.data.content);
  111. })
  112. htmltop = $("html").scrollTop();
  113. $("html").addClass("ovhide");
  114. $(".mask").show();
  115. })
  116. $(".maskticl span").on("click", function () {
  117. $("html").removeClass("ovhide");
  118. $("html").scrollTop(htmltop);
  119. $(".masktex").scrollTop(0);
  120. $(".mask").hide();
  121. })
  122. $(".maskbg").on("click", function () {
  123. $("html").removeClass("ovhide");
  124. $("html").scrollTop(htmltop);
  125. $(".masktex").scrollTop(0);
  126. $(".mask").hide();
  127. })
  128. }
  129. (function () {
  130. AOS.init({});
  131. maskck();
  132. }());
  133. </script>
  134. </body>
  135. </html>