You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
import React, { Component } from 'react';
|
|
import {
|
|
Spin,
|
|
Pagination,
|
|
} from "antd";
|
|
import axios from 'axios';
|
|
import moment from 'moment';
|
|
import {getImageUrl} from 'educoder';
|
|
import "../css/messagemy.css"
|
|
import WriteaprivateletterModal from '../messagemodal/WriteaprivateletterModal';
|
|
//私信页面
|
|
class Rightdialogue extends Component{
|
|
constructor(props) {
|
|
super(props);
|
|
this.state={
|
|
};
|
|
|
|
}
|
|
|
|
componentDidMount(){
|
|
console.log("Rightdialogue");
|
|
console.log(this.props);
|
|
|
|
};
|
|
componentDidUpdate(prevProps) {
|
|
// console.log("11111111111");
|
|
// console.log(prevProps);
|
|
// console.log("22222222222");
|
|
// console.log(this.props);
|
|
// console.log("33333333333");
|
|
// if(prevProps.current_user !== this.props.current_user){
|
|
// this.getdata(1);
|
|
// }
|
|
}
|
|
//获取数据地方
|
|
|
|
// 跳转页面
|
|
|
|
render() {
|
|
let{page,limit,typeysl,count,isSpin,data,modalsType}=this.state;
|
|
|
|
return (
|
|
<div className="ThisSide clearfix" id="message_content_25137">
|
|
<a href="/users/innov"><img alt="头像" className="ml10 radius fr myimgw48 myimgh48" src={"/images/avatars/User/1?1558048024"} /></a>
|
|
<div className="fr pr ThisSide-info">
|
|
<span className="trangle"></span>
|
|
<div className="sms break_word" id="message_content_show_25137">hello</div>
|
|
<div className="edu-txt-left mt5">
|
|
<a className="color-grey-c"
|
|
>删除</a>
|
|
</div>
|
|
</div>
|
|
<span className="fr mr15 color-grey-c lineh-15 mt15">22:20</span>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
export default Rightdialogue; |