From 57d40a94f0892f81dc14fb700e7614a7776a4fca Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 12 Oct 2022 13:42:51 +0800
Subject: [PATCH] 增加首页地图和按钮

---
 src/pcviews/homee/BuildingCost/index.vue |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/src/pcviews/homee/BuildingCost/index.vue b/src/pcviews/homee/BuildingCost/index.vue
index 111ee69..754f383 100644
--- a/src/pcviews/homee/BuildingCost/index.vue
+++ b/src/pcviews/homee/BuildingCost/index.vue
@@ -66,14 +66,24 @@
             })
             const option = {
                 title: {
-                    text: '▎学校建筑用电排名',
-                    textStyle: {
-                        color: '#fff',
-                        fontSize: 16,
-                        weight: 400
-                    },
+                    show: true,
+                    text: ['{a|▎}', '{b|学校建筑用电排名}'],
                     left: 16,
-                    top: 16
+                    top: 16,
+                    textStyle: {
+                        rich: {
+                            a: {
+                                color: '#28f2ff',
+                                fontSize: 16,
+                                weight: 400
+                            },
+                            b: {
+                                color: '#fff',
+                                fontSize: 16,
+                                weight: 400
+                            }
+                        }
+                    }
                 },
                 tooltop: {
                     trigger: 'item',

--
Gitblit v1.9.3