分支:
{data && data.branch_name ? data.branch_name : "--"}
diff --git a/src/forge/Order/order.css b/src/forge/Order/order.css
index 9850f36a..44955488 100644
--- a/src/forge/Order/order.css
+++ b/src/forge/Order/order.css
@@ -568,7 +568,7 @@ a.issue-type-button.active:hover {
}
.item-list-right {
width: 74%;
- padding: 0px 15px 10px 0;
+ /* padding: 10px; */
}
.detail_edit_action {
padding: 10px;
@@ -608,6 +608,12 @@ a.issue-type-button.active:hover {
align-items: center;
grid-template-columns: 1fr max-content;
}
+.grid-item-top {
+ display: grid;
+ align-items: center;
+ grid-template-columns: max-content 1fr;
+ align-items: flex-start;
+}
.fwb {
font-weight: bold;
}
@@ -655,15 +661,27 @@ a.issue-type-button.active:hover {
padding: 0 0 0 20px !important;
}
.comment-background {
- background: rgba(250, 250, 250, 1);
- /* padding: 15px; */
- border: 1px solid #f4f4f4;
+ background: #fff;
+ border-radius: 4px;
+ padding: 0 15px 15px;
+ /* border: 1px solid #f4f4f4; */
}
.border-bottom-comment {
border-bottom: 1px solid #eee;
}
-.comment-background .ant-list-header {
- padding: 20px;
+
+.custom-comment-tabs .ant-tabs-top-bar{
+ border-bottom: none;
+ padding: 15px 0;
+}
+.custom-comment-tabs .search-count-button{
+ line-height: 18px;
+ margin-left: 8px;
+ background-color: rgba(235,244,254,1);
+ color: #1890ff;
+ font-size: 12px;
+ padding: 2px 8px;
+ border-radius: 9px;
}
.comment-background .ant-list-item {
padding: 16px;
@@ -684,8 +702,7 @@ a.issue-type-button.active:hover {
box-shadow: none;
}
.children-comment-bg {
- background: rgba(241, 248, 255, 1);
- border: 1px solid rgba(238, 238, 238, 1);
+ background:rgba(250,250,250,1);
}
.display-in{
@@ -706,4 +723,6 @@ a.issue-type-button.active:hover {
border-radius: 4px;
margin-right: 5px;
vertical-align: middle;
-}
\ No newline at end of file
+}
+.boder-4{border-radius: 4px;}
+.pbt20{padding: 20px 0;}
\ No newline at end of file
diff --git a/src/forge/Upload/attachment.js b/src/forge/Upload/attachment.js
index 812156f3..664fa15c 100644
--- a/src/forge/Upload/attachment.js
+++ b/src/forge/Upload/attachment.js
@@ -47,7 +47,7 @@ class Attachment extends Component{
{
attachments ?
-
+
{
attachments.map((item,key)=>{
return(
diff --git a/src/forge/comments/children_comments.js b/src/forge/comments/children_comments.js
index 5d5e3d80..0157942d 100644
--- a/src/forge/comments/children_comments.js
+++ b/src/forge/comments/children_comments.js
@@ -121,7 +121,7 @@ class children_comments extends Component {
const renderList = (item) => {
return (
-
+
-
-
-
- {item && item.user_name}
-
- {item.created_at}
-
-
-
- {current_user &&
- (current_user.admin ||
- current_user.login === item.user_login) ? (
- this.deleteorder(item.id)}
- >
-
-
- ) : (
- ""
- )}
-
-
+
+ {item && item.user_name}
+
{this.commentCtx(item.content)}
@@ -180,6 +155,29 @@ class children_comments extends Component {
) : (
""
)}
+
+
{item.created_at}
+
+ {current_user &&
+ (current_user.admin ||
+ current_user.login === item.user_login) ? (
+ this.deleteorder(item.id)}
+ >
+
+
+ ) : (
+ ""
+ )}
+
+
);
@@ -188,7 +186,7 @@ class children_comments extends Component {
return (
{search_count > 0 && (
-
+
);
+ // const comment_meditor = (
+
+ // )
+
const new_comment = (is_reply, item_id) => {
return (
-
- {(current_user && current_user.login) ? (
-
-
-
-

-
-
- {current_user && current_user.real_name}
-
-
-
-
- {quillFlag && 请输入评论内容}
-
-
- }
- size={100}
- showNotification={this.props.showNotification}
- />
-
- {is_reply && (
-
- )}
-
-
-
- ) : (
-
- )}
+
+
+

+
+
+
+
+ {quillFlag && 请输入评论内容}
+
+
+ }
+ size={100}
+ showNotification={this.props.showNotification}
+ />
+
+
+
+
+
);
};
@@ -403,7 +375,7 @@ class comments extends Component {
const renderList = (item) => {
return (
-
+
-
-
-
- {item && item.user_name}
-
- {item.created_at}
-
-
-
- {current_user &&
- (current_user.admin ||
- current_user.login === item.user_login) ? (
- this.deleteorder(item.id)}
- >
-
-
- ) : (
- ""
- )}
-
-
+
+ {item && item.user_name}
+
{item.content ? (
@@ -466,6 +413,46 @@ class comments extends Component {
) : (
""
)}
+
+
{item.created_at}
+
+ {current_user &&
+ (current_user.admin ||
+ current_user.login === item.user_login) ? (
+ this.deleteorder(item.id)}
+ >
+
+
+ ) : (
+ ""
+ )}
+
+
+
+ {current_user && (
+
+ {is_reply && reply_id && reply_id === item.id ? (
+
{new_comment(is_reply, item.id)}
+ ) : (
+ ""
+ )}
+
+ )}
-
- {current_user && (
-
- {is_reply && reply_id && reply_id === item.id ? (
-
{new_comment(is_reply, item.id)}
- ) : (
-
-
-

-
-
-
-
-
- )}
-
- )}
);
};
return (
-
-
- {journalsdata && journalsdata.journals_total_count > 0 ? (
- 回复({journalsdata.journals_total_count})
}
- dataSource={journalsdata.issue_journals}
- renderItem={(item) =>
{renderList(item)}}
- />
- ) : (
-
- )}
+
+
+
+
+ 评论
+ {search_count > 0 && (
+ {search_count}
+ )}
+
+ }
+ key="1"
+ >
+
+ {is_reply && !reply_id ? (
+
{new_comment(is_reply, undefined)}
+ ) : (
+
+

+
+
+
+
+ )}
+
+ {journalsdata && journalsdata.journals_total_count > 0 && (
+ (
+ {renderList(item)}
+ )}
+ />
+ )}
+
+
{Paginations}
-
{new_comment()}
);