From 83d8b2a1ccf300fb35caf0b8816d7b7120a9c0d0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 04 八月 2022 16:04:40 +0800
Subject: [PATCH] 修改echarts图及看板的文字颜色
---
src/views/kb/cgdd.vue | 2 ++
src/views/kb/ckgl.vue | 8 ++++++--
src/views/kb/zhkb.vue | 5 +++++
src/utils/myEcharts.js | 14 +++++++++-----
4 files changed, 22 insertions(+), 7 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',
diff --git a/src/views/kb/cgdd.vue b/src/views/kb/cgdd.vue
index 6f1e00f..d4d0744 100644
--- a/src/views/kb/cgdd.vue
+++ b/src/views/kb/cgdd.vue
@@ -403,6 +403,7 @@
flex-direction: column;
.content_head {
+ color: #00ffff;
line-height: 20px;
font-size: 18px;
margin-bottom: 10px;
@@ -430,6 +431,7 @@
flex-direction: column;
.content_head {
+ color: #00ffff;
line-height: 20px;
font-size: 18px;
margin-bottom: 10px;
diff --git a/src/views/kb/ckgl.vue b/src/views/kb/ckgl.vue
index 830220a..0377a2c 100644
--- a/src/views/kb/ckgl.vue
+++ b/src/views/kb/ckgl.vue
@@ -483,6 +483,7 @@
<style scoped lang="scss">
$kbBorderColor: #09d8f2;
+$kbBackgroundColor: rgba(30, 33, 46,0.6);
.kb_content {
display: flex;
@@ -518,6 +519,7 @@
font-size: 18px;
margin-bottom: 10px;
margin-top: -10px;
+ color: #00ffff;
}
@@ -540,6 +542,7 @@
width: 48%;
height: 100%;
border: 1px solid $kbBorderColor;
+ background-color:$kbBackgroundColor ;
border-radius: 5px;
}
}
@@ -564,6 +567,7 @@
font-size: 18px;
margin-bottom: 10px;
margin-top: -10px;
+ color: #00ffff;
}
.content_body {
@@ -575,8 +579,8 @@
}
}
-::v-deep .el-table__body-wrapper{
- background-color: #000;
+::v-deep .el-table__body-wrapper {
+ background-color: rgba(30, 33, 46);
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
diff --git a/src/views/kb/zhkb.vue b/src/views/kb/zhkb.vue
index b758dd0..5dd2d34 100644
--- a/src/views/kb/zhkb.vue
+++ b/src/views/kb/zhkb.vue
@@ -895,6 +895,7 @@
left: 15px;
font-size: 18px;
display: flex;
+ color: #00ffff;
.PG01 {
background: url("../../assets/images/GP_1.png") no-repeat;
@@ -1047,6 +1048,8 @@
//padding-left: 10px;
margin-bottom: 10px;
margin-top: -10px;
+ color: #00ffff;
+
}
.content_body {
@@ -1076,6 +1079,7 @@
//padding-left: 10px;
margin-bottom: 10px;
margin-top: -10px;
+ color: #00ffff;
}
.content_body {
@@ -1089,6 +1093,7 @@
height: 481px;
margin-top: 8px;
.kb_right_bottom_content_title{
+ color: #00ffff;
font-size: 18px;
margin-bottom: 10px;
margin-top: -10px;
--
Gitblit v1.9.3