cp-ems v4.6.0 reference source code (Java/Spring Boot/RuoYi)
Enterprise EMS reference system for study purposes. - Backend: Spring Boot + MyBatis Plus + Sa-Token - Frontend: Vue 2 + Element UI + ECharts - Database: MySQL + TDengine + Redis - Features: energy monitoring, alarm management, quota, charging, maintenance - Source: https://cp-ems.cn This is a read-only reference. Do not develop on this repo.
BIN
cp-ems-ui/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 62 KiB |
46
cp-ems-ui/public/html/ie.html
Normal file
220
cp-ems-ui/public/index.html
Normal file
@@ -0,0 +1,220 @@
|
||||
<!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> -->
|
||||
<script type="text/javascript"
|
||||
src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=tHCKI9rDMnTgxHPYsk95hGExEbYqkcIn"></script>
|
||||
<!-- [if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif] -->
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
/* background: #46576e; */
|
||||
}
|
||||
|
||||
.chromeframe {
|
||||
margin: 0.2em 0;
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
|
||||
#loader-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 999999;
|
||||
}
|
||||
|
||||
#loader {
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin: -75px 0 0 -75px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #fff;
|
||||
-webkit-animation: spin 2s linear infinite;
|
||||
-ms-animation: spin 2s linear infinite;
|
||||
-moz-animation: spin 2s linear infinite;
|
||||
-o-animation: spin 2s linear infinite;
|
||||
animation: spin 2s linear infinite;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
#loader:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #fff;
|
||||
-webkit-animation: spin 3s linear infinite;
|
||||
-moz-animation: spin 3s linear infinite;
|
||||
-o-animation: spin 3s linear infinite;
|
||||
-ms-animation: spin 3s linear infinite;
|
||||
animation: spin 3s linear infinite;
|
||||
}
|
||||
|
||||
#loader:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #fff;
|
||||
-moz-animation: spin 1.5s linear infinite;
|
||||
-o-animation: spin 1.5s linear infinite;
|
||||
-ms-animation: spin 1.5s linear infinite;
|
||||
-webkit-animation: spin 1.5s linear infinite;
|
||||
animation: spin 1.5s linear infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 51%;
|
||||
height: 100%;
|
||||
/* background: #46576e; */
|
||||
z-index: 1000;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-left {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-right {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-left {
|
||||
-webkit-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-right {
|
||||
-webkit-transform: translateX(100%);
|
||||
-ms-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
}
|
||||
|
||||
.loaded #loader {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper {
|
||||
visibility: hidden;
|
||||
-webkit-transform: translateY(-100%);
|
||||
-ms-transform: translateY(-100%);
|
||||
transform: translateY(-100%);
|
||||
-webkit-transition: all 0.3s 1s ease-out;
|
||||
transition: all 0.3s 1s ease-out;
|
||||
}
|
||||
|
||||
.no-js #loader-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-js h1 {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title {
|
||||
font-family: "Open Sans";
|
||||
color: #fff;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
z-index: 9999999999999;
|
||||
position: absolute;
|
||||
top: 60%;
|
||||
opacity: 1;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title span {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: 13px;
|
||||
color: #fff;
|
||||
opacity: 0.5;
|
||||
}
|
||||
</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>
|
||||
<script type="text/javascript">
|
||||
var theme = localStorage.getItem('theme')
|
||||
document.getElementsByClassName('loader-section')[0].style = theme == 'theme-dark' ? 'background: #46576e;' : 'background: #3671e8;'
|
||||
document.getElementsByClassName('loader-section')[1].style = theme == 'theme-dark' ? 'background: #46576e;' : 'background: #3671e8;'
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
BIN
cp-ems-ui/public/new-logo.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
2
cp-ems-ui/public/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
BIN
cp-ems-ui/public/static/images/back.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
cp-ems-ui/public/static/images/bottom.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
cp-ems-ui/public/static/images/front.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
cp-ems-ui/public/static/images/left.jpg
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
cp-ems-ui/public/static/images/right.jpg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
cp-ems-ui/public/static/images/top.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
cp-ems-ui/public/static/obj/exampleOne/Map__21_输出.tga
Normal file
BIN
cp-ems-ui/public/static/obj/exampleOne/Map__23_Gradient.tga
Normal file
BIN
cp-ems-ui/public/static/obj/exampleOne/Map__6_Mix.tga
Normal file
165
cp-ems-ui/public/static/obj/exampleOne/file.mtl
Normal file
@@ -0,0 +1,165 @@
|
||||
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
|
||||
# 创建的文件:31.05.2015 16:47:33
|
||||
|
||||
newmtl 窗框_深色
|
||||
Ns 29.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.7412 0.7804 0.8235
|
||||
Kd 0.1569 0.2353 0.2392
|
||||
Ks 0.4359 0.4412 0.4465
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl 白涂料_线脚
|
||||
Ns 15.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.9882 0.9961 1.0000
|
||||
Kd 0.9882 0.9961 1.0000
|
||||
Ks 0.0494 0.0498 0.0500
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl 白墙
|
||||
Ns 15.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.9882 0.9961 0.9255
|
||||
Kd 0.9882 0.9961 0.9255
|
||||
Ks 0.0494 0.0498 0.0500
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl nuanqiang2
|
||||
Ns 25.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.9255 0.8235 0.2471
|
||||
Kd 1.0000 0.8863 0.2667
|
||||
Ks 0.1488 0.1488 0.1488
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl huiqiang
|
||||
Ns 20.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.4941 0.5294 0.5765
|
||||
Kd 0.4941 0.5294 0.5765
|
||||
Ks 0.3395 0.3526 0.3642
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl 金属贴图百叶
|
||||
Ns 26.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.7412 0.7804 0.8235
|
||||
Kd 0.5882 0.6353 0.6902
|
||||
Ks 0.0000 0.0000 0.0000
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
map_refl Map__6_Mix.tga
|
||||
|
||||
newmtl bl_透明02
|
||||
Ns 31.0000
|
||||
Ni 1.5000
|
||||
d 0.2800
|
||||
Tr 0.7200
|
||||
Tf 0.2800 0.2800 0.2800
|
||||
illum 2
|
||||
Ka 0.4275 0.6118 0.6784
|
||||
Kd 0.3412 0.5569 0.7255
|
||||
Ks 0.8446 0.8656 0.8865
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
map_Ka Map__23_Gradient.tga
|
||||
map_Kd Map__23_Gradient.tga
|
||||
map_refl Map__21_输出.tga
|
||||
|
||||
newmtl 楼板
|
||||
Ns 15.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.9882 0.9961 1.0000
|
||||
Kd 0.9882 0.9961 1.0000
|
||||
Ks 0.0494 0.0498 0.0500
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl bl_透明01
|
||||
Ns 31.0000
|
||||
Ni 1.5000
|
||||
d 0.3100
|
||||
Tr 0.6900
|
||||
Tf 0.3100 0.3100 0.3100
|
||||
illum 2
|
||||
Ka 0.4275 0.6118 0.6784
|
||||
Kd 0.2039 0.4588 0.5529
|
||||
Ks 0.8446 0.8656 0.8865
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
map_Ka Map__23_Gradient.tga
|
||||
map_Kd Map__23_Gradient.tga
|
||||
map_refl Map__21_输出.tga
|
||||
|
||||
newmtl nuanqiang
|
||||
Ns 25.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.4824 0.4000 0.2235
|
||||
Kd 0.4824 0.4000 0.2235
|
||||
Ks 0.1488 0.1488 0.1488
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl 面砖墙00001
|
||||
Ns 36.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.8196 0.4784 0.3098
|
||||
Kd 0.8039 0.5020 0.2549
|
||||
Ks 0.3039 0.2954 0.2833
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl nuanqiang_3
|
||||
Ns 25.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.4824 0.4000 0.2235
|
||||
Kd 0.4824 0.4000 0.2235
|
||||
Ks 0.1488 0.1488 0.1488
|
||||
Ke 0.0000 0.0000 0.0000
|
||||
|
||||
newmtl huiqiang02
|
||||
Ns 20.0000
|
||||
Ni 1.5000
|
||||
d 1.0000
|
||||
Tr 0.0000
|
||||
Tf 1.0000 1.0000 1.0000
|
||||
illum 2
|
||||
Ka 0.7098 0.7098 0.7098
|
||||
Kd 0.7098 0.7098 0.7098
|
||||
Ks 0.3395 0.3526 0.3642
|
||||
Ke 0.0000 0.0000 0.0000
|
||||