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{ 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