dev_cs_new
杨树明 6 years ago
parent ed19add0af
commit 8c7652a5a6

@ -4,6 +4,7 @@ import {
Pagination, Pagination,
} from "antd"; } from "antd";
import axios from 'axios'; import axios from 'axios';
import moment from 'moment';
import {getImageUrl} from 'educoder'; import {getImageUrl} from 'educoder';
import "../css/messagemy.css" import "../css/messagemy.css"
import WriteaprivateletterModal from '../messagemodal/WriteaprivateletterModal'; import WriteaprivateletterModal from '../messagemodal/WriteaprivateletterModal';
@ -99,7 +100,7 @@ class MessagePrivate extends Component{
<div className="edu-back-white ml25"> <div className="edu-back-white ml25">
<p className="clearfix font-16 padding30-20 bor-bottom-greyE"> <p className="clearfix font-16 padding30-20 bor-bottom-greyE">
<span className="fl">全部私信</span> <span className="fl">全部私信</span>
<a href="javascript:void(0);" className="color-blue fr" onClick={()=>this.okmodalsType()}>写私信</a> <a className="color-blue fr" onClick={()=>this.okmodalsType()}>写私信</a>
</p> </p>
<Spin size="large" className="myw100baifenbi" spinning={isSpin}> <Spin size="large" className="myw100baifenbi" spinning={isSpin}>
@ -118,10 +119,10 @@ class MessagePrivate extends Component{
</a> </a>
<div className="fl flex1"> <div className="fl flex1">
<p> <p>
<a href="javascript:void(0);" onClick={()=>this.smyJump()} className="mr20 private_message_a">{item.target.name}</a> <a onClick={()=>this.smyJump()} className="mr20 private_message_a">{item.target.name}</a>
<span>与你的私信</span> <span>与你的私信</span>
<span className="color-grey-c mr20">[{item.message_count}{"条"}]</span> <span className="color-grey-c mr20">[{item.message_count}{"条"}]</span>
<span className="color-grey-c">{item.send_time}</span> <span className="color-grey-c">{moment(item.send_time).fromNow()}</span>
</p> </p>
<span className="color-grey-6 break_word_firefox " dangerouslySetInnerHTML={{__html:item.content}}></span> <span className="color-grey-6 break_word_firefox " dangerouslySetInnerHTML={{__html:item.content}}></span>

Loading…
Cancel
Save