瀏覽代碼

style: 30天优化

@dayan_hjm 2 年之前
父節點
當前提交
3375141045
共有 2 個文件被更改,包括 9 次插入7 次删除
  1. 1 1
      config/webpack.dev.js
  2. 8 6
      src/pages/tqcDataVHome/component/bottomLineForSend.jsx

+ 1 - 1
config/webpack.dev.js

@@ -136,7 +136,7 @@ module.exports = merge(common, {
136 136
         // target: "http://47.96.100.195:9081"
137 137
         // target: "http://dataportal-test.agile.com.cn:8081"
138 138
         target: "http://10.8.8.173:9081",
139
-        // target:"http://dataportal.dtyunxi.cn/demo",
139
+        // target:"http://dms.dataportal.tianqilithium.com:9000",
140 140
         changeOrigin:true,
141 141
 
142 142
       },

+ 8 - 6
src/pages/tqcDataVHome/component/bottomLineForSend.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 近30天产量
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-12-19 15:18:50
5
+ * @Last Modified time: 2024-01-03 14:13:59
6 6
  */
7 7
 
8 8
 
@@ -70,10 +70,10 @@ class BottomLineForSend extends Component {
70 70
         },
71 71
         formatter: `日期: {b0}<br />{a0}: {c0}吨<br />{a1}: {c1}吨`,
72 72
         grid: {
73
-          left: '8%',
74
-          top: '15%',
75
-          right: '8%',
76
-          bottom: '10',
73
+          left: '5%',
74
+          top: '10%',
75
+          right: '4%',
76
+          bottom: '15%',
77 77
           containLabel: true
78 78
         },
79 79
         // legend: {
@@ -92,9 +92,11 @@ class BottomLineForSend extends Component {
92 92
           type: 'category',
93 93
           // boundaryGap: ['20%', '20%'],
94 94
           axisLabel: {
95
+            interval: 0,
96
+            rotate: -60, 
95 97
             textStyle: {
96 98
                 color: '#7d7d7d',
97
-                fontSize: 11
99
+                fontSize: 11,
98 100
             },
99 101
             showMaxLabel: true,//关键部分,显示最后一个label
100 102
           },