123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729 |
- @font-face {
- font-family: 'svgfont';
- src: url('iconfont/iconfont.eot');
- src: url('iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('iconfont/iconfont.woff2') format('woff2'), url('iconfont/iconfont.woff') format('woff'), url('iconfont/iconfont.ttf') format('truetype'), url('iconfont/iconfont.svg#iconfont') format('svg');
- }
- .svgfont {
- font-family: "svgfont" !important;
- font-size: 16px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- /* ming start */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- li {
- list-style: none;
- }
- body {
- font-family: Arial, Helvetica, sans-serif;
- margin: 0;
- padding: 0;
- /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
- background: url(../images/bg.png) no-repeat #000;
- background-size: cover;
- /* 行高是字体1.15倍 */
- line-height: 1.15;
- /* height: 100vh; */
- min-height: 600px;
- }
- input::-webkit-input-placeholder,
- textarea::-webkit-input-placeholder {
- color: #fff;
- }
- input:-moz-placeholder,
- textarea:-moz-placeholder {
- color: #fff;
- }
- input::-moz-placeholder,
- textarea::-moz-placeholder {
- color: #fff;
- }
- input:-ms-input-placeholder,
- textarea:-ms-input-placeholder {
- color: #fff;
- }
- header {
- position: relative;
- /* height: 1.25rem; */
- height: 1.125rem;
- background: url(../images/head_bg.png) no-repeat;
- background-position: 20% 0;
- background-size: cover;
- min-width: 1024px;
- /* max-width: 1920px; */
- }
- .mainbox {
- min-width: 1024px;
- /* max-width: 1920px; */
- padding: 0.125rem 0.125rem 0;
- height: calc(100vh - 1.125rem);
- color: #fff;
- min-height: 650px;
- /* min-height: 750px */
- }
- .mainbox .column {
- flex: 3;
- }
- .topBox,
- .bottomBox {
- display: flex;
- position: relative;
- width: 100%;
- }
- .topBox .column:nth-child(2) {
- flex: 5;
- margin: 0 0.125rem 0;
- overflow: hidden;
- }
- .topBox {
- height: 70%;
- /* border: 1px solid red; */
- }
- .bottomBox {
- height: calc(30% - 0.45rem);
- /* border: 1px solid red; */
- margin-top: 0.225rem;
- }
- .bottomBox .panel {
- padding-top: .7rem
- }
- .bottomBox .column {
- text-align: end;
- /* border: 1px solid red */
- }
- .bottomBox .column:first-child {
- margin-right: 0.1125rem
- }
- .bottomBox .column:last-child {
- margin-left: 0.1125rem
- }
- .panel {
- position: relative;
- height: 3.875rem;
- border: 1px solid rgba(25, 186, 139, 0.17);
- /* background: rgba(255, 255, 255, 0.04) url(../images/line\(1\).png); */
- padding: 0 .275rem 0.2rem;
- margin-bottom: .225rem;
- padding-top: .825rem;
- background-size: cover;
- background-repeat: no-repeat;
- }
- .panel.statisTop {
- height: 60%;
- /* border: 1px solid red */
- }
- /* el-select 下拉框 样式 */
- .el-input__suffix {
- line-height: 1rem !important;
- }
- .el-input--suffix .el-input__inner {
- margin-top: 0.2rem;
- width: 2rem !important;
- height: 0.375rem !important;
- background-color: transparent !important;
- color: #4BF4F9 !important;
- font-size: 0.18rem !important;
- border: 1px #4BF4F9 solid !important;
- border-radius: 0px !important;
- }
- .el-input--suffix .el-input__icon {
- width: 0.3125rem;
- line-height: 0.375rem !important;
- }
- .el-input--suffix .el-select__caret {
- color: #4BF4F9 !important;
- font-size: 0.175rem !important;
- }
- .el-input__prefix,
- .el-input__suffix {
- top: -0.30rem !important;
- }
- /* el-select 下拉框 样式 */
- .panel.statisBottom {
- height: calc(100% - 60% - 0.225rem);
- /* border: 1px solid red */
- }
- .panel.deviceSum {
- height: 50%;
- /* border: 1px solid red; */
- }
- .panel.operStatus {
- height: calc(50% - 0.225rem);
- /* border: 1px solid red; */
- }
- .panel::before,
- .mapBox::before,
- .mapSec::before {
- position: absolute;
- top: 0;
- left: 0;
- content: "";
- width: 10px;
- height: 10px;
- border-top: 2px solid #02a6b5;
- border-left: 2px solid #02a6b5;
- z-index: 999
- }
- .panel::after,
- .mapBox::after,
- .mapSec::after {
- position: absolute;
- top: 0;
- right: 0;
- content: "";
- width: 10px;
- height: 10px;
- border-top: 2px solid #02a6b5;
- border-right: 2px solid #02a6b5;
- z-index: 999
- }
- .panel .panel-footer {
- position: absolute;
- left: 0;
- bottom: 0;
- width: 100%;
- }
- .panel-footer::before {
- position: absolute;
- bottom: 0;
- left: 0;
- content: "";
- width: 10px;
- height: 10px;
- border-bottom: 2px solid #02a6b5;
- border-left: 2px solid #02a6b5;
- z-index: 999
- }
- .panel-footer::after {
- position: absolute;
- bottom: 0;
- right: 0;
- content: "";
- width: 10px;
- height: 10px;
- border-bottom: 2px solid #02a6b5;
- border-right: 2px solid #02a6b5;
- z-index: 999
- }
- .panel h2 {
- position: absolute;
- top: 0;
- height: 0.6rem;
- line-height: 0.6rem;
- text-align: center;
- color: #fff;
- font-size: .225rem;
- font-weight: 400;
- }
- .panel h2 a {
- margin: 0 .225rem;
- color: #fff;
- text-decoration: underline;
- }
- .panel .chart {
- height: 3rem;
- }
- .no {
- background: rgba(101, 132, 226, 0.1);
- padding: .225rem;
- }
- .no .no-hd {
- position: relative;
- border: 1px solid rgba(25, 186, 139, 0.17);
- }
- .no .no-hd::before {
- content: "";
- position: absolute;
- width: 30px;
- height: 10px;
- border-top: 2px solid #02a6b5;
- border-left: 2px solid #02a6b5;
- top: 0;
- left: 0;
- }
- .no .no-hd::after {
- content: "";
- position: absolute;
- width: 30px;
- height: 10px;
- border-bottom: 2px solid #02a6b5;
- border-right: 2px solid #02a6b5;
- right: 0;
- bottom: 0;
- }
- .no .no-hd ul {
- display: flex;
- }
- .no .no-hd ul li {
- position: relative;
- flex: 1;
- text-align: center;
- height: 1rem;
- line-height: 1rem;
- font-size: 0.875rem;
- color: #ffeb7b;
- padding: 0.05rem 0;
- font-family: electronicFont;
- font-weight: bold;
- }
- .no .no-hd ul li:first-child::after {
- content: "";
- position: absolute;
- height: 50%;
- width: 1px;
- background: rgba(255, 255, 255, 0.2);
- right: 0;
- top: 25%;
- }
- .no .no-bd ul {
- display: flex;
- }
- .no .no-bd ul li {
- flex: 1;
- height: 0.5rem;
- line-height: 0.5rem;
- text-align: center;
- font-size: 0.225rem;
- color: rgba(255, 255, 255, 0.7);
- padding-top: 0.125rem;
- }
- .map {
- width: 100%;
- height: 100%;
- background: url(../../assets/images/map.png);
- background-repeat: no-repeat;
- background-size: cover;
- background-position: top center;
- }
- @keyframes rotate {
- from {
- transform: translate(-50%, -50%) rotate(0deg);
- }
- to {
- transform: translate(-50%, -50%) rotate(360deg);
- }
- }
- @keyframes rotate1 {
- from {
- transform: translate(-50%, -50%) rotate(0deg);
- }
- to {
- transform: translate(-50%, -50%) rotate(-360deg);
- }
- }
- @media screen and (max-width: 1024px) {
- html {
- font-size: 42px !important;
- }
- }
- @media screen and (min-width: 1920) {
- html {
- font-size: 80px !important;
- }
- }
- /* 首页样式 */
- p {
- margin: 0;
- }
- .mb-10 {
- margin-bottom: .1875rem;
- }
- .text-blue,
- .static {
- color: #0DF4FE
- }
- .text-yellow {
- color: #FEB70D
- }
- .text-orange {
- color: #FE5C0D
- }
- .offLine {
- color: #989898
- }
- .error {
- color: #F6E418
- }
- .alarm,
- .text-red {
- color: #FF0000
- }
- .statisSec ul {
- display: flex;
- width: 100%;
- /* width: calc(100% - .75rem); */
- margin: 0 auto;
- text-align: center;
- background-size: 100% 100%;
- margin-bottom: 0.2rem;
- }
- .statisSec .statisTop ul {
- height: 29%;
- }
- .statisSec ul li {
- flex: 1;
- font-size: 0.2125rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .statisSec ul li div p:first-child {
- margin-bottom: .06rem
- }
- .num {
- font-size: .35rem;
- font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif
- }
- .statisTop {
- background-image: url(../images/statisTop-bg.png);
- }
- .statisTop>ul:first-child {
- background-image: url(../images/statisTop1.png)
- }
- .statisTop>ul:nth-child(2) {
- background-image: url(../images/statisTop2.png)
- }
- .statisTop>ul:nth-child(3) {
- background-image: url(../images/statisTop3.png)
- }
- .statisBottom {
- background-image: url(../images/statisTop-bg.png);
- }
- .deviceSum,
- .operStatus {
- background-image: url(../images/deviceSum.png);
- }
- .currentUsage {
- background-image: url(../images/currentUsage-bg.png);
- }
- .alarmStatis {
- background-image: url(../images/deviceSum.png);
- }
- .statisSec .statisBottom ul {
- height: 100%;
- }
- .statisSec .statisBottom ul li {
- position: relative;
- background-size: 100% 100%;
- background-position: center center;
- background-repeat: no-repeat;
- background-image: url(../images/bg-blue.png);
- }
- .statisSec .statisBottom ul li:nth-child(2) {
- background-image: url(../images/bg-yellow.png);
- }
- .statisSec .statisBottom ul li:nth-child(3) {
- background-image: url(../images/bg-orange.png);
- }
- .statisSec .statisBottom ul li:nth-child(2) {
- margin: 0 .125rem;
- }
- .statisSec .statisBottom .num {
- font-size: .3rem
- }
- .timeEle {
- position: absolute;
- width: 100%;
- line-height: 2.4;
- /* background: #30cfff61; */
- bottom: 0
- }
- .filterSec {
- position: absolute;
- top: .62rem;
- right: 10px;
- z-index: 11111111
- }
- .filterSec select,
- .filterSec option {
- border: 1px solid #036B77;
- min-width: 2.05rem;
- font-size: .15rem;
- height: .27rem;
- color: #036B77;
- line-height: 0.45rem;
- /* background: rgba(0, 0, 0, 0); */
- outline: none;
- padding-left: 0.1rem;
- background-image: -webkit-linear-gradient(bottom, #1298f5, #fff);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- /* 站点概览 */
- .powerView {}
- .panel.powerView {
- height: 100%;
- background-image: url(../images/powerView-bg.png);
- }
- .overview .topBox {
- height: 65%;
- }
- .overview .topBox .deviceSum ul {
- height: 100%;
- }
- .overview .topBox .deviceSum li {
- display: inline-block;
- width: 50%;
- /* border: 1px solid red; */
- height: 100%
- }
- .overview .topBox .deviceSum p {
- font-size: .2rem;
- text-align: center
- }
- .overview .bottomBox {
- height: calc(35% - 0.45rem);
- }
- .overview .bottomBox .panel {
- background-image: url(../images/powerBottom-bg.png);
- padding-bottom: 0
- }
- .overview .map {
- background-image: none;
- }
- .histTab {
- position: absolute;
- top: .62rem;
- left: 45%;
- z-index: 1000
- }
- .histTab li {
- display: inline-block;
- border: 1px solid #0df4fe;
- padding: .05rem .12rem;
- cursor: pointer;
- font-size: .15rem
- }
- /* 分时电量start */
- .eleShareTit {
- font-size: .2rem;
- margin: .5rem 0 .2rem;
- text-align: center;
- }
- .powerBox {
- height: 100%;
- }
- .powerBox .powerViewBottom {
- height: 70%;
- position: relative;
- }
- .powerBox .powerViewBottom .filterSec {
- top: 0;
- right: -.1rem;
- }
- .powerViewBottom .filterSec select {
- min-width: 1rem
- }
- /* 分时电量end */
- .histTab li.active {
- background: #036B77
- }
- /* 站点信息弹框 start */
- .mapSec {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- /* border: 1px solid red; */
- background-image: url(../images/map-sec-bg.png);
- background-size: 100% 100%;
- }
- .siteModelBox {
- width: 4.2375rem;
- /* height: 5rem; */
- background-image: url(../images/modal-bg.png);
- background-size: 100% 100%;
- font-size: .2rem
- }
- .siteIcon {
- /* border: 1px solid red; */
- padding: 4px;
- width: .3rem;
- height: .3rem;
- position: absolute;
- top: .1rem;
- right: .1rem;
- cursor: pointer;
- background-image: url(../images/site-icon.png);
- background-size: 70% 70%;
- background-position: center center;
- background-repeat: no-repeat;
- box-shadow: inset 0 0 0.1rem 0.0125rem rgb(0 244 253 / 60%);
- }
- .amap-info .siteModelBox {
- height: 3.5rem
- }
- .siteIcon:hover {
- opacity: .7
- }
- .siteModelBox {
- padding: 0 0.1875rem;
- position: relative;
- z-index: 999;
- }
- .siteModelBox h2 {
- font-size: 0.2rem;
- color: #0df4fe;
- line-height: 0.6rem;
- position: static;
- text-align: left;
- }
- .siteModelBox h2 .close {
- position: absolute;
- right: 0.125rem;
- top: 0.125rem;
- cursor: pointer;
- }
- .siteModelBox h2 .close:hover {
- opacity: 0.7;
- }
- .siteModelBox .infoLine {
- margin: 0.15rem 0;
- }
- .siteModelBox .infoLine span {
- float: left;
- color: #0df4fe;
- display: inline-block;
- text-align: right;
- width: 1.4rem;
- }
- .siteModelBox .infoLine p {
- padding-left: 1.4rem;
- }
- /* 站点信息弹框 end */
- /* ming end */
|