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/PipeNetCount/index.vue | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/src/pcviews/homee/PipeNetCount/index.vue b/src/pcviews/homee/PipeNetCount/index.vue
index 4133f3b..27d84d0 100644
--- a/src/pcviews/homee/PipeNetCount/index.vue
+++ b/src/pcviews/homee/PipeNetCount/index.vue
@@ -60,14 +60,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
+ }
+ }
+ }
},
grid: {
left: '3%',
@@ -92,6 +102,9 @@
yAxis: {
type: 'value',
name: '单位:KM',
+ nameTextStyle: {
+ color: "#fff"
+ },
axisLine: {
show: true,
lineStyle: {
--
Gitblit v1.9.3