pageGfxx.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>双子星X云·战神新世纪</title>
  6. <meta name="description" content="双子星X云·战神新世纪" />
  7. <meta name="keywords" content="双子星 龙武" />
  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. </head>
  11. <body>
  12. <div class="wrap">
  13. <div class="pageGfwx" id="page">
  14. <div class="btn">
  15. <img src="image/gfxx/btn.png" />
  16. </div>
  17. </div>
  18. </div>
  19. </body>
  20. <script src="js/jquery-1.11.0.min.js"></script>
  21. <script>
  22. var html = document.querySelector("html");
  23. var clientWidth = html.getBoundingClientRect().width;
  24. html.style.fontSize = clientWidth / 23.4375 + "px";
  25. var baseUrl = window.location.protocol + '//' + window.location.host
  26. const clientheight = window.screen.height;
  27. // $('#page').css('height', clientheight / (clientWidth / 23.4375) + "rem")
  28. $('.btn').click(function () {
  29. clickDown()
  30. })
  31. function clickDown() {
  32. var warids = {
  33. "pointName": "云游戏投放-云战神新世纪-下载"
  34. }
  35. $.ajax({
  36. url: baseUrl + "/api/public/v1/systemBuriedPoint/stat",
  37. data: JSON.stringify(warids),
  38. type: 'post',
  39. contentType: "application/json;charset=UTF-8",
  40. dataType: 'json',
  41. cache: false,
  42. success: function (data) {
  43. }
  44. })
  45. window.location.href =
  46. 'http://110.53.221.195:8210/document/newFile/download/1/edv834e74a9c43eaac02/LowLevelMultipartUpload_16130773867230003211/shuangzixing.apk'
  47. }
  48. $(function () {
  49. pushHistory();
  50. function pushHistory() {
  51. var warids = {
  52. "pointName": "云游戏投放-云战神新世纪-访问"
  53. }
  54. $.ajax({
  55. url: baseUrl + "/api/public/v1/systemBuriedPoint/stat",
  56. data: JSON.stringify(warids),
  57. type: 'post',
  58. dataType: 'json',
  59. contentType: "application/json;charset=UTF-8",
  60. cache: false,
  61. success: function (data) {
  62. }
  63. })
  64. }
  65. });
  66. </script>
  67. </html>