UNPKG

mini-check

Version:

25 lines (22 loc) 1.48 kB
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-touch-fullscreen" content="yes"> <meta name="format-detection" content="telephone=no,address=no"> <meta name="apple-mobile-web-app-status-bar-style" content="white"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title></title> <script> !function (x) { function w() { var v, u, t, tes, s = x.document, r = s.documentElement, a = r.getBoundingClientRect().width; if (!v && !u) { var n = !!x.navigator.appVersion.match(/AppleWebKit.*Mobile.*/); v = x.devicePixelRatio; tes = x.devicePixelRatio; v = n ? v : 1, u = 1 / v } if (a >= 640) { r.style.fontSize = "40px" } else { if (a <= 320) { r.style.fontSize = "20px" } else { r.style.fontSize = a / 320 * 20 + "px" } } } x.addEventListener("resize", function () { w() }); w() }(window); </script> <script charset="utf-8" src="https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js"></script> <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=RDEBZ-F5O3I-AD5GA-5675L-ATUCQ-4VBC6"></script> <script type="text/javascript" src="https://apis.map.qq.com/tools/geolocation/min?key=RDEBZ-F5O3I-AD5GA-5675L-ATUCQ-4VBC6&referer=myapp"></script> </head> <body> <div id="app"></div> </body> </html>