Przeglądaj źródła

perf: 优化风险预警

TwoKe945 1 rok temu
rodzic
commit
92373b0f6d
1 zmienionych plików z 1 dodań i 22 usunięć
  1. 1 22
      app/src/views/Home/components/RiskWarning.vue

+ 1 - 22
app/src/views/Home/components/RiskWarning.vue

@@ -34,27 +34,6 @@ export default {
           },
           formatter: "{a} <br/>{b}",
         },
-        title: {
-          text: "{value|1773}栋\n{name|高层建筑总数}",
-          x: "39%",
-          y: "center",
-          textAlign: "center",
-          textStyle: {
-            color: "#fff",
-            fontSize: 12,
-            rich: {
-              value: {
-                color: "#fff",
-                fontSize: 28,
-                lineHeight: 28,
-              },
-              name: {
-                color: "#fff",
-                lineHeight: 12,
-              },
-            },
-          },
-        },
         legend: {
           show: true,
           right: 0,
@@ -76,7 +55,7 @@ export default {
             name: "建筑总数",
             type: "pie",
             center: ["40%", "50%"],
-            radius: ["50%", "65%"],
+            radius: ["10%", "65%"],
             avoidLabelOverlap: false,
             label: {
               normal: {