You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
459 lines
9.8 KiB
Vue
459 lines
9.8 KiB
Vue
<template>
|
|
<div class="board">
|
|
<div class="topNav"></div>
|
|
<div class="title">
|
|
微电网能源管理系统
|
|
</div>
|
|
<div class="rightTop">
|
|
<span>今日告警:</span>
|
|
<span style="color: #ff0000">2234</span>
|
|
<br>
|
|
<span>累计告警:</span>
|
|
<span style="color: #4F98B8">3392</span>
|
|
</div>
|
|
<div class="bottomLeftTop">
|
|
<div class="title3">收益</div>
|
|
<div class="card1">
|
|
<div class="a1">
|
|
当日收益
|
|
</div>
|
|
<div class="a2" style="white-space: nowrap;text-align: center">
|
|
<span style="padding: 0 1vw;font-size: 1vw">1111</span>
|
|
<span>元</span>
|
|
</div>
|
|
<div class="a3">
|
|
<img src="@/assets/demo/2收益.png" alt="" width="100%">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bottomLeftMid">
|
|
<div class="title3">发电量</div>
|
|
<div class="title2">光伏/市电日电量占比</div>
|
|
<div class="num2">100</div>
|
|
<div class="span2">%</div>
|
|
<div class="num3">100</div>
|
|
<div class="span3">%</div>
|
|
</div>
|
|
<div class="bottomLeftBottom">
|
|
<div class="title3">气象信息</div>
|
|
<div class="card2">
|
|
<div class="icon2">
|
|
<img src="@/assets/demo/光照.png" alt="" width="100%">
|
|
</div>
|
|
<div class="card2Title">光照</div>
|
|
<div class="card2Span">
|
|
<span>
|
|
0.00
|
|
</span>
|
|
<span style="position:absolute;right: 0">
|
|
lx
|
|
</span></div>
|
|
</div>
|
|
<div class="card2">
|
|
<div class="icon2">
|
|
<img src="@/assets/demo/风速.png" alt="" width="100%">
|
|
</div>
|
|
<div class="card2Title">风速</div>
|
|
<div class="card2Span">
|
|
<span>
|
|
0.00
|
|
</span>
|
|
<span style="position:absolute;right: 0">
|
|
m/s
|
|
</span></div>
|
|
</div>
|
|
<div class="card2">
|
|
<div class="icon2">
|
|
<img src="@/assets/demo/湿度.png" alt="" width="100%">
|
|
</div>
|
|
<div class="card2Title">湿度</div>
|
|
<div class="card2Span">
|
|
<span>
|
|
0.00
|
|
</span>
|
|
<span style="position:absolute;right: 0">
|
|
%
|
|
</span></div>
|
|
</div>
|
|
<div class="card2">
|
|
<div class="icon2">
|
|
<img src="@/assets/demo/温度.png" alt="" width="100%">
|
|
</div>
|
|
<div class="card2Title">温度</div>
|
|
<div class="card2Span">
|
|
<span>
|
|
0.00
|
|
</span>
|
|
<span style="position:absolute;right: 0">
|
|
°C
|
|
</span></div>
|
|
</div>
|
|
</div>
|
|
<div class="cards">
|
|
<div class="card" style="left: 0%;background-color: #DD8F78">
|
|
<div class="cardTitle">上网电量</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
日上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
103.2
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
累计上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
36371
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card" style="left: 25%;background-color: #DD8F78">
|
|
<div class="cardTitle">上网电量</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
日上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
103.2
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
累计上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
36371
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card" style="left: 50%;background-color: #DD8F78">
|
|
<div class="cardTitle">上网电量</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
日上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
103.2
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
累计上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
36371
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card" style="left: 75%;background-color: #DD8F78">
|
|
<div class="cardTitle">上网电量</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
日上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
103.2
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
<div class="cardInfo">
|
|
<div class="cardItem" style="width: 50%;padding-left: 0.5vw;">
|
|
累计上网电量
|
|
</div>
|
|
<div class="cardItem" style="width: 20%;font-size: 1.2vw">
|
|
36371
|
|
</div>
|
|
<div class="cardItem" style="width: 30%;text-align: right;padding-right: 0.5vw;">
|
|
kwh
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bottomRight">
|
|
<div class="title3">逆变器参数</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
</script>
|
|
<style scoped lang="less">
|
|
.topNav {
|
|
background-image: url("@/assets/demo/top.jpg");
|
|
position: absolute;
|
|
width: 90%;
|
|
height: 7%;
|
|
top: 0;
|
|
left: 0;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.board {
|
|
background-color: #020A3A;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.title {
|
|
position: absolute;
|
|
top: 2%;
|
|
left: 2%;
|
|
font-size: 1vw;
|
|
color: white;
|
|
}
|
|
|
|
.rightTop {
|
|
position: absolute;
|
|
top: 2%;
|
|
right: 2%;
|
|
font-size: 0.8vw;
|
|
color: white;
|
|
}
|
|
|
|
.cards {
|
|
position: absolute;
|
|
top: 8%;
|
|
left: 25.6%;
|
|
width: 74%;
|
|
height: 15%;
|
|
}
|
|
|
|
.card {
|
|
position: absolute;
|
|
top: 0%;
|
|
width: 24.5%;
|
|
height: 100%;
|
|
color: white;
|
|
font-size: 0.8vw;
|
|
border-radius: 10px;
|
|
line-height: 5vh;
|
|
}
|
|
|
|
.cardTitle {
|
|
margin-left: 0.5vw;
|
|
}
|
|
|
|
.cardItem {
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
}
|
|
|
|
.bottomLeftTop {
|
|
position: absolute;
|
|
top: 8%;
|
|
left: 0.3%;
|
|
width: 25%;
|
|
height: 30%;
|
|
background-color: #141B4C;
|
|
}
|
|
|
|
.bottomLeftMid {
|
|
position: absolute;
|
|
top: 38.6%;
|
|
left: 0.3%;
|
|
width: 25%;
|
|
height: 30%;
|
|
background-color: #141B4C;
|
|
}
|
|
|
|
.bottomLeftBottom {
|
|
position: absolute;
|
|
top: 69.2%;
|
|
left: 0.3%;
|
|
width: 25%;
|
|
height: 30%;
|
|
background-color: #141B4C;
|
|
}
|
|
|
|
.bottomRight {
|
|
position: absolute;
|
|
top: 23.5%;
|
|
left: 25.6%;
|
|
width: 73.5%;
|
|
height: 76%;
|
|
}
|
|
|
|
.card1 {
|
|
width: 40%;
|
|
height: 80%;
|
|
top: 10%;
|
|
left: 10%;
|
|
position: absolute;
|
|
|
|
.a1 {
|
|
position: absolute;
|
|
color: white;
|
|
text-align: center;
|
|
//background-color: #C28E4766;
|
|
top: 10%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 60%;
|
|
height: 1vw;
|
|
}
|
|
|
|
.a2 {
|
|
position: absolute;
|
|
color: white;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100%;
|
|
height: 20%;
|
|
}
|
|
|
|
.a3 {
|
|
position: absolute;
|
|
top: 70%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 70%;
|
|
height: 20%;
|
|
}
|
|
}
|
|
|
|
.title1 {
|
|
position: absolute;
|
|
top: 10%;
|
|
left: 10%;
|
|
}
|
|
|
|
.icon1 {
|
|
position: absolute;
|
|
width: 10%;
|
|
top: 10%;
|
|
right: 10%;
|
|
}
|
|
|
|
.num1 {
|
|
position: absolute;
|
|
bottom: 10%;
|
|
left: 10%;
|
|
}
|
|
|
|
.span1 {
|
|
position: absolute;
|
|
bottom: 10%;
|
|
right: 10%;
|
|
}
|
|
|
|
.title2 {
|
|
position: absolute;
|
|
top: 10%;
|
|
left: 5%;
|
|
font-size: 0.8vw;
|
|
color: white;
|
|
}
|
|
|
|
.num2 {
|
|
position: absolute;
|
|
top: 60%;
|
|
left: 30%;
|
|
font-size: 1.2vw;
|
|
color: white;
|
|
}
|
|
|
|
.span2 {
|
|
position: absolute;
|
|
top: 60%;
|
|
left: 45%;
|
|
font-size: 1.2vw;
|
|
color: white;
|
|
}
|
|
|
|
|
|
.num3 {
|
|
position: absolute;
|
|
top: 60%;
|
|
left: 75%;
|
|
font-size: 1.2vw;
|
|
color: white;
|
|
}
|
|
|
|
.span3 {
|
|
position: absolute;
|
|
top: 60%;
|
|
left: 90%;
|
|
font-size: 1.2vw;
|
|
color: white;
|
|
}
|
|
|
|
.title3 {
|
|
width: 100%;
|
|
height: 10%;
|
|
line-height: 2.4vh;
|
|
font-size: 0.8vw;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
.card2 {
|
|
width: 46%;
|
|
height: 45%;
|
|
margin: 0 2%;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.icon2 {
|
|
position: absolute;
|
|
transform: translateY(-50%);
|
|
top: 50%;
|
|
left: 10%;
|
|
width: 3vw;
|
|
height: 3vw;
|
|
}
|
|
|
|
.card2Title {
|
|
position: absolute;
|
|
width: calc(100% - 10% - 3vw);
|
|
height: 1.5vw;
|
|
line-height: 1.5vw;
|
|
top: 50%;
|
|
left: calc(10% + 3vw);
|
|
transform: translateY(-100%);
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 0.8vw;
|
|
}
|
|
|
|
.card2Span {
|
|
position: absolute;
|
|
width: calc(100% - 10% - 3vw - 20px);
|
|
height: 1.5vw;
|
|
top: 50%;
|
|
left: calc(10% + 3vw + 10px);
|
|
line-height: 1.5vw;
|
|
color: white;
|
|
font-size: 0.8vw;
|
|
}
|
|
</style>
|
|
|
|
|
|
|