From 3151314529d323d9b27d553118bfe6e2aca9eafe Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 30 Nov 2021 16:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Activity/activity.css | 9 --------- src/forge/users/Echart/Pie.jsx | 6 +++--- src/forge/users/Statistics/Index.jsx | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/forge/Activity/activity.css b/src/forge/Activity/activity.css index ee6fea5f2..2fada3c07 100644 --- a/src/forge/Activity/activity.css +++ b/src/forge/Activity/activity.css @@ -57,15 +57,6 @@ padding:20px 0px; color: #4183c4; } -.percentBox li::after{ - content: ''; - width: 100%; - height: 3px; - border-radius: 4px; - display: block; - margin: 0 auto; - background: #4183c4; -} .percentBox > li:last-child{ border-right: none; } diff --git a/src/forge/users/Echart/Pie.jsx b/src/forge/users/Echart/Pie.jsx index d5489b981..db23234cc 100644 --- a/src/forge/users/Echart/Pie.jsx +++ b/src/forge/users/Echart/Pie.jsx @@ -14,7 +14,7 @@ function Pie({data}) { var huan_val = document.getElementById("Pie"); var chart = echarts.init(huan_val); let option = { - color: ["#f8e367", "#5ea6ff", "#ff9e48", "#99dfff"], + color: ["#ff9e48", "#5ea6ff", "#f8e367", "#99dfff"], title: { show:false }, @@ -51,9 +51,9 @@ function Pie({data}) { show: false }, data: [ - {value: d.developer && d.developer.count, name: '开发者'}, - {value: d.manager && d.manager.count, name: '管理员'}, {value: d.owner && d.owner.count, name: '创建者'}, + {value: d.manager && d.manager.count, name: '管理员'}, + {value: d.developer && d.developer.count, name: '开发者'}, {value: d.reporter && d.reporter.count, name: '报告者'} ] } diff --git a/src/forge/users/Statistics/Index.jsx b/src/forge/users/Statistics/Index.jsx index 91118a672..64986c524 100644 --- a/src/forge/users/Statistics/Index.jsx +++ b/src/forge/users/Statistics/Index.jsx @@ -186,7 +186,7 @@ function Index(props) { />
-

根据你在项目开发过程中的工作,对你在项目中扮演的角色进行定位,包括:创建者、管理者、开发者、测试者、文档工作者等。

+

根据你在项目开发过程中的工作,对你在项目中扮演的角色进行定位,包括:创建者、管理员、开发者、报告者。