From 4eb2c407c3561d5424537c12b95ae2d448e1a33b Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Fri, 29 May 2020 18:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Order/order.css | 5 +++-- src/forge/comments/comments.js | 16 ++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/forge/Order/order.css b/src/forge/Order/order.css index 22720c9a..6898f2bd 100644 --- a/src/forge/Order/order.css +++ b/src/forge/Order/order.css @@ -576,8 +576,9 @@ a.issue-type-button.active:hover{background: #f4f4f4; color: #4CACFF;} } .border-bottom-comment{border-bottom: 1px solid #eee;} .comment-background .ant-list-header{padding: 20px;} -.comment-background .ant-list-item{padding: 10px;} -.comment-background .ant-list-split .ant-list-item:last-child{border-bottom: 1px solid #e8e8e8;} +.comment-background .ant-list-item{padding: 16px;} +/* .comment-background .ant-list-split .ant-list-item:last-child{border-bottom: 1px solid #e8e8e8;} */ +.border-top-e{border-top: 1px solid #e8e8e8;} .commentStyle{background-color: #fff !important;} .reply-comment-input .add_reply_button{background-color: #fff !important; color: #bbb; width: 100%; text-align: left; border: 1px solid rgba(238,238,238,1); box-shadow: none;} diff --git a/src/forge/comments/comments.js b/src/forge/comments/comments.js index 1c1b062e..23f8485b 100644 --- a/src/forge/comments/comments.js +++ b/src/forge/comments/comments.js @@ -92,13 +92,13 @@ class comments extends Component { // // this.getjournalslist(page, limit); // // this.child.getChildrenJournals(orderId, reply_id); // } - if (is_reply){ - // this.child.getChildrenJournals(orderId, reply_id); - this.state.new_journal_id = result.data.id; - }else{ - this.state.new_journal_id = undefined - } - + // if (is_reply){ + // // this.child.getChildrenJournals(orderId, reply_id); + + // }else{ + // this.state.new_journal_id = undefined + // } + this.state.new_journal_id = result.data.id; this.getjournalslist(page, limit); } this.props.showNotification(result.data.message); @@ -520,7 +520,7 @@ class comments extends Component { )} {Paginations} -
{new_comment()}
+
{new_comment()}
);