From a14cc655ca8e97b8bfe1ffd4b26e73780fccbc4a Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 07 十二月 2023 19:29:37 +0800 Subject: [PATCH] 样式优化 --- src/views/cockpitPage/components/PerSonnelProductivity.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/views/cockpitPage/components/PerSonnelProductivity.vue b/src/views/cockpitPage/components/PerSonnelProductivity.vue index ac8be87..32fefd1 100644 --- a/src/views/cockpitPage/components/PerSonnelProductivity.vue +++ b/src/views/cockpitPage/components/PerSonnelProductivity.vue @@ -70,6 +70,14 @@ axisPointer: { type: "none", }, + textStyle: { + color: "#00FFFF", + }, + borderColor: "#00FFFF", + backgroundColor: "#238d8d6b", + valueFormatter: function (value) { + return value + "%"; + }, }, grid: { right: "80px", @@ -253,6 +261,14 @@ color: ["#dcb018", "#735b09", "#ebd68e", "#c7b36e"], tooltip: { trigger: "item", + textStyle: { + color: "#00FFFF", + }, + borderColor: "#00FFFF", + backgroundColor: "#238d8d6b", + valueFormatter: function (value) { + return value + "%"; + }, }, graphic: { elements: [ @@ -276,7 +292,6 @@ type: "pie", radius: ["52%", "62%"], avoidLabelOverlap: false, - label: { normal: { position: "outer", -- Gitblit v1.8.0