From 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 16 一月 2023 10:35:15 +0800
Subject: [PATCH] 廊坊代码更新

---
 src/components/echart11.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/components/echart11.vue b/src/components/echart11.vue
index b62ade5..c0d52f6 100644
--- a/src/components/echart11.vue
+++ b/src/components/echart11.vue
@@ -10,7 +10,7 @@
   components: {},
   data() {
     //杩欓噷瀛樻斁鏁版嵁
-    return { myChart };
+    return { myChart: null };
   },
   mounted() {
     this.lineChart();
@@ -24,7 +24,9 @@
       let option = {
         title: {
           text: '鐩綍鍒嗗竷',
+          top: '15',
           textStyle: {
+
             color: '#fff',
           },
         },
@@ -37,6 +39,7 @@
         // legend: {},
         grid: {
           left: '0%',
+
           right: '4%',
           bottom: '0%',
           containLabel: true,
@@ -155,17 +158,18 @@
       });
     },
   },
-  created() {},
+  created() { },
 };
 </script>
 <style lang="less" scoped>
 //@import url(); 寮曞叆鍏叡css绫�
 .echart6_box {
   padding: 20px;
-  // background: rgba(0, 0, 0, 0.6);
-}
-#echart6 {
   width: 100%;
   height: 100%;
 }
+#echart6 {
+  width: calc(100% - 40px);
+  height: calc(100% - 40px);
+}
 </style>

--
Gitblit v1.9.3