download.jsp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  5. %>
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html>
  8. <head>
  9. <title>下载页面</title>
  10. <meta http-equiv="pragma" content="no-cache">
  11. <meta http-equiv="cache-control" content="no-cache">
  12. <meta http-equiv="expires" content="0">
  13. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  14. <meta http-equiv="description" content="This is my page">
  15. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  16. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  17. <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
  18. <style type="text/css">
  19. *{margin:0; padding:0;}
  20. a{text-decoration: none;}
  21. img{max-width: 100%; height: auto;}
  22. .ziti{font-family:'Microsoft YaHei', Verdana, 'SimSun', 'Lucida Grande', 'Trebuchet MS', Helvetica, sans-serif;
  23. letter-spacing:normal; font-size: 26px;color: #003333;font-weight: normal;}
  24. .weixin-tip{display: none; position: fixed; left:0; top:0; bottom:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); height: 100%; width: 100%; z-index: 100;}
  25. .weixin-tip p{text-align: center; margin-top: 10%; padding:0 5%;}
  26. .not-weixin{position: absolute; left:0; top:0; bottom:0; height: 100%; width: 100%; z-index: 10;}
  27. .not-weixin p{text-align: center; margin-top: 0%; padding:0 5%;}
  28. body{background-color:white;}
  29. </style>
  30. </head>
  31. <body>
  32. <div class="weixin-tip">
  33. <p>
  34. <img src="live_weixin1.png"/>
  35. </p>
  36. </div>
  37. <div class="not-weixin">
  38. <center>
  39. <p>
  40. <div style="text-align: left;max-height: 70%;width: 100%;margin-top: 0%;">
  41. <div style="width: 100%;text-align: center;" >
  42. <img src="logo_rzx.png" />
  43. </div>
  44. <div style="width: 100%;" >
  45. <div style="width: 100%;height: 5%;"></div>
  46. <center>
  47. <div style="width: 50%;">
  48. <div style="text-align: left;">
  49. <span class="ziti">
  50. <span style="font-size: 52px;color: #f08300;">APP下载</span><br/>
  51. <br/>
  52. 操作系统: 安卓 5.0及以上 <br/>
  53. <br/>
  54. </span>
  55. </div>
  56. </div>
  57. <div style="width: 50%;">
  58. <a href="http://em.hizima.com/appFile/new/SmartLock.apk" style="cursor: pointer;"><img src="android.jpg" style="width: 200px;"/></a>
  59. &nbsp;&nbsp;&nbsp;&nbsp;
  60. </div>
  61. </center>
  62. </div>
  63. </div>
  64. </p>
  65. </center>
  66. </div>
  67. <script type="text/javascript">
  68. $(window).on("load",function(){
  69. var winHeight = $(window).height();
  70. function is_weixin() {
  71. var ua = navigator.userAgent.toLowerCase();
  72. if (ua.match(/MicroMessenger/i) == "micromessenger") {
  73. return true;
  74. } else {
  75. return false;
  76. }
  77. }
  78. var isWeixin = is_weixin();
  79. if(isWeixin){
  80. $(".weixin-tip").css("height",winHeight);
  81. $(".weixin-tip").show();
  82. }
  83. })
  84. </script>
  85. </body>
  86. </html>