diff --git a/src/forge/Issues/Component/comments/list.jsx b/src/forge/Issues/Component/comments/list.jsx index b62902c45..518b3529e 100644 --- a/src/forge/Issues/Component/comments/list.jsx +++ b/src/forge/Issues/Component/comments/list.jsx @@ -117,20 +117,8 @@ function IssueCommentList(props){ 全部 - {/* 添加评论 */} - {category !== 'operate' &&
- {login ? showEdit === 1 ? :
- -
- {setShowEdit(1)}}> - - -
-
:
- {/* 未登录用户 */} - {showLoginDialog()}}>登录并参与评论与回复 -
} -
} + {/* 评论快速入口-仅有评论时展示 */} + {journalsCount > 0 &&
点击添加评论
} {/* 评论/操作日志 展示列表 */}
@@ -232,6 +220,20 @@ function IssueCommentList(props){ {totalCount>limit &&
setPage(page)}/>
} + {/* 添加评论 */} + {category !== 'operate' &&
+ {login ? showEdit === 1 ? :
+ +
+ {setShowEdit(1)}}> + + +
+
:
+ {/* 未登录用户 */} + {showLoginDialog()}}>登录并参与评论与回复 +
} +
} {/* 无数据 新建第一条评论时暂无数据隐藏 用户未登录隐藏*/} {journals && !journals.length && showEdit !== 1 && login && }
diff --git a/src/forge/Issues/Component/comments/list.scss b/src/forge/Issues/Component/comments/list.scss index 5ab7622e5..550d559c8 100644 --- a/src/forge/Issues/Component/comments/list.scss +++ b/src/forge/Issues/Component/comments/list.scss @@ -192,4 +192,11 @@ } .paginationIssueComment{ text-align: center; +} +.gotoComment{ + background-color:rgba(241, 243, 252, 0.55); + border-radius:4px; + color: rgba(172, 176, 191, 1); + padding: 8px 20px; + &>a{color: rgba(70, 106, 255, 1);} } \ No newline at end of file