Parcourir la source

feat:首页自主管理

LAPTOP-U5GOA5HA\zz il y a 1 an
Parent
commit
4c45bc9ce6

+ 3 - 3
app/src/components/Maintenance3D.vue

@@ -311,7 +311,7 @@ function getPie3D(pieData, internalDiameterRatio) {
   series.push(labelSeries);
   // 准备待返回的配置项,把准备好的 legendData、series 传入。
   const option = {
-    color: ["#35C2FF", "#2FDE60", "#FBFF3D"],
+    color: ["#35C2FF", "#2FDE60", "#FBFF3D",'#EB5EF8' ],
     legend: {
       // type: "scroll",
       data: legendData,
@@ -374,8 +374,8 @@ function getPie3D(pieData, internalDiameterRatio) {
     grid3D: {
       show: false,
       boxHeight: 16,
-      top: "-17%",
-      left: "-16%",
+      top: "-15%",
+      left: "-17%",
       viewControl: {
         // 3d效果可以放大、旋转等,请自己去查看官方配置
         alpha: 27,

+ 2 - 2
app/src/components/Overhaul3D.vue

@@ -371,8 +371,8 @@ function getPie3D(pieData, internalDiameterRatio) {
     grid3D: {
       show: false,
       boxHeight: 16,
-      top: "-17%",
-      left: "-16%",
+      top: "-15%",
+      left: "-17%",
       viewControl: {
         // 3d效果可以放大、旋转等,请自己去查看官方配置
         alpha: 27,

+ 4 - 4
app/src/components/PieChart3D.vue

@@ -239,7 +239,7 @@ function getPie3D(pieData, internalDiameterRatio) {
           return `${params.value[3]}`;
       },
       color: '#fff',
-      fontSize: '18px'
+      fontSize: '14px'
     }
 };
 
@@ -307,7 +307,7 @@ function getPie3D(pieData, internalDiameterRatio) {
   series.push(labelSeries);
   // 准备待返回的配置项,把准备好的 legendData、series 传入。
   const option = {
-    color: ["#1162fe", "#3fc865", "#FF7A00", "#5ef8c9", "#5ed3f8", "#5e92f8"],
+    color: ["#1162fe", "#F4F85E", "#FF7A00", "#5ef8c9", "#FC2626", "#5e92f8"],
     legend: {
       data: ["有管理单位(物业)", "有管理单位(非物业)", "居民自主管理", "街道社区代管", "其他管理形式", "无管理主体"],
       icon: "roundRect",
@@ -369,8 +369,8 @@ function getPie3D(pieData, internalDiameterRatio) {
     grid3D: {
       show: false,
       boxHeight: 15,
-      top: "-17%",
-      left: "-16%",
+      top: "-15%",
+      left: "-17%",
       viewControl: {
         // 3d效果可以放大、旋转等,请自己去查看官方配置
         alpha: 27,

+ 1 - 1
app/src/views/Home/components/AutonomousManagement.vue

@@ -84,7 +84,7 @@ export default {
     <div class="autonomous-management_header">
       <button-group @change="change">
         <button-group-item> 管理形式 </button-group-item>
-        <button-group-item> 维护形式 </button-group-item>
+        <button-group-item> 消防设施维保形式 </button-group-item>
         <button-group-item>大修基金</button-group-item>
       </button-group>
     </div>