123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>小红绳</title>
- <link rel="stylesheet" href="../common/reset.css">
- <link rel="stylesheet" href="./css/games.css?v=12.0.2">
- <style>
- html,body {
- height: 102%;
- background-image: url("./img/d_bg_cont.jpg");
- background-size: 100% 100%;
- }
- iframe {
- border: none;
- height: 100vh;
- background-image: url("./img/d_bg_cont.jpg");
- background-size: 100% 100%;
- }
- </style>
- <script>
- document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
- window.onresize = function () {
- document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth / 375) + "px"
- }
- </script>
- </head>
- <body>
- <div class="header">
- <img src="./img/back.png?v=1.2" alt="" class="back">
- <span>小红绳</span>
- </div>
- <iframe src="http://m.xiaohongsheng.net/"></iframe>
- <script src="../common/jquery-2.1.0.js"></script>
- <script>
- $(".back").on("click",function() {
- // var target=lastHref()+"/taskList.html?id=-1"
- // taskObj.h5_back(target)
- taskObj.h5_back(document.referrer)
- })
- function lastHref() {
- var test=window.location.pathname;
- var newTest=test.split("/")
- var test1=newTest[newTest.length-1];
- return window.location.origin+test.replace("/"+test1,"")
- }
- </script>
- </body>
- </html>
|