<!DOCTYPE html>
|
<html>
|
|
<head>
|
<meta charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> -->
|
<title>智慧亦庄时空一张图</title>
|
</head>
|
<style>
|
.cesium-viewer-fullscreenContainer {
|
display: none !important;
|
}
|
|
.layerTree .el-tree-node__content {
|
margin: 2px 0;
|
height: 0.26rem;
|
}
|
|
.layerTree .el-checkbox__inner {
|
width: 0.14rem;
|
height: 0.14rem;
|
}
|
|
.layerTree .el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
|
height: 0.02rem;
|
top: 0.05rem;
|
}
|
|
.layerTree .el-checkbox__inner::after {
|
height: 0.07rem;
|
width: 0.03rem;
|
top: 0.01rem;
|
left: 0.05rem;
|
}
|
|
.custom-tree-node {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
font-size: 0.16rem;
|
padding-right: 0.08rem;
|
}
|
|
.custom-tree-node .typeIcon {
|
margin-right: 0.05rem;
|
}
|
|
.custom-tree-node .typeNullIcon {
|
margin-right: 0.17rem;
|
}
|
|
.custom-tree-node .customButton {
|
position: absolute;
|
right: 0.03rem;
|
}
|
|
.layerTree .el-tree-node__expand-icon {
|
font-size: 0.16rem;
|
}
|
|
.custom-tree-node .el-button {
|
padding: 0 !important;
|
font-size: 0.24rem;
|
border: unset;
|
background: rgba(0, 0, 0, 0);
|
}
|
|
.other-class .layui-layer-title {
|
background-color: white !important;
|
color: black !important;
|
}
|
|
.divpoint-data-li table {
|
text-align: center !important;
|
}
|
|
.divpoint-data-li table th {
|
padding-right: 5px !important;
|
}
|
|
.divpoint-data-li table td {
|
border-left: 1px solid !important;
|
padding-left: 5px !important;
|
}
|
|
.popoverBox {
|
min-width: 95px !important;
|
padding: 4px !important;
|
}
|
|
.popBox {
|
padding: 5px !important;
|
}
|
|
#toolTip {
|
display: none !important;
|
}
|
|
#toolTip_jb {
|
display: none !important;
|
}
|
|
#cesiumTipInfo {
|
display: none !important;
|
}
|
.ol-zoom-in{
|
display: none !important;
|
}
|
.ol-zoom-out{
|
display: none !important;
|
}
|
</style>
|
|
<body>
|
<div id="app"></div>
|
<link href="./static/css/tools.css" rel="stylesheet" />
|
<link href="./static/css/style.css" rel="stylesheet" />
|
<!-- <link href="./static/SmartEarthSDK/Workers/css/smartearth.css"/> -->
|
<script src="./static/jquery-2.0.3.js"></script>
|
<!-- <script src="http://10.20.55.133:3866/wwswzjxt/static/SmartEarthSDK/Cesium/Cesium.js"></script>
|
<script src="http://10.20.55.133:3866/wwswzjxt/static/SmartEarthSDK/SmartEarth.min.js"></script> -->
|
<script src="./static/SmartEarthSDK/Cesium/Cesium.js"></script>
|
<script src="./static/SmartEarthSDK/SmartEarth.min.js"></script>
|
|
<script src="./static/html/js/Analysis.js"></script>
|
<script src="./static/html/js/Quantityexcavation_Flatten.js"></script>
|
<script src="./static/webview.js"></script>
|
<script src="./static/lib/dist/include-openlayers-local.js"></script>
|
<script>
|
var getLocations, getSettings, getPrestations;
|
|
window.getLocationsVue = function () {
|
return window.locations;
|
}
|
window.getSettingsVue = function () {
|
return window.settings;
|
}
|
window.getPrestationsVue = function () {
|
return window.prestations;
|
}
|
window.onload = function () {
|
getLocations = function (data) {
|
window.locations = data;
|
}
|
getSettings = function (data) {
|
window.settings = data;
|
}
|
getPrestations = function (data) {
|
window.prestations = data;
|
}
|
uni.postMessage({
|
data: {
|
action: 'getLocations',
|
data: {}
|
}
|
});
|
uni.postMessage({
|
data: {
|
action: 'getPrestation',
|
data: {}
|
}
|
});
|
uni.postMessage({
|
data: {
|
action: 'getSetting',
|
data: {}
|
}
|
});
|
}
|
function setLocations(data) {
|
if (window.locations == "" || window.locations == undefined) {
|
window.locations = [];
|
}
|
window.locations = JSON.parse(JSON.stringify(data))
|
uni.postMessage({
|
data: {
|
action: 'setLocations',
|
data: window.locations
|
}
|
});
|
}
|
function setSettings(data) {
|
window.settings = data;
|
// window.settings.push(data)
|
uni.postMessage({
|
data: {
|
action: 'setSetting',
|
data: data
|
}
|
});
|
}
|
function setPrestations(data) {
|
window.prestations.push(data)
|
uni.postMessage({
|
data: {
|
action: 'setPrestation',
|
data: window.prestations
|
}
|
});
|
}
|
</script>
|
</body>
|
|
</html>
|