No Description

moveAgainUpload.html 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>小红绳</title>
  8. <link rel="stylesheet" href="../common/reset.css">
  9. <link rel="stylesheet" href="./css/games.css?v=12.0.2">
  10. <style>
  11. html,body {
  12. height: 102%;
  13. background-image: url("./img/d_bg_cont.jpg");
  14. background-size: 100% 100%;
  15. }
  16. iframe {
  17. border: none;
  18. height: 100vh;
  19. background-image: url("./img/d_bg_cont.jpg");
  20. background-size: 100% 100%;
  21. }
  22. </style>
  23. <script>
  24. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
  25. window.onresize = function () {
  26. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
  27. }
  28. </script>
  29. </head>
  30. <body>
  31. <div class="header">
  32. <img src="./img/back.png?v=1.2" alt="" class="back">
  33. <span>小红绳</span>
  34. </div>
  35. <iframe src="http://m.xiaohongsheng.net/"></iframe>
  36. <script src="../common/jquery-2.1.0.js"></script>
  37. <script>
  38. $(".back").on("click",function() {
  39. // var target=lastHref()+"/taskList.html?id=-1"
  40. // taskObj.h5_back(target)
  41. taskObj.h5_back(document.referrer)
  42. })
  43. function lastHref() {
  44. var test=window.location.pathname;
  45. var newTest=test.split("/")
  46. var test1=newTest[newTest.length-1];
  47. return window.location.origin+test.replace("/"+test1,"")
  48. }
  49. </script>
  50. </body>
  51. </html>