|
@@ -2,22 +2,22 @@
|
|
|
<div class="left-charts">
|
|
|
<div class="left-chart-item">
|
|
|
<dv-charts class="item-chart" :option="option" />
|
|
|
- <div class="item-chart-word zongshu">总数</div>
|
|
|
+ <div class="item-chart-word-num zongshu">总数</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="left-chart-item">
|
|
|
<dv-charts class="item-chart" :option="option1" />
|
|
|
- <div class="item-chart-word zaixianshu">在线数</div>
|
|
|
+ <div class="item-chart-word-num zaixianshu">在线数</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="left-chart-item">
|
|
|
<dv-charts class="item-chart" :option="option2" />
|
|
|
- <div class="item-chart-word lixianshu">离线数</div>
|
|
|
+ <div class="item-chart-word-num lixianshu">离线数</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="left-chart-item">
|
|
|
<dv-charts class="item-chart" :option="option3" />
|
|
|
- <div class="item-chart-word gaojingshu">告警数</div>
|
|
|
+ <div class="item-chart-word-num gaojingshu">告警数</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -48,6 +48,7 @@ export default {
|
|
|
startAngle: -Math.PI / 2,
|
|
|
endAngle: Math.PI * 1.5,
|
|
|
arcLineWidth: 10,
|
|
|
+ radius:'80%',
|
|
|
data: [
|
|
|
{
|
|
|
name: "itemA",
|
|
@@ -73,7 +74,7 @@ export default {
|
|
|
formatter: "{value}",
|
|
|
style: {
|
|
|
fill: "#1ed3e5",
|
|
|
- fontSize: 20,
|
|
|
+ fontSize: 30,
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -86,6 +87,7 @@ export default {
|
|
|
startAngle: -Math.PI / 2,
|
|
|
endAngle: Math.PI * 1.5,
|
|
|
arcLineWidth: 10,
|
|
|
+ radius:'80%',
|
|
|
data: [
|
|
|
{
|
|
|
name: "itemA",
|
|
@@ -111,7 +113,7 @@ export default {
|
|
|
formatter: "{value}",
|
|
|
style: {
|
|
|
fill: "#1ed3e5",
|
|
|
- fontSize: 20,
|
|
|
+ fontSize: 30,
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -124,6 +126,7 @@ export default {
|
|
|
startAngle: -Math.PI / 2,
|
|
|
endAngle: Math.PI * 1.5,
|
|
|
arcLineWidth: 10,
|
|
|
+ radius:'80%',
|
|
|
data: [
|
|
|
{
|
|
|
name: "itemA",
|
|
@@ -149,7 +152,7 @@ export default {
|
|
|
formatter: "{value}",
|
|
|
style: {
|
|
|
fill: "#1ed3e5",
|
|
|
- fontSize: 20,
|
|
|
+ fontSize: 30,
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -162,6 +165,7 @@ export default {
|
|
|
startAngle: -Math.PI / 2,
|
|
|
endAngle: Math.PI * 1.5,
|
|
|
arcLineWidth: 10,
|
|
|
+ radius:'80%',
|
|
|
data: [
|
|
|
{
|
|
|
name: "itemA",
|
|
@@ -187,7 +191,7 @@ export default {
|
|
|
formatter: "{value}",
|
|
|
style: {
|
|
|
fill: "#1ed3e5",
|
|
|
- fontSize: 20,
|
|
|
+ fontSize: 30,
|
|
|
},
|
|
|
},
|
|
|
animationFrame: 10,
|
|
@@ -221,8 +225,10 @@ export default {
|
|
|
height: calc(100% - 80px);
|
|
|
position: relative;
|
|
|
}
|
|
|
- .item-chart-word {
|
|
|
- font-size: 16px;
|
|
|
+ .item-chart-word-num {
|
|
|
+ font-size: 20px;
|
|
|
+ margin-top: 15px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
.zongshu {
|
|
|
color: rgb(0, 253, 250);
|