Browse Source

1.tab1注释无数据时提示;2.改sisview宽高比;3.charts向左移动一点点

mw_666 3 năm trước cách đây
mục cha
commit
157e4829ba

+ 2 - 2
src/components/chart/pie/radar-pie-chart.vue

@@ -98,7 +98,7 @@ export default {
           itemGap: 8,
         },
         radar: {
-          center: ["35%", "50%"],
+          center: ["25%", "50%"],
           radius: "80%",
           startAngle: 90,
           splitNumber: 8,
@@ -233,7 +233,7 @@ export default {
             clockwise: false,
             startAngle: 90,
             radius: "70%",
-            center: ["35%", "50%"],
+            center: ["25%", "50%"],
             hoverAnimation: false,
             roseType: "radius", //area
             data: this.list,

+ 4 - 4
src/views/allLifeManage/tab1.vue

@@ -344,10 +344,10 @@ export default {
               });
               that.tableData.data = res.data.records || [];
             } else {
-              that.BASE.showMsg({
-                type: "warning",
-                msg: "所选日期区间之内暂无数据,请重试",
-              });
+              // that.BASE.showMsg({
+              //   type: "warning",
+              //   msg: "所选日期区间之内暂无数据,请重试",
+              // });
             }
             that.showDialog = true;
           },

+ 7 - 7
src/views/sisView/index.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="sisViewBox">
     <div class="viewItem">
-      <clock :width="330" :height="290" />
+      <clock :width="330" :height="280" />
       <div class="viewTitle">综<br /><br />合<br /><br />参<br /><br />数</div>
-      <div class="contentBox">
+      <div class="contentBox" style="height: 280px;">
         <div class="contentItem">
           <div class="itemName">装机容量</div>
           <div class="itemNum">{{items.zjrl}}</div>
@@ -373,7 +373,7 @@ export default {
       font-family: Arial, Helvetica, sans-serif;
       width: 30px;
       padding: 10px 40px;
-      font-size: 25px;
+      font-size: 29px;
       font-weight: 700;
       color: #ff0;
       text-decoration: none;
@@ -387,11 +387,11 @@ export default {
 
     .contentBox {
       display: flex;
-      justify-content: start;
+      justify-content: space-around;
       align-items: flex-start;
       flex-direction: column;
       font-family: Georgia, "Times New Roman", Times, serif;
-      font-size: 25px;
+      font-size: 29px;
 
       .contentItem {
         display: flex;
@@ -400,7 +400,7 @@ export default {
         padding: 2px 0;
 
         .itemName {
-          width: 220px;
+          width: 195px;
           padding: 0 10px;
           text-align: justify;
           text-align-last: justify;
@@ -409,7 +409,7 @@ export default {
         .itemNum {
           font-family: Arial, Helvetica, sans-serif;
           color: #f25656;
-          width: 130px;
+          width: 145px;
         }
 
         .itemUnit {