소스 검색

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
         // target: "http://47.96.100.195:9081"
136
         // target: "http://47.96.100.195:9081"
137
         // target: "http://dataportal-test.agile.com.cn:8081"
137
         // target: "http://dataportal-test.agile.com.cn:8081"
138
         target: "http://10.8.8.173:9081",
138
         target: "http://10.8.8.173:9081",
139
-        // target:"http://dataportal.dtyunxi.cn/demo",
139
+        // target:"http://dms.dataportal.tianqilithium.com:9000",
140
         changeOrigin:true,
140
         changeOrigin:true,
141
 
141
 
142
       },
142
       },

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

@@ -2,7 +2,7 @@
2
  * @Author: dayan_hjm 近30天产量
2
  * @Author: dayan_hjm 近30天产量
3
  * @Date: 2023-10-23 09:32:12 
3
  * @Date: 2023-10-23 09:32:12 
4
  * @Last Modified by: dayan_hjm
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
         formatter: `日期: {b0}<br />{a0}: {c0}吨<br />{a1}: {c1}吨`,
71
         formatter: `日期: {b0}<br />{a0}: {c0}吨<br />{a1}: {c1}吨`,
72
         grid: {
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
           containLabel: true
77
           containLabel: true
78
         },
78
         },
79
         // legend: {
79
         // legend: {
@@ -92,9 +92,11 @@ class BottomLineForSend extends Component {
92
           type: 'category',
92
           type: 'category',
93
           // boundaryGap: ['20%', '20%'],
93
           // boundaryGap: ['20%', '20%'],
94
           axisLabel: {
94
           axisLabel: {
95
+            interval: 0,
96
+            rotate: -60, 
95
             textStyle: {
97
             textStyle: {
96
                 color: '#7d7d7d',
98
                 color: '#7d7d7d',
97
-                fontSize: 11
99
+                fontSize: 11,
98
             },
100
             },
99
             showMaxLabel: true,//关键部分,显示最后一个label
101
             showMaxLabel: true,//关键部分,显示最后一个label
100
           },
102
           },