diff --git a/src/forge/Branch/Select.jsx b/src/forge/Branch/Select.jsx
index a44584c4a..073658d93 100644
--- a/src/forge/Branch/Select.jsx
+++ b/src/forge/Branch/Select.jsx
@@ -26,9 +26,9 @@ export default (({ projectsId , branch , owner , changeBranch , branchList , tag
-
- 贡献者
+ 贡献者
{ contributors && contributors.total_count > 0 && {contributors.total_count}}
-
+
setVisibleFunc(false)}>
{
total > 0 ?
diff --git a/src/forge/Component/CopyTool.jsx b/src/forge/Component/CopyTool.jsx
index 96f7900a8..93cea487f 100644
--- a/src/forge/Component/CopyTool.jsx
+++ b/src/forge/Component/CopyTool.jsx
@@ -31,6 +31,7 @@ function CopyTool({ beforeText, afterText, className , inputId , timeOut }) {
if(timeOut){
setTimeout(function(){
setTitle(beforeText);
+ document.getSelection().removeAllRanges();
},1500)
}
}, []);
diff --git a/src/forge/Component/Releases.jsx b/src/forge/Component/Releases.jsx
index 5c6d75cfc..7e6829833 100644
--- a/src/forge/Component/Releases.jsx
+++ b/src/forge/Component/Releases.jsx
@@ -6,15 +6,9 @@ function Releases({owner,projectsId,releaseVersions , baseOperate , projectType}
return(
-
-
- 发行版
- { releaseVersions && releaseVersions.total_count > 0 && {releaseVersions.total_count}}
-
- {/* {
- baseOperate && projectType !==2 && 新建
- } */}
-
+
发行版
+ { releaseVersions && releaseVersions.total_count > 0 &&
{releaseVersions.total_count}}
+
{
releaseVersions && releaseVersions.total_count>0 ?
releaseVersions.list.map((item,key)=>{
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index f03ae30c7..229c0a5a5 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -209,7 +209,7 @@ function CoderDepot(props){
let b = branchName || defaultBranch;
let checkvalue = turnbar(b);
return (
-
}
{ fileOperate &&
-
-
+
+ 文件
}
@@ -404,8 +411,8 @@ function CoderDepot(props){
{lastCommit.time_from_now}
{
commitCount ?
-
- {commitCount}次提交
+
+ {commitCount}次提交
:""
}
diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss
index e43a7d223..0062d79ae 100644
--- a/src/forge/Main/Index.scss
+++ b/src/forge/Main/Index.scss
@@ -14,16 +14,15 @@
}
}
.iconBtn{
- color: #666;
i{
- margin-right: 4px;
+ color: #666;
}
span{
margin-left: 4px;
- color: #333;
+ color: #333!important;
}
- &:hover span{
- color: #466AFF;
+ &:hover span,&:hover i{
+ color: #466AFF!important;
}
}
/* recommandProjects */
@@ -144,14 +143,15 @@
.ant-btn-primary{
color: #fff;
background-color: #466AFF;
+ border-color: #466AFF;
}
}
}
- .addOptionBtn{
+ .depotBtn,.addOptionBtn{
display: flex;
a{
color: #333!important;
- font-weight: 500;
+ font-weight: 500!important;
border-radius: 5px;
width: 83px;
height: 32px;
@@ -196,15 +196,15 @@
}
.progress{
display: flex;
- border-radius: 10px;
- height: 7px;
+ border-radius: 2px;
+ height: 11px;
margin-top: 12px;
span{
&:first-child{
- border-radius: 10px 0px 0px 10px;
+ border-radius: 2px 0px 0px 2px;
}
&:last-child{
- border-radius: 0px 10px 10px 0px;
+ border-radius: 0px 2px 2px 0px;
}
}
}
@@ -383,6 +383,14 @@
line-height: 50px;
}
}
+.fileMenu{
+ width: 83px;
+ li{
+ padding:6px 0px!important;
+ text-align: center;
+ width: 100%;
+ }
+}
.catelogue{
cursor: pointer;
@@ -417,7 +425,7 @@
.pinfos{
i,a{color: #666;}
&:hover i,&:hover a{
- color: #2A61FF;
+ color: #2A61FF!important;
}
}
.graph{
diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss
index 8b76507d9..5641ee6d5 100644
--- a/src/forge/Main/list.scss
+++ b/src/forge/Main/list.scss
@@ -236,10 +236,8 @@
height: 36px;
line-height: 24px;
display: block;
- color: #666;
- &> img{
- margin-right: 8px;
- }
+ color: #000!important;
+ font-weight: 500;
}
&> span.num{
line-height: 24px;
@@ -252,9 +250,7 @@
width: 24px;
height: 24px;
}
- &.active a,&.active a i{
- color: #466AFF!important;
- }
+
&.active a::after,&:hover a::after{
position: absolute;
bottom:0px;
diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx
index 355f0ea41..d6bdaf26d 100644
--- a/src/forge/Main/sub/DetailBanner.jsx
+++ b/src/forge/Main/sub/DetailBanner.jsx
@@ -30,7 +30,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
item.menu_name === "home" &&
-
+
主页
@@ -39,7 +39,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
item.menu_name === "code" &&
-
+
代码库
@@ -49,7 +49,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
-
+
易修
@@ -60,7 +60,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
item.menu_name === "pulls" && projectDetail && parseInt(projectDetail.type) !== 2 && platform ?
-
+
合并请求
{projectDetail && projectDetail.pull_requests_count ? {numFormat(projectDetail.pull_requests_count)} : ""}
@@ -70,7 +70,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
item.menu_name === "wiki" &&
-
+
Wiki
@@ -80,7 +80,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa
{/* */}
- 工作流(beta版)
+ 工作流(beta版)
{projectDetail && projectDetail.ops_count ? {projectDetail.ops_count} : ""}