From 6cd4b09954371a5300daeb89f12d64327b042d40 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Mon, 13 Mar 2023 16:39:24 +0800
Subject: [PATCH] update
---
src/forge/Issues/Component/datas.jsx | 5 +-
src/forge/Issues/Pages/details.jsx | 78 ++++++++++++++--------------
src/forge/Issues/Pages/list.jsx | 12 +++--
src/forge/Issues/index.scss | 51 +++++++++---------
4 files changed, 77 insertions(+), 69 deletions(-)
diff --git a/src/forge/Issues/Component/datas.jsx b/src/forge/Issues/Component/datas.jsx
index b226e0e4..5f6538b6 100644
--- a/src/forge/Issues/Component/datas.jsx
+++ b/src/forge/Issues/Component/datas.jsx
@@ -68,13 +68,14 @@ function Datas({checkbox ,item , projectsId,owner}){
item.assigners && item.assigners.length > 0 ?
1 ?"principal hovers":"principal"}>
- {
+ {/* {
item.assigners.map((i,k)=>{
return(
k<5 &&
})
)
})
- }
+ } */}
+
{renderName(item.assigners)}
:""
diff --git a/src/forge/Issues/Pages/details.jsx b/src/forge/Issues/Pages/details.jsx
index d4de52b5..d031695a 100644
--- a/src/forge/Issues/Pages/details.jsx
+++ b/src/forge/Issues/Pages/details.jsx
@@ -372,48 +372,50 @@ function Details(props){
/>
:
-
-
-
-
- {details.priority &&
{ details.priority.name } }
-
{details.subject}
-
-
-
-
#{details.project_issues_index}
+
+
+
+
+
+ {details.priority &&
{ details.priority.name } }
+
{details.subject}
- {
- details.author &&
-
-
})
{details.author.name}
-
添加于{details.created_at}
+
+
+ #{details.project_issues_index}
- }
+ {
+ details.author &&
+
+
})
{details.author.name}
+
添加于{details.created_at}
+
+ }
+
+ {
+ details.user_permission &&
+
+ }
+
+
+ {details.description ?
+
+ :
+
暂无描述
+ }
+ {details.attachments && details.attachments.length > 0 ?
+
+ : ""
+ }
- {
- details.user_permission &&
-
- }
-
-
- {details.description ?
-
- :
-
暂无描述
- }
- {details.attachments && details.attachments.length > 0 ?
-
- : ""
- }
-
-
+
*/}
{
permission && permission !== "Reporter" &&

标记管理
diff --git a/src/forge/Issues/index.scss b/src/forge/Issues/index.scss
index b2fe7a46..fed5f1a6 100644
--- a/src/forge/Issues/index.scss
+++ b/src/forge/Issues/index.scss
@@ -267,32 +267,35 @@
color: #40424a;
.principal{
position: relative;
- height: 22px;
- &.hovers:hover{
- a{
- position:initial;
- }
- }
- a{
- position: absolute;
- right: 0px;
- transition: 0.6s;
- }
- img,span{
- width: 22px;
- height: 22px;
- border-radius: 50%;
- }
- span{
- background-color:#ced5ef;
- text-align: center;
- line-height: 12px;
- color:#000000;
- z-index: 6;
- }
+ display: flex;
+ justify-content: flex-end;
+ width: 150px;
+ text-align: justify;
+ // &.hovers:hover{
+ // a{
+ // position:initial;
+ // }
+ // }
+ // a{
+ // position: absolute;
+ // right: 0px;
+ // transition: 0.6s;
+ // }
+ // img,span{
+ // width: 22px;
+ // height: 22px;
+ // border-radius: 50%;
+ // }
+ // span{
+ // background-color:#ced5ef;
+ // text-align: center;
+ // line-height: 12px;
+ // color:#000000;
+ // z-index: 6;
+ // }
}
&>div{
- width: 110px;
+ width: 90px;
text-align: right;
}
.commentnum{