12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="renderer" content="webkit">
- <meta charset="utf-8">
- <meta name="viewport">
- <title>温州市“天空地”态势感知综合场景应用</title>
- <style>
- html, body {
- width: 100%;
- height: 100%;
- margin: 0;
- padding: 0;
- border: none;
- overflow: hidden
- }
- boyd {
- font-size: 12px;
- }
- @media screen and (min-width: 1366px) {
- html {
- font-size: 444%;
- }
- }
- @media screen and (min-width: 1440px) {
- html {
- font-size: 468%;
- }
- }
- @media screen and (min-width: 1600px) {
- html {
- font-size: 520%;
- }
- }
- @media screen and (min-width: 1920px) {
- html {
- font-size: 625%;
- }
- }
- </style>
- <script src="static/earthSDK/XbsjEarth/XbsjEarth.js"></script>
- <script src="static/html2canvas/html2canvas.min.js"></script>
- </head>
- <body>
- <div id="app"></div>
- <script type="text/javascript" src="/static/config/config.js"></script>
- <!-- built files will be auto injected -->
- <script type="text/javascript">
- // 浏览器webp支持检测
- (function () {
- window.earth = {}
- function check_webp_feature(feature, callback) {
- var kTestImages = {
- lossy: "UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",
- lossless: "UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",
- alpha: "UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",
- animation: "UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"
- };
- var img = new Image();
- img.onload = function () {
- var result = (img.width > 0) && (img.height > 0);
- callback(feature, result);
- };
- img.onerror = function () {
- callback(feature, false);
- };
- img.src = "data:image/webp;base64," + kTestImages[feature];
- }
- function addRootTag() {
- var className = document.documentElement.className;
- var name = className ? ' webpa' : 'webpa';
- document.documentElement.className += name;
- }
- check_webp_feature('lossy', function (feature, status) {
- if (status) {
- addRootTag();
- window.webpAvaile = true;
- }
- })
- })();
- </script>
- </body>
- </html>
|