<!DOCTYPE HTML>
|
<html>
|
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<title></title>
|
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/html2canvas/0.5.0-beta4/html2canvas.min.js"></script> -->
|
<!--jquery引用-->
|
<script src="libs/jquery/jquery-3.3.1.min.js"></script>
|
<!--layer引用-->
|
<script src="libs/layer/layer.js"></script>
|
<!--空间分析插件turf引用-->
|
<!-- <script src="libs/turf/turf.min.js"></script> -->
|
<script src='libs/xlsx.core.min.js'></script>
|
<!--<link rel="shortcut icon" href="images/shortcut.ico">-->
|
<!--[if IE 8]>
|
<link rel="stylesheet" type="text/css" href="jimu.js/css/jimu-ie.css" />
|
<![endif]-->
|
<style type="text/css">
|
* {
|
box-sizing: border-box;
|
}
|
|
body,
|
html {
|
width: 100%;
|
height: 100%;
|
/* height: 50%;
|
width: 50%; */
|
margin: 0;
|
padding: 0;
|
overflow: hidden;
|
}
|
|
#main-loading {
|
width: 100%;
|
height: 100%;
|
text-align: center;
|
overflow: hidden;
|
}
|
|
#main-loading #ie-note {
|
position: absolute;
|
top: 0;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
margin: auto;
|
}
|
|
#main-loading #ie-note {
|
width: 586px;
|
height: 253px;
|
background-image: url('images/notes.png');
|
padding: 0 30px 40px 30px;
|
font-size: 14px;
|
color: #596679;
|
}
|
|
#ie-note .hint-title {
|
height: 40px;
|
line-height: 48px;
|
text-align: left;
|
font-weight: bold;
|
}
|
|
#ie-note .hint-img {
|
background-image: url('images/hint.png');
|
background-position: left;
|
padding-left: 40px;
|
margin-top: 20px;
|
background-repeat: no-repeat;
|
height: 30px;
|
text-align: left;
|
line-height: 30px;
|
font-weight: bold;
|
}
|
|
#ie-note span {
|
display: block;
|
line-height: 14px;
|
}
|
|
#main-page {
|
display: none;
|
width: 100%;
|
height: 100%;
|
position: relative;
|
}
|
|
#jimu-layout-manager {
|
width: 100%;
|
height: 100%;
|
position: absolute;
|
}
|
.cesium-viewer-toolbar {
|
top: 55px !important;
|
right: -23333333333370px !important;
|
width: 80px;
|
height: 30px;
|
|
}
|
.cesium-viewer-toolbar .cesium-baseLayerPicker-dropDown {
|
position: fixed !important;
|
top: 98px !important;
|
right: 10px !important;
|
z-index: 213 !important;
|
}
|
</style>
|
<script>
|
$(function () {
|
//JavaScript JSON.parse()方法用于将一个 JSON 字符串转换为对象。
|
var login = sessionStorage.getItem("shuiwen-token");
|
|
if (login) {
|
if (login.length == 0) {
|
window.location.href = "login.html";
|
}
|
} else {
|
window.location.href = "login.html";
|
}
|
});
|
</script>
|
<link rel="stylesheet" type="text/css" href="jimu.js/loading/loading.css" />
|
</head>
|
|
<body class="claro jimu-main-font">
|
<!-- <style>-->
|
<!-- .ss {-->
|
<!-- border-radius: 5px;-->
|
<!-- height: 32px;-->
|
<!-- width: 32px;-->
|
<!-- position: fixed;-->
|
<!-- }-->
|
<!-- .map3d-system {-->
|
<!-- background: #303336 url('images/3d-2-03.png');-->
|
<!-- border: 1px solid #303336;-->
|
<!-- background-size: cover;-->
|
<!-- z-index:1;-->
|
<!-- cursor:pointer;-->
|
<!-- right: 13px;-->
|
<!-- bottom: 240px;-->
|
<!-- }-->
|
<!-- .map3d-system:hover{-->
|
<!-- color: #fff;-->
|
<!-- fill: #fff;-->
|
<!-- background: #48b url('images/3d-2-03.png');-->
|
<!-- background-size: cover;-->
|
<!-- border-color: #aef;-->
|
<!-- box-shadow: 0 0 8px #fff;-->
|
<!-- }-->
|
<!-- .map3d-2d {-->
|
<!-- background: #303336 url('images/2d-2-02.png');-->
|
<!-- border: 1px solid #303336;-->
|
<!-- background-size: cover;-->
|
<!-- z-index:6;-->
|
<!-- cursor:pointer;-->
|
<!-- right: 50px;-->
|
<!-- bottom: 240px;-->
|
<!-- }-->
|
<!-- .map3d-2d:hover{-->
|
<!-- color: #fff;-->
|
<!-- fill: #fff;-->
|
<!-- background: #48b url('images/2d-2-02.png');-->
|
<!-- background-size: cover;-->
|
<!-- border-color: #aef;-->
|
<!-- box-shadow: 0 0 8px #fff;-->
|
<!-- }-->
|
<!-- </style>-->
|
<!-- <div class="map3d-system ss" id="map3d" title="系统切换" onclick="map3dClick()"></div>-->
|
<!-- <div class="map3d-2d ss" id="map2d" title="切换2D" onclick="javascript:window.location='http://localhost:63342/hsyj/index.html'"></div>-->
|
|
<div id="main-loading">
|
<div id="app-loading"></div>
|
<div id="loading-gif"></div>
|
<div id="ie-note" style="display:none;">
|
<div class="hint-title">Error</div>
|
<div class="hint-img">Your browser is currently not supported.</div>
|
<p class="hint-text">
|
<span>
|
推荐chorome浏览器
|
</span>
|
</p>
|
</div>
|
</div>
|
<div id="main-page">
|
<div id="jimu-layout-manager"></div>
|
</div>
|
<script src="env.js"></script>
|
|
|
|
<script type="text/javascript" src="simpleLoader.js"></script>
|
<!-- <script type="module">
|
window.CESIUM_BASE_URL = 'http://localhost:8081/gzsw3D/libs/Source';
|
import * as Cesium from './libs/Source/Cesium.js';
|
window.Cesium = Cesium;
|
</script> -->
|
<script type="text/javascript" src="init.js"></script>
|
<script>
|
$('#map2d').hide();
|
function runWidget(name) {
|
require(['dojo/topic'],
|
function(topic) {
|
topic.publish('runWidgetByName', name);
|
});
|
}
|
|
function map3dClick() {
|
if($('#map2d').is(':hidden')){ //如果node是隐藏的则显示node元素,否则隐藏
|
$('#map2d').show();
|
}else{
|
$('#map2d').hide();
|
}
|
}
|
|
</script>
|
</body>
|
</html>
|