瀏覽代碼

修改统计模块权证登记比例情况展示样式

zhourj 6 月之前
父節點
當前提交
4dad61e091
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/views/tj/compoent/DoughnutData.vue
  2. 1 1
      src/views/tj/sjtjModules.vue

+ 3 - 3
src/views/tj/compoent/DoughnutData.vue

@@ -1,5 +1,5 @@
 <template>
-  <div ref="main" style="width:400px ;height:300px;"></div>
+  <div ref="main" style="width:calc(100% - 0px) ;height:300px;"></div>
 </template>
 
 <script>
@@ -16,7 +16,7 @@ export default {
     },
     PieColor:{
       type: Array,
-      default: ['#8c42a1', '#4fa5e7']
+      default: ['#ec0808', '#4fa5e7']
     }
   },
   watch:{
@@ -77,7 +77,7 @@ export default {
           {
             name: 'Access From',
             type: 'pie',
-            radius: ['40%', '60%'],
+            radius: ['30%', '50%'],
             avoidLabelOverlap: true,
             itemStyle: {
               normal: {

+ 1 - 1
src/views/tj/sjtjModules.vue

@@ -402,7 +402,7 @@ export default {
       paramSz: "",
       resData2: [],
       color: ['#42A4EB', '#F79A3E'],
-      color1: ['#F36F8A', '#5F71D2'],
+      color1: ['#ff8c37', '#a181fc','#fd6f97','#389af4'],
       resData1:
         [                  //每个模块的名字和值