gzhDownload.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>双子星</title>
  6. <meta name="description" content="双子星app" />
  7. <meta name="keywords" content="双子星app" />
  8. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  9. <link rel="stylesheet" type="text/css" href="css/style.css" />
  10. <style>
  11. .pagelong {
  12. width: 100%;
  13. position: relative;
  14. background: url(image/f03058dcf27d4599b062ad31a46d5900.png) center top no-repeat;
  15. background-size: 100% 100%;
  16. height: 100vh;
  17. }
  18. .centerDownloadBtn {
  19. position: absolute;
  20. left: 5.03125rem;
  21. bottom: 3.5625rem;
  22. }
  23. .font_blong {
  24. margin-top: 7.2rem;
  25. padding-right: 3rem;
  26. }
  27. .font_liLong {
  28. display: flex;
  29. margin-left: 3rem;
  30. margin-bottom: .2rem;
  31. }
  32. #btn {
  33. width: 13.375rem;
  34. }
  35. .top_navlong {
  36. background: url(image/jzsy/topnav750.png) center top no-repeat !important;
  37. background-size: 100% !important;
  38. -moz-background-size: 100% !important;
  39. }
  40. .img-logo {
  41. width: 8.875rem;
  42. height: 3.25rem;
  43. position: absolute;
  44. top: 1rem;
  45. left: 1rem;
  46. z-index: 1;
  47. }
  48. </style>
  49. </head>
  50. <body>
  51. <div class="wrap">
  52. <img class="img-logo" src="image/39ce1a05e2bb4fb0833a4ff9c55511f3.png" alt="">
  53. <div class="pagelong" id="page">
  54. <div class="centerDownloadBtn">
  55. <img id="btn" />
  56. </div>
  57. </div>
  58. </div>
  59. </body>
  60. <script src="js/jquery-1.11.0.min.js"></script>
  61. <script>
  62. var html = document.querySelector("html");
  63. var clientWidth = html.getBoundingClientRect().width;
  64. html.style.fontSize = clientWidth / 23.4375 + "px";
  65. const clientheight = window.screen.height;
  66. var u = navigator.userAgent;
  67. var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
  68. var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
  69. if (isAndroid) {
  70. $('#btn').attr('src', 'image/android.png');
  71. }
  72. if (isiOS) {
  73. $('#btn').attr('src', 'image/ios.png');
  74. }
  75. $('#btn').click(function () {
  76. clickDown()
  77. })
  78. function clickDown() {
  79. if (isAndroid) {
  80. window.location.href = window.location.protocol === 'https:' ? `https://file.phone.androidscloud.com:8121/document/newFile/download/1/edv834e74a9c43eaac02/LowLevelMultipartUpload_18330738923497472022` : `http://110.53.221.195:8210/document/newFile/download/1/edv834e74a9c43eaac02/LowLevelMultipartUpload_18330738923497472022`
  81. }
  82. if (isiOS) {
  83. window.location.href = window.location.href = 'https://www.pgyer.com/gemini6'
  84. }
  85. }
  86. </script>
  87. </html>