党建大屏
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| export default { | ||||
|   legend: { | ||||
|     right: 0, | ||||
|     top: '30%', | ||||
|     right: 20, | ||||
|     top: 'middle', | ||||
|     orient: 'vertical', | ||||
|     textStyle: {color: "#fff", fontSize: 14} | ||||
|   }, | ||||
| @@ -14,9 +14,6 @@ export default { | ||||
|   xAxis: {show: false}, | ||||
|   yAxis: {show: false}, | ||||
|   tooltip: { | ||||
|     backgroundColor: "rgba(14, 51, 111, 0.9)", | ||||
|     borderColor: "#1A6ABC", | ||||
|     textStyle: {color: "#fff"} | ||||
|   }, | ||||
|   series: { | ||||
|     type: "pie", | ||||
|   | ||||
| @@ -1,19 +1,19 @@ | ||||
| export default { | ||||
|   legend: { | ||||
|     right: 0, | ||||
|     top: '30%', | ||||
|     right: 20, | ||||
|     top: 'middle', | ||||
|     orient: 'vertical', | ||||
|     textStyle: {color: "#fff", fontSize: 14} | ||||
|   }, | ||||
|   grid: { | ||||
|     height: 260 | ||||
|     top: '0%', | ||||
|     left: '0%', | ||||
|     right: '0px', | ||||
|     bottom: '0%' | ||||
|   }, | ||||
|   xAxis: {show: false}, | ||||
|   yAxis: {show: false}, | ||||
|   tooltip: { | ||||
|     backgroundColor: "rgba(14, 51, 111, 0.9)", | ||||
|     borderColor: "#1A6ABC", | ||||
|     textStyle: {color: "#fff"} | ||||
|   }, | ||||
|   series: { | ||||
|     type: "pie", | ||||
| @@ -26,16 +26,7 @@ export default { | ||||
|     label: { | ||||
|       show: false | ||||
|     }, | ||||
|     labelLine: {}, | ||||
|     labelLayout: function (params) { | ||||
|       let points = params.labelLinePoints, | ||||
|           isLeft = points[2][0] < points[1][0] | ||||
|       points[2][0] = | ||||
|           points[2][0] + (params.labelRect.width + 4) * (isLeft ? -1 : 1) | ||||
|       return { | ||||
|         labelLinePoints: points | ||||
|       } | ||||
|     } | ||||
|     labelLine: {} | ||||
|   }, | ||||
|   render: (h, params) => { | ||||
|     const formatNum = num => { | ||||
| @@ -62,7 +53,7 @@ export default { | ||||
|             color: "#8BCCFF", | ||||
|             left: "50%", | ||||
|             top: "50%", | ||||
|             zIndex: '0', | ||||
|             zIndex: '-1', | ||||
|             display: "flex", | ||||
|             alignItems: "center", | ||||
|             justifyContent: "center", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user