浏览代码

Merge branch 'ZHNY_WW' into ZHNY_DCF

DESKTOP-GBVU60Q\dell 1 年之前
父节点
当前提交
3ef78e08d2
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 5 5
      src/views/miaoqing/components/hczb.vue
  2. 4 4
      src/views/miaoqing/components/hczrqs.vue

+ 5 - 5
src/views/miaoqing/components/hczb.vue

@@ -84,9 +84,9 @@
 			var seriesOption = [{
 				name: '',
 				type: 'pie',
-				clockWise: false,
+				clockWise: true,
 				radius: [85, 89],
-				hoverAnimation: false,
+				hoverAnimation: true,
 				itemStyle: {
 					normal: {
 						label: {
@@ -110,7 +110,7 @@
 						labelLine: {
 							length: 10,
 							length2: 10,
-							show: true,
+							show: false,
 							color: '#00ffff'
 						}
 					}
@@ -153,12 +153,12 @@
 					}]
 				},
 				tooltip: {
-					show: false
+					show: true
 				},
 				legend: {
 					icon: "circle",
 					orient: 'horizontal',
-					x: 'left',
+					x: 'center',
 					y: 'top',
 					data: ['天牛', '布甲', '黑翅蛾', '隐翅虫'],
 					right: 20,

+ 4 - 4
src/views/miaoqing/components/hczrqs.vue

@@ -76,7 +76,7 @@
 			let option = {
 				// backgroundColor: '#043065',
 				grid: {
-					left: '10%',
+					left: '15%',
 					top: '10%',
 					bottom: '20%',
 					right: '0%',
@@ -129,7 +129,7 @@
 							}
 						},
 						axisTick: {
-							show: false
+							show: true
 						},
 						axisLabel: {
 							formatter: '{value}',
@@ -141,7 +141,7 @@
 				xAxis: [{
 						type: 'category',
 						axisTick: {
-							show: false
+							show: true
 						},
 						axisLine: {
 							show: true,
@@ -192,7 +192,7 @@
 
 <style scoped>
 	#main5 {
-		width: 300rem;
+		width: 340rem;
 		height: 230rem;
 		margin-top: 15rem;
 	}