Browse Source

大屏可视化,3d地图

main
ZhaoYang 7 hours ago
parent
commit
75fdae8669
  1. 25
      chenhai-ui/public/index.html
  2. BIN
      chenhai-ui/src/assets/images/11.png
  3. BIN
      chenhai-ui/src/assets/images/111.png
  4. 8
      chenhai-ui/src/router/index.js
  5. 1265
      chenhai-ui/src/views/Home.vue

25
chenhai-ui/public/index.html

@ -1,13 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
<title>
<%= webpackConfig.name %>
</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<!--引入mars3d库lib-->
<link href="/lib/Cesium/Widgets/widgets.css" rel="stylesheet" type="text/css" />
<script src="/lib/Cesium/Cesium.js" type="text/javascript"></script>
<script src="/lib/turf/turf.min.js" type="text/javascript"></script>
<!--引入mars3d库lib-->
<link href="/lib/mars3d/mars3d.css" rel="stylesheet" type="text/css" />
<script src="/lib/mars3d/mars3d.js" type="text/javascript"></script>
<!--引入mars3d库插件lib(按需引入)-->
<script src="/lib/mars3d/plugins/space/mars3d-space.js" type="text/javascript"></script>
<style>
html,
body,
@ -16,6 +34,7 @@
margin: 0px;
padding: 0px;
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
@ -92,6 +111,7 @@
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
@ -105,6 +125,7 @@
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg);
@ -195,6 +216,7 @@
}
</style>
</head>
<body>
<div id="app">
<div id="loader-wrapper">
@ -205,4 +227,5 @@
</div>
</div>
</body>
</html>

BIN
chenhai-ui/src/assets/images/11.png

Before

Width: 1534  |  Height: 111  |  Size: 45 KiB

After

Width: 1534  |  Height: 111  |  Size: 45 KiB

BIN
chenhai-ui/src/assets/images/111.png

Before

Width: 1920  |  Height: 216  |  Size: 214 KiB

8
chenhai-ui/src/router/index.js

@ -62,12 +62,18 @@ export const constantRoutes = [
hidden: true
},
// 首页
// 可视化首页
{
path: '/Home',
component: () => import('@/views/Home'),
hidden: true
},
// 地图可视化
{
path: '/mapVisual',
component: () => import('@/views/map_pol/mapVisual'),
hidden: true
},
{
path: '',

1265
chenhai-ui/src/views/Home.vue
File diff suppressed because it is too large
View File

Loading…
Cancel
Save