diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx
index 458de69a..6a111b45 100644
--- a/src/forge/Main/tag/Index.jsx
+++ b/src/forge/Main/tag/Index.jsx
@@ -4,6 +4,7 @@ import { Table , Tooltip , Spin } from 'antd';
import axios from 'axios';
import { Link } from 'react-router-dom';
import { truncateCommitId } from '../../common/util';
+import { getImageUrl } from 'educoder';
import Nonedata from '../../Nodata';
import './Index.scss';
import Tree from '../img/tree.png'
@@ -34,12 +35,12 @@ function Tags(props) {
dataIndex:"name",
key:1,
ellipsis:true,
-
+ width:"200px",
render:(txt,item)=>{
return(
- {item.name}
-
+ {item.name}
+
)
}
},
@@ -51,7 +52,21 @@ function Tags(props) {
render:(txt,item)=>{
return (
- {item.tagger && item.tagger.name}
+ {
+ item.tagger &&
+
+ {
+ item.tagger.id ?
+
+
+
+ :
+
+
+
+ }
+
+ }
创建于{txt}
)
@@ -86,17 +101,17 @@ function Tags(props) {
key:5,
ellipsis:true,
align:"center",
- width:"181px",
+ width:"204px",
render:(txt,item)=>{
return (
-
+
)
}
}
diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss
index bff4c97b..70e83a83 100644
--- a/src/forge/Main/tag/Index.scss
+++ b/src/forge/Main/tag/Index.scss
@@ -13,6 +13,9 @@
}
}
tbody{
+ .btn-83{
+ margin:0px 8px;
+ }
tr{
&:hover td{
background-color: #fff!important;
@@ -23,7 +26,6 @@
line-height: 69px;
color:#333333;
div{
- padding-left: 69px;
font-weight: 500;
}
}
@@ -43,8 +45,7 @@
justify-content: center;
}
.tagBranch{
- width: 200px;
- margin-left: -67px;
+ padding-right: 15px;
text-overflow: ellipsis;
overflow: hidden;
.tagClass{
@@ -53,4 +54,9 @@
}
.tagModel{
font-weight: 400;
+ .tagModelImg img{
+ width: 25px;
+ height: 25px;
+ border-radius: 50%;
+ }
}
\ No newline at end of file