|
@@ -10,14 +10,14 @@
|
|
height: 100vh;
|
|
height: 100vh;
|
|
}
|
|
}
|
|
</style>
|
|
</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>
|
|
<!-- 引入生成热力图 -->
|
|
<!-- 引入生成热力图 -->
|
|
<script src="./ThirdParty/CesiumHeatmap.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>
|
|
|
|
|
|
+<!-- <script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
|
|
<script src="src/assets/js/plus.js"></script>
|
|
<script src="src/assets/js/plus.js"></script>
|
|
- <script src="src/assets/js/mui.min.js"></script>
|
|
|
|
|
|
+ <script src="src/assets/js/mui.min.js"></script> -->
|
|
|
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
@@ -34,15 +34,16 @@
|
|
|
|
|
|
function refreshRem() {
|
|
function refreshRem() {
|
|
var width = docEl.getBoundingClientRect().width;
|
|
var width = docEl.getBoundingClientRect().width;
|
|
- console.log('宽度',typeof(width))
|
|
|
|
|
|
+ // console.log('宽度',typeof(width))
|
|
|
|
+
|
|
maxWidth = maxWidth || 1920;
|
|
maxWidth = maxWidth || 1920;
|
|
if(!width || width < 1000){
|
|
if(!width || width < 1000){
|
|
width = 1000
|
|
width = 1000
|
|
}else if(width > 1920){
|
|
}else if(width > 1920){
|
|
width = 1920
|
|
width = 1920
|
|
}
|
|
}
|
|
-
|
|
|
|
- console.log('宽度2', width)
|
|
|
|
|
|
+ // console.log('宽度2', width)
|
|
|
|
+
|
|
width > maxWidth && (width = 192000);
|
|
width > maxWidth && (width = 192000);
|
|
|
|
|
|
var rem = width * 1 / designWidth;
|
|
var rem = width * 1 / designWidth;
|