From 81950a771b06326cbd344783f56f64b7a8d22fe7 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 5 Aug 2019 16:02:40 +0800 Subject: [PATCH] flex start --- public/react/src/modules/forums/MemoDetail.js | 29 ++++++++++++------- public/react/src/modules/forums/MemoList.js | 9 +++++- public/react/src/modules/forums/PostItem.js | 18 ++++++++---- 3 files changed, 39 insertions(+), 17 deletions(-) diff --git a/public/react/src/modules/forums/MemoDetail.js b/public/react/src/modules/forums/MemoDetail.js index f2d50f9bb..8441a8ac9 100644 --- a/public/react/src/modules/forums/MemoDetail.js +++ b/public/react/src/modules/forums/MemoDetail.js @@ -14,7 +14,7 @@ import moment from 'moment' import Comments from '../comment/Comments' import update from 'immutability-helper' -import Tooltip from 'material-ui/Tooltip'; +// import Tooltip from 'material-ui/Tooltip'; import RewardDialog from '../common/RewardDialog'; import {ImageLayerOfCommentHOC} from '../page/layers/ImageLayerOfCommentHOC' @@ -23,6 +23,7 @@ import MemoDetailKEEditor from './MemoDetailKEEditor' import MemoDetailMDEditor from './MemoDetailMDEditor' import { bytesToSize } from 'educoder' +import { Tooltip } from 'antd' const $ = window.$ function urlStringify(params) { let noParams = true; @@ -691,15 +692,23 @@ class MemoDetail extends Component {
{/* target="_blank" */}
-
+ 46 ? memo.subject : ''}
+ className="clearfix task-hide item_name fl" style={{maxWidth: '600px'}} >
{memo.subject}
{ memo.sticky && 置顶 }
{ memo.reward &&
-
- {memo.reward}
-
+