Browse Source

大屏可视化,3d地图

main
ZhaoYang 9 hours ago
parent
commit
75fdae8669
  1. 63
      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. 1305
      chenhai-ui/src/views/Home.vue

63
chenhai-ui/public/index.html

@ -1,14 +1,32 @@
<!DOCTYPE html> <!DOCTYPE html>
<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>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
<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>
<!--[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, html,
body, body,
#app { #app {
@ -16,6 +34,7 @@
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
.chromeframe { .chromeframe {
margin: 0.2em 0; margin: 0.2em 0;
background: #ccc; background: #ccc;
@ -92,6 +111,7 @@
-ms-transform: rotate(0deg); -ms-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg); -ms-transform: rotate(360deg);
@ -105,6 +125,7 @@
-ms-transform: rotate(0deg); -ms-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg); -ms-transform: rotate(360deg);
@ -194,15 +215,17 @@
opacity: 0.5; opacity: 0.5;
} }
</style> </style>
</head>
<body>
<div id="app">
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
</div>
</body>
</head>
<body>
<div id="app">
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
</div>
</body>
</html> </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 hidden: true
}, },
// 首页
// 可视化首页
{ {
path: '/Home', path: '/Home',
component: () => import('@/views/Home'), component: () => import('@/views/Home'),
hidden: true hidden: true
}, },
// 地图可视化
{
path: '/mapVisual',
component: () => import('@/views/map_pol/mapVisual'),
hidden: true
},
{ {
path: '', path: '',

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

Loading…
Cancel
Save