diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index 5e2ddbfa8..458de69a0 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -34,8 +34,13 @@ function Tags(props) { dataIndex:"name", key:1, ellipsis:true, + render:(txt,item)=>{ - return {item.name} + return( +
+ {item.name} +
+ ) } }, { @@ -45,8 +50,8 @@ function Tags(props) { ellipsis:true, render:(txt,item)=>{ return ( - - {item.commit && item.commit.name} + + {item.tagger && item.tagger.name} 创建于{txt} ) diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss index 5d72ab294..bff4c97b4 100644 --- a/src/forge/Main/tag/Index.scss +++ b/src/forge/Main/tag/Index.scss @@ -21,8 +21,10 @@ padding:0px; height: 69px; line-height: 69px; + color:#333333; div{ padding-left: 69px; + font-weight: 500; } } &:last-child{ @@ -39,4 +41,16 @@ display: flex; align-items: center; justify-content: center; +} +.tagBranch{ + width: 200px; + margin-left: -67px; + text-overflow: ellipsis; + overflow: hidden; + .tagClass{ + color:#333333; + } +} +.tagModel{ + font-weight: 400; } \ No newline at end of file