+
- {!item.isBin ? :""}
-
- {item.name}
+ {!item.isBin ? showDown(item.flag,key,item.isBin)}>:""}
+ showDown(item.flag,key,item.isBin)}>{item.name}
+ setCopyfileTipTitle("复制文件路径")}
+ >
+ copyFileName(item.name)}>
+
-
-
- +{item.addition}
- -{item.deletion}
-
+
+
0?item.addition+"处添加":""}${item.addition>0 && item.deletion>0 ?"和":""}${item.deletion>0?item.deletion+"处删除":""}`}>
+
+ {item.addition+item.deletion}处
+
+
{history.push(`/${owner}/${projectsId}/tree/${truncateCommitId(item.sha)}/${item.name}`)}}>查看文件
+
{
item.sections && item.sections.length >= 1 && !item.flag &&
diff --git a/src/forge/Merge/Index.scss b/src/forge/Merge/Index.scss
index 936b868f8..19f24c613 100644
--- a/src/forge/Merge/Index.scss
+++ b/src/forge/Merge/Index.scss
@@ -18,4 +18,78 @@
.pr_tags_closed{
border:1px solid #FA6400;
color: #FA6400;
+}
+
+.color-grey-3{
+ font-weight: bold;
+}
+.invisable{
+ display: none;
+}
+.fileList{
+ .sc-bxivhb{
+ width: 55rem;
+ }
+ .see-file{
+ width: 15rem;
+ .ml10{
+ display: inline-block;
+ width: 5rem;
+ cursor: default;
+ }
+ span{
+ width: 7%;
+ }
+ }
+}
+.filesInfo{
+ background: #FAFCFF;
+ border-color:rgba(42, 97, 255, 0.23);
+ .ant-progress-line {
+ width: 5rem;
+ }
+ .ant-progress-inner{
+ background-color: #D14A4A;
+ }
+}
+.ant-popover-arrow,.ant-anchor-ink-ball {
+ display: none;
+}
+.ant-popover-inner {
+ margin-left: -21px;
+ background: #FFF;
+}
+.ant-anchor-link,.ant-popover-inner-content{
+ padding: 0 0;
+}
+.ant-anchor-wrapper,.ant-anchor{
+ margin-left: 0;
+ padding-left: 0;
+}
+.ant-anchor-link-active > .ant-anchor-link-title {
+ color: #466AFF;
+}
+.ant-popover-inner-content{
+ color: #333333;
+ width: 75rem;
+ .folderList{
+ max-height: 280px;
+ overflow:auto;
+ .files{
+ border: 0px;
+ }
+ .filesInfo {
+ padding: 10px 18px 10px 15px;
+ height: 55px;
+ background: #FFF;
+ border-bottom: 1px solid #EEEEEE;
+ &:hover{
+ background: #F3F4F6;
+ }
+ .color-green,.color-red{
+ width: 3%;
+ text-align: right;
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/src/forge/Merge/merge.css b/src/forge/Merge/merge.css
index 6b50eeb10..088874c19 100644
--- a/src/forge/Merge/merge.css
+++ b/src/forge/Merge/merge.css
@@ -152,13 +152,23 @@ form .ant-cascader-picker, form .ant-select {
margin-top: 15px;
border-radius: 2px;
}
+.see-file-btn{
+ color: #466AFF;
+ cursor: pointer;
+}
.filesInfo{
padding:10px 15px;
background-color: #fafafa;
}
+.filesInfo .cursor-pointer{
+ cursor: pointer;
+}
.filesContent{
border-top: 1px solid #ddd;
}
+.icon-fuzhiicon:hover{
+ color: #466AFF;
+}
.linesContent{
display: flex;
min-height: 30px;
diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js
index 55c1efdda..c3150323f 100644
--- a/src/forge/Settings/Setting.js
+++ b/src/forge/Settings/Setting.js
@@ -16,7 +16,7 @@ const menu = [
{name:"合并请求",index:"pulls"},
{name:"Wiki",index:"wiki"},
{name:"工作流(beta版)",index:"devops"},
- {name:"资源库",index:"resources"},
+ // {name:"资源库",index:"resources"},
{name:"里程碑",index:"versions"},
{name:"动态",index:"activity"},
]
diff --git a/src/forge/Team/Setting/TeamSettingCommon.jsx b/src/forge/Team/Setting/TeamSettingCommon.jsx
index 499a00c20..1b3dc8422 100644
--- a/src/forge/Team/Setting/TeamSettingCommon.jsx
+++ b/src/forge/Team/Setting/TeamSettingCommon.jsx
@@ -122,7 +122,11 @@ export default Form.create()(
validator:checkname
}
],
+<<<<<<< HEAD
+
,true
+=======
,true
+>>>>>>> 465ae57b071299c682f2c8d57d3380aa647c7d23
)}
{helper(
"组织名称:",
diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss
index 03bbbc42e..9c2c60b4b 100644
--- a/src/forge/css/index.scss
+++ b/src/forge/css/index.scss
@@ -91,11 +91,14 @@ ul,ol,dl{
}
.commitDesc{
flex:1;
- margin-left:20px;
- font-size:16px;
- color:#333;
- line-height:26px;
+ line-height:20px;
word-break: break-all;
+ width: 48rem;
+ overflow: hidden;
+ white-space: normal;
+ &:hover{
+ text-decoration: underline;
+ }
}
.normalBox{
@@ -297,17 +300,31 @@ form{
border-radius: 5px;
font-weight: 500;
color: #333333!important;
- &:hover,&:active{
+ &:hover{
background: #F3F4F6;
color: #333333!important;
}
+ &:active{
+ background: #D0D0D0;
+ color: #333333!important;
+ }
+}
+.shadow{
+ &:hover{
+ background: #F3F4F6;
+ }
+ &:active{
+ background: #D0D0D0;
+ }
}
a.hover:hover{
text-decoration: underline;
}
button.ant-btn-primary.btnblue{
background-color:rgba(70, 106, 255, 1);
+ border-color:rgba(70, 106, 255, 1);
&:hover{
background-color:rgba(70, 106, 255, 0.85);
+ border-color:rgba(70, 106, 255, 0.85);
}
}
\ No newline at end of file