|
@@ -10,9 +10,11 @@
|
|
|
height: 100vh;
|
|
|
}
|
|
|
</style>
|
|
|
- <link rel="stylesheet" type="text/css"
|
|
|
- href="http://218.59.194.82:14080/api/ThirdParty/Cesium-1.93/Widgets/widgets.css" />
|
|
|
- <script src="http://218.59.194.82:14080/api/ThirdParty/Cesium-1.93/Cesium.js"></script>
|
|
|
+ <!-- 引入Cesium -->
|
|
|
+ <link rel="stylesheet" type="text/css" href="./public/ThirdParty/Cesium-1.93/Widgets/widgets.css" />
|
|
|
+ <script src="./ThirdParty/Cesium-1.93/Cesium.js"></script>
|
|
|
+ <!-- <link rel="stylesheet" type="text/css" href="http://218.59.194.82:14080/api/ThirdParty/Cesium-1.93/Widgets/widgets.css" />
|
|
|
+ <script src="http://218.59.194.82:14080/api/ThirdParty/Cesium-1.93/Cesium.js"></script> -->
|
|
|
<!-- 引入生成热力图 -->
|
|
|
<script src="./ThirdParty/CesiumHeatmap.js"></script>
|
|
|
<script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
|
|
@@ -34,11 +36,11 @@
|
|
|
|
|
|
function refreshRem() {
|
|
|
var width = docEl.getBoundingClientRect().width;
|
|
|
- console.log('宽度',typeof(width))
|
|
|
+ console.log('宽度', typeof(width))
|
|
|
maxWidth = maxWidth || 1920;
|
|
|
- if(!width || width < 1000){
|
|
|
+ if (!width || width < 1000) {
|
|
|
width = 1000
|
|
|
- }else if(width > 1920){
|
|
|
+ } else if (width > 1920) {
|
|
|
width = 1920
|
|
|
}
|
|
|
|