From d33eacc1f85ac3a736b33ba4713a19aae466d711 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 05 八月 2022 16:42:53 +0800
Subject: [PATCH] 1.做适应平板显示的内容大小

---
 src/utils/myEcharts.js |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index af575cb..6267536 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -402,7 +402,8 @@
           show: false
         },
         axisLabel: {
-          color: '#d8d7d9',
+          // color: '#d8d7d9',
+          color: '#fff',
           fontSize: 14,
           formatter: function(value, index) {
             return [
@@ -412,7 +413,8 @@
           rich: {
             lg: {
               // backgroundColor: '#339911',
-              color: '#d8d7d9',
+              // color: '#d8d7d9',
+              color: '#fff',
               borderRadius: 15,
               // padding: 5,
               align: 'center',
@@ -502,11 +504,13 @@
     },
     title: {
       text: titleText,
-      x: '70%',
+      x: '73%',
       y: '2%',
       textStyle: {
-        color: '#fff',
-        fontSize: '22'
+        // color: '#fff',
+        color: '#00ffff',
+        fontSize: '18',
+        fontWeight: 'lighter'
       },
       subtextStyle: {
         color: '#90979c',

--
Gitblit v1.9.3