diff --git a/src/forge/Activity/Activity.js b/src/forge/Activity/Activity.js
index 4a7a1d34..7b90b830 100644
--- a/src/forge/Activity/Activity.js
+++ b/src/forge/Activity/Activity.js
@@ -124,7 +124,9 @@ class Activity extends Component{
)
render(){
- const { time , data , page , project_trends , isSpin , pr_count , new_pr_count , close_issues_count , open_issues_count , pr_all_count ,issues_count } = this.state;
+ const { time , data , page , project_trends , isSpin ,
+ pr_count , new_pr_count , close_issues_count , open_issues_count , pr_all_count ,issues_count,
+ type,status } = this.state;
let name = time ? ARRAY.filter(item=>item.id === parseInt(time)) :[{name:"全部"}];
const first_per = pr_all_count > 0 ? `${parseFloat(pr_count/pr_all_count).toFixed(2)*100}%` :"50%";
@@ -156,19 +158,19 @@ class Activity extends Component{
-
{data && data.pr_count}
- this.changeTrends("PullRequest","delay")}>已处理的合并请求
+ this.changeTrends("PullRequest","delay")}>已处理的合并请求
-
{data && data.new_pr_count}
- this.changeTrends("PullRequest","not_delay")}>未处理的合并请求
+ this.changeTrends("PullRequest","not_delay")}>未处理的合并请求
-
{data && data.close_issues_count}
- this.changeTrends("Issue","delay")}>已关闭的易修
+ this.changeTrends("Issue","delay")}>已关闭的易修
-
{data && data.open_issues_count}
- this.changeTrends("Issue","not_delay")}>未处理的易修
+ this.changeTrends("Issue","not_delay")}>未处理的易修
diff --git a/src/forge/Activity/activity.css b/src/forge/Activity/activity.css
index 2fada3c0..cc6df9df 100644
--- a/src/forge/Activity/activity.css
+++ b/src/forge/Activity/activity.css
@@ -107,6 +107,10 @@
color: black;
cursor: pointer;
}
+.change.active{
+ color: #466AFF !important;
+}
+
.change:hover{
color: #4183c4;
}
\ No newline at end of file