From e96f90c444b178328ffe437bce213607b526e18c Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 20 Jun 2019 20:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E5=9B=9E=E5=A4=8D=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/boards/BoardsListItem.js | 7 ++++--- public/react/src/modules/courses/common/courseMessage.css | 2 +- public/react/src/modules/forums/MemoDetailMDEditor.js | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/courses/boards/BoardsListItem.js b/public/react/src/modules/courses/boards/BoardsListItem.js index 089d060a4..c25c541e8 100644 --- a/public/react/src/modules/courses/boards/BoardsListItem.js +++ b/public/react/src/modules/courses/boards/BoardsListItem.js @@ -1,6 +1,7 @@ import React,{ Component } from "react"; import {Tooltip} from 'antd' import moment from 'moment' +import { getUrl } from 'educoder' class BoardsListItem extends Component{ constructor(props){ super(props); @@ -37,11 +38,11 @@ class BoardsListItem extends Component{ } `} { checkBox } - + {/* /images/avatars/User/1?1529221779 */} 1?1529221779
onItemClick(discussMessage)}> @@ -62,7 +63,7 @@ class BoardsListItem extends Component{

- {discussMessage.author.name} + {discussMessage.author.name} { discussMessage.total_replies_count != 0 && {discussMessage.total_replies_count} 回复 } { discussMessage.total_praises_count != 0 && {discussMessage.total_praises_count} 点赞 } diff --git a/public/react/src/modules/courses/common/courseMessage.css b/public/react/src/modules/courses/common/courseMessage.css index c928162f4..db2381d37 100644 --- a/public/react/src/modules/courses/common/courseMessage.css +++ b/public/react/src/modules/courses/common/courseMessage.css @@ -17,7 +17,7 @@ } /* 子回复按钮 */ .course-message .reply_to_message a.commentsbtn.task-btn-blue { - margin-right: 50px; + /* margin-right: 50px; */ } /* 改边距 */ /* .course-message .commentsDelegateParent { diff --git a/public/react/src/modules/forums/MemoDetailMDEditor.js b/public/react/src/modules/forums/MemoDetailMDEditor.js index caf8e5743..ebb61b1b7 100644 --- a/public/react/src/modules/forums/MemoDetailMDEditor.js +++ b/public/react/src/modules/forums/MemoDetailMDEditor.js @@ -169,7 +169,7 @@ class MemoDetailMDEditor extends Component { } */}

+ style={{ padding: '30px',boxSizing:"border-box", display: isInited ? '' : 'none', paddingBottom: '40px' }} >