|
|
@ -160,14 +160,13 @@ class MessagePrivate extends Component{
|
|
|
|
<Spin size="large" className="myw100baifenbi" spinning={isSpin}>
|
|
|
|
<Spin size="large" className="myw100baifenbi" spinning={isSpin}>
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
data===undefined?
|
|
|
|
data===undefined?"":data.length===0?
|
|
|
|
<div className="edu-tab-con-box clearfix edu-txt-center">
|
|
|
|
<div className="edu-tab-con-box clearfix edu-txt-center">
|
|
|
|
<img className="edu-nodata-img mb20" src={getImageUrl("images/educoder/nodata.png")}/>
|
|
|
|
<img className="edu-nodata-img mb20" src={getImageUrl("images/educoder/nodata.png")}/>
|
|
|
|
<p className="edu-nodata-p mb20">暂无数据哦~</p>
|
|
|
|
<p className="edu-nodata-p mb20">暂无数据哦~</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:data.map((item,key)=>{
|
|
|
|
:data.map((item,key)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
|
|
|
|
|
|
|
|
<div className="private-item clearfix df" key={key} onClick={()=>this.smyJump(3,item.target.id)}>
|
|
|
|
<div className="private-item clearfix df" key={key} onClick={()=>this.smyJump(3,item.target.id)}>
|
|
|
|
<a className="fl mr10 private_message_a" onMouseDown={()=>this.myCome(item)}>
|
|
|
|
<a className="fl mr10 private_message_a" onMouseDown={()=>this.myCome(item)}>
|
|
|
|
<img onMouseDown={()=>this.myCome(item)} src={getImageUrl("images/"+item.target.image_url)} className="radius myimgw48 myimgh48"/>
|
|
|
|
<img onMouseDown={()=>this.myCome(item)} src={getImageUrl("images/"+item.target.image_url)} className="radius myimgw48 myimgh48"/>
|
|
|
@ -179,12 +178,11 @@ class MessagePrivate extends Component{
|
|
|
|
<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">{moment(item.send_time).fromNow()}</span>
|
|
|
|
<span className="color-grey-c">{moment(item.send_time).fromNow()}</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<span className="color-grey-6 break_word_firefox markdown-body" dangerouslySetInnerHTML={{__html: markdownToHTML(item.content).replace(/▁/g, "▁▁▁")}} ></span>
|
|
|
|
<div className="color-grey-6 break_word_firefox markdown-body mt10" dangerouslySetInnerHTML={{__html: markdownToHTML(item.content).replace(/▁/g, "▁▁▁")}} ></div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{item.unread === true ?<span className="new-point fr mt22"></span>:""}
|
|
|
|
{item.unread === true ?<span className="new-point fr mt22"></span>:""}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</Spin>
|
|
|
|
</Spin>
|
|
|
|