|
@@ -0,0 +1,58 @@
|
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
|
+<html lang="en" id="htmlRoot">
|
|
|
|
|
+
|
|
|
|
|
+<head>
|
|
|
|
|
+ <meta charset="UTF-8" />
|
|
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
|
+ <meta name="renderer" content="webkit" />
|
|
|
|
|
+ <meta name="keywords" content="空间数据管理平台" />
|
|
|
|
|
+ <meta name="description" content="空间数据管理平台" />
|
|
|
|
|
+ <meta http-equiv="Expires" content="0" />
|
|
|
|
|
+ <meta http-equiv="Cache-control" content="no-cache" />
|
|
|
|
|
+ <meta http-equiv="Cache" content="no-cache" />
|
|
|
|
|
+ <title>空间数据管理平台</title>
|
|
|
|
|
+ <link rel="icon" href="/favicon.ico" />
|
|
|
|
|
+ <style>
|
|
|
|
|
+ body {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ -ms-overflow-style: none;
|
|
|
|
|
+ scrollbar-width: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ body::-webkit-scrollbar {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ </style>
|
|
|
|
|
+</head>
|
|
|
|
|
+
|
|
|
|
|
+<body>
|
|
|
|
|
+ <script>
|
|
|
|
|
+ window.onload = function () {
|
|
|
|
|
+ var obj = JSON.parse(JSON.stringify(window.location.href));
|
|
|
|
|
+ var arr = obj.split("?")
|
|
|
|
|
+ if (arr.length && arr[1]) {
|
|
|
|
|
+ if (arr[1].indexOf("onlineIde_") > -1) {
|
|
|
|
|
+ // creteIframe(`http://106.12.170.138:4001/examples/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
|
|
+ // creteIframe(`http://127.0.0.1:8080/examples/webgl/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
|
|
+ creteIframe(`http://192.168.193.88:8080/examples/webgl/onlineIde.html#${arr[1].replace("onlineIde_", "")}`)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // creteIframe(arr[1])
|
|
|
|
|
+ creteIframe(`http://192.168.119.143:8080/onemapV5.0/sceneview.html?${arr[1]}`)
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ function creteIframe(url) {
|
|
|
|
|
+ const iframe = document.createElement('iframe');
|
|
|
|
|
+ iframe.style.width = '100vw';
|
|
|
|
|
+ iframe.style.height = '100vh';
|
|
|
|
|
+ iframe.style.border = '0px';
|
|
|
|
|
+ iframe.src = url;
|
|
|
|
|
+ document.body.appendChild(iframe);
|
|
|
|
|
+ }
|
|
|
|
|
+ </script>
|
|
|
|
|
+</body>
|
|
|
|
|
+
|
|
|
|
|
+</html>
|