暫無描述

goldEgg.html 1.5KB

12345678910111213141516171819202122232425262728293031323334353637
  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.1">
  10. <script>
  11. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
  12. window.onresize = function () {
  13. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
  14. }
  15. </script>
  16. </head>
  17. <body>
  18. <div class="header">
  19. <img src="./img/back.png?v=1.2" alt="" class="back">
  20. <span>幸运砸金蛋</span>
  21. </div>
  22. <iframe src="https://interaction.clotfun.online/gameHtml?appkey=4f5d0d4923d71ef1711eb7d1ae0ba42c&adSpaceKey=1635efc5fdb1105e76317327a79efdb5&from=H5&1=1" frameborder="0"></iframe>
  23. <script src="../common/jquery-2.1.0.js"></script>
  24. <script>
  25. $(".back").on("click",function() {
  26. var target=lastHref()+"/taskList.html?id=-1"
  27. taskObj.h5_back(target)
  28. })
  29. function lastHref() {
  30. var test=window.location.pathname;
  31. var newTest=test.split("/")
  32. var test1=newTest[newTest.length-1];
  33. return window.location.origin+test.replace("/"+test1,"")
  34. }
  35. </script>
  36. </body>
  37. </html>