|
@@ -6,7 +6,7 @@
|
|
|
<div :class="current===2?'manual_on':'manual'" @click="ChangeBar(2)">手动</div>
|
|
|
</div>
|
|
|
<div style="display: flex;flex-direction: row;z-index: 2;">
|
|
|
- <div class="dataShow">
|
|
|
+ <!-- <div class="dataShow">
|
|
|
<div class="number">
|
|
|
<div class="dataName">健康指数</div>
|
|
|
<div class="numbers">{{showDate.healthIndex}}</div>
|
|
@@ -21,13 +21,29 @@
|
|
|
<div class="progress">
|
|
|
<div class="progressNum" :style="resourceStyle"></div>
|
|
|
</div>
|
|
|
- <!-- <div class="wind">
|
|
|
- <div class="windNum">88%</div>
|
|
|
- <div class="windTitle">风能利用率</div>
|
|
|
- </div> -->
|
|
|
+ </div> -->
|
|
|
+ <div class="showData">
|
|
|
+ <div class="dataBox">
|
|
|
+ <div class="dataTitle">健康指数</div>
|
|
|
+ <div class="datas">{{showDate.healthIndex}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="dataBox">
|
|
|
+ <div class="dataTitle">资源指数</div>
|
|
|
+ <div class="datas">{{showDate.resourceIndex}}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div id="mainEcharts" class="echarts"></div>
|
|
|
- <div class="dataShows">
|
|
|
+ <div class="showData">
|
|
|
+ <div class="dataBox-right">
|
|
|
+ <div class="dataTitle">风能利用率</div>
|
|
|
+ <div class="datas">{{showDate.windEnergyRate}}%</div>
|
|
|
+ </div>
|
|
|
+ <div class="dataBox-right">
|
|
|
+ <div class="dataTitle">曲线跟随率</div>
|
|
|
+ <div class="datas">{{showDate.curveFollowingRate}}%</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="dataShows">
|
|
|
<div class="number">
|
|
|
<div class="numbers-right">{{showDate.windEnergyRate}}%</div>
|
|
|
<div class="dataName-right">风能利用率</div>
|
|
@@ -35,8 +51,6 @@
|
|
|
<div class="progress-right">
|
|
|
<div class="progressNum-right" :style="windStyle"></div>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
<div class="number">
|
|
|
<div class="numbers-right">{{showDate.curveFollowingRate}}%</div>
|
|
|
<div class="dataName-right">曲线跟随率</div>
|
|
@@ -44,12 +58,7 @@
|
|
|
<div class="progress-right">
|
|
|
<div class="progressNum-right" :style="curveStyle"></div>
|
|
|
</div>
|
|
|
-
|
|
|
- <!-- <div class="follow">
|
|
|
- <div class="followNum">88%</div>
|
|
|
- <div class="followTitle">曲线跟随率</div>
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -156,7 +165,8 @@
|
|
|
option = {
|
|
|
series: [{
|
|
|
type: 'gauge',
|
|
|
- max: 600,
|
|
|
+ max: 664,
|
|
|
+ splitNumber: 8,
|
|
|
anchor: {
|
|
|
show: true,
|
|
|
showAbove: true,
|
|
@@ -181,7 +191,7 @@
|
|
|
axisLine: {
|
|
|
lineStyle: {//仪表盘轴线相关配置。
|
|
|
width: 2,
|
|
|
- color: [[1, '#8c929d']]
|
|
|
+ color: [[1, 'rgba(83, 92, 93, 0.5)']]
|
|
|
}
|
|
|
},
|
|
|
axisLabel: {
|
|
@@ -205,13 +215,13 @@
|
|
|
},
|
|
|
title: {
|
|
|
color: '#999999',
|
|
|
- offsetCenter: ['-60%', '80%']
|
|
|
+ offsetCenter: ['-60%', '90%']
|
|
|
},
|
|
|
detail: {
|
|
|
width: 45,
|
|
|
height: 12,
|
|
|
fontSize: 18,
|
|
|
- offsetCenter: ['-60%', '95%']
|
|
|
+ offsetCenter: ['-60%', '110%']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -222,13 +232,13 @@
|
|
|
},
|
|
|
title: {
|
|
|
color: '#999999',
|
|
|
- offsetCenter: ['0%', '80%']
|
|
|
+ offsetCenter: ['0%', '90%']
|
|
|
},
|
|
|
detail: {
|
|
|
width: 45,
|
|
|
height: 12,
|
|
|
fontSize: 18,
|
|
|
- offsetCenter: ['0%', '95%']
|
|
|
+ offsetCenter: ['0%', '110%']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -239,13 +249,13 @@
|
|
|
},
|
|
|
title: {
|
|
|
color: '#999999',
|
|
|
- offsetCenter: ['60%', '80%']
|
|
|
+ offsetCenter: ['60%', '90%']
|
|
|
},
|
|
|
detail: {
|
|
|
width: 45,
|
|
|
height: 12,
|
|
|
fontSize: 18,
|
|
|
- offsetCenter: ['60%', '95%']
|
|
|
+ offsetCenter: ['60%', '110%']
|
|
|
}
|
|
|
}
|
|
|
],
|
|
@@ -595,11 +605,11 @@
|
|
|
}
|
|
|
|
|
|
.echarts {
|
|
|
- width: 400px;
|
|
|
- height: 360px;
|
|
|
- margin-top: -24px;
|
|
|
+ width: 300px;
|
|
|
+ height: 280px;
|
|
|
+ margin-top: 20px;
|
|
|
/* background-color: #000000; */
|
|
|
- margin-left: 105px;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
.wind {
|
|
@@ -642,4 +652,48 @@
|
|
|
.numbers-right{
|
|
|
margin-left: 18px;
|
|
|
}
|
|
|
+ .showData{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ .dataBox{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ width: 120px;
|
|
|
+ height: 60px;
|
|
|
+ border: 1px solid rgba(83, 92, 93, 1);
|
|
|
+ margin-bottom: 15px;
|
|
|
+ margin-top: 15px;
|
|
|
+ margin-left: 30px;
|
|
|
+ }
|
|
|
+ .dataBox-right{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ width: 120px;
|
|
|
+ height: 60px;
|
|
|
+ border: 1px solid rgba(83, 92, 93, 1);
|
|
|
+ margin-bottom: 15px;
|
|
|
+ margin-top: 15px;
|
|
|
+ margin-right: 30px;
|
|
|
+ }
|
|
|
+ .dataTitle{
|
|
|
+ height: 50%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 12px;
|
|
|
+ color: rgba(153, 162, 163, 1);
|
|
|
+ margin-left: 5px;
|
|
|
+ }
|
|
|
+ .datas{
|
|
|
+ height: 50%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: rgba(05, 187, 76, 1);
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
</style>
|