From 1c5b5a66d8d49744f05bc64da43e9ca4111fc5c9 Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 12 Oct 2021 10:32:09 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7=E9=A1=B5=E9=9D=A2=E6=A0=87=E7=AD=BE=E9=A1=B5=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/edu-purge.css | 4 +++- src/forge/Main/tag/Index.jsx | 8 ++++++-- src/forge/Main/tag/Index.scss | 6 ++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index 603513339..a9692c92e 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -1309,6 +1309,7 @@ span { margin: 0; padding: 0; margin-bottom: 0px!important; + font-weight: 500; } table, @@ -1362,7 +1363,8 @@ table { a:link, a:visited { text-decoration: none; - color: #05101a; + color: #333333; + font-weight: 500; } ol, diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index cf89cd7b4..20e74451e 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -35,7 +35,11 @@ function Tags(props) { key:1, ellipsis:true, render:(txt,item)=>{ - return {item.name} + return( +
+ {item.name} +
+ ) } }, { @@ -46,7 +50,7 @@ function Tags(props) { 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..80a3c828d 100644 --- a/src/forge/Main/tag/Index.scss +++ b/src/forge/Main/tag/Index.scss @@ -39,4 +39,10 @@ display: flex; align-items: center; justify-content: center; +} +.tagBranch{ + width: 200px; + margin-left: -67px; + text-overflow: ellipsis; + overflow: hidden; } \ No newline at end of file From 63a74cc0764a7ab45ad11882d844b8ccdf4c031a Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 12 Oct 2021 10:45:54 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C?= =?UTF-8?q?=E7=BA=A7=E9=A1=B5=E9=9D=A2=E6=A0=87=E7=AD=BE=E9=A1=B5=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/edu-purge.css | 4 +--- src/forge/Main/tag/Index.scss | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index a9692c92e..603513339 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -1309,7 +1309,6 @@ span { margin: 0; padding: 0; margin-bottom: 0px!important; - font-weight: 500; } table, @@ -1363,8 +1362,7 @@ table { a:link, a:visited { text-decoration: none; - color: #333333; - font-weight: 500; + color: #05101a; } ol, diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss index 80a3c828d..89f473f54 100644 --- a/src/forge/Main/tag/Index.scss +++ b/src/forge/Main/tag/Index.scss @@ -23,6 +23,8 @@ line-height: 69px; div{ padding-left: 69px; + font-weight: 500; + color:#333333; } } &:last-child{ From fd58c70c545de128bec0e677f652f657d28358c6 Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 12 Oct 2021 11:03:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?issue=E6=A0=87=E7=AD=BE=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/tag/Index.jsx | 5 +++-- src/forge/Main/tag/Index.scss | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index 20e74451e..4a0ce00a3 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -34,10 +34,11 @@ function Tags(props) { dataIndex:"name", key:1, ellipsis:true, + render:(txt,item)=>{ return(
- {item.name} + {item.name}
) } @@ -49,7 +50,7 @@ function Tags(props) { ellipsis:true, render:(txt,item)=>{ return ( - + {item.tagger && item.tagger.name} 创建于{txt} diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss index 89f473f54..bff4c97b4 100644 --- a/src/forge/Main/tag/Index.scss +++ b/src/forge/Main/tag/Index.scss @@ -21,10 +21,10 @@ padding:0px; height: 69px; line-height: 69px; + color:#333333; div{ padding-left: 69px; font-weight: 500; - color:#333333; } } &:last-child{ @@ -47,4 +47,10 @@ margin-left: -67px; text-overflow: ellipsis; overflow: hidden; + .tagClass{ + color:#333333; + } +} +.tagModel{ + font-weight: 400; } \ No newline at end of file