pageGfxx.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. $(function () {
  29. pushHistory();
  30. function pushHistory() {
  31. var warids = {
  32. "pointName": "云游戏投放-云战神新世纪-访问"
  33. }
  34. $.ajax({
  35. url: baseUrl + "/api/public/v1/systemBuriedPoint/stat",
  36. data: JSON.stringify(warids),
  37. type: 'post',
  38. dataType: 'json',
  39. contentType: "application/json;charset=UTF-8",
  40. cache: false,
  41. success: function (data) {
  42. }
  43. })
  44. }
  45. });
  46. </script>
  47. </html>