diff --git a/src/components/navLeft/index.vue b/src/components/navLeft/index.vue index 09aeeb0..6d66ccf 100644 --- a/src/components/navLeft/index.vue +++ b/src/components/navLeft/index.vue @@ -43,7 +43,7 @@
其他 -
+
摄像头1 摄像头1 摄像头1 diff --git a/src/views/testing/components/box-5.vue b/src/views/testing/components/box-5.vue index 9928329..b1bdf77 100644 --- a/src/views/testing/components/box-5.vue +++ b/src/views/testing/components/box-5.vue @@ -106,8 +106,6 @@ top:0, width:fitChartSize(250), height:fitChartSize(250), - // width:200, - // height:200, radius: ['40%', '50%'], avoidLabelOverlap: false, padAngle: 5, @@ -143,7 +141,9 @@ ], }); const optionLine = ref({ + backgroundColor:'transparent', + grid:{ top:'50', bottom:'50', @@ -246,6 +246,10 @@ bottom: 20, itemWidth:5, itemHeight:5, + textStyle:{ + fontSize:fitChartSize(12), + } + }, grid: { left: '3%', @@ -287,7 +291,6 @@ min:0, max:45, interval:15, - axisLabel: { fontSize: fitChartSize(12) ,// 设置Y轴刻度字体大小 color: 'rgba(255,255,255,0.9)', @@ -304,7 +307,6 @@ } ], series: [ - { itemStyle: { // 设置柱状图颜色 diff --git a/src/views/traffic/components/box-2.vue b/src/views/traffic/components/box-2.vue index f4fd32a..2f73989 100644 --- a/src/views/traffic/components/box-2.vue +++ b/src/views/traffic/components/box-2.vue @@ -1,19 +1,36 @@