隐藏聊天界面

master
pan 5 years ago
parent e78a8c7de0
commit f2a0e523c0
  1. 8
      src/my/MyFriend.tsx

@ -139,8 +139,8 @@ export class MyFriend extends React.Component<
return ( return (
<Container> <Container>
<Row> <Row className="d-flex justify-content-center bg-light">
<Col xs={4}> <div>
<ListGroup className="overflow-auto bg-light friend-list"> <ListGroup className="overflow-auto bg-light friend-list">
<ListGroup.Item variant="primary"></ListGroup.Item> <ListGroup.Item variant="primary"></ListGroup.Item>
<ListGroup.Item> <ListGroup.Item>
@ -191,9 +191,9 @@ export class MyFriend extends React.Component<
</ListGroup.Item>):<ListGroup.Item></ListGroup.Item>:null} </ListGroup.Item>):<ListGroup.Item></ListGroup.Item>:null}
</ListGroup> </ListGroup>
</Col> </div>
<Col xs={8}> <Col className="d-none" xs={8}>
<Container className="bg-light chat-history overflow-auto"> <Container className="bg-light chat-history overflow-auto">
{this.state.chatList.map((chat:Chat,index:number)=> {this.state.chatList.map((chat:Chat,index:number)=>
this.props.user===chat.userId? this.props.user===chat.userId?

Loading…
Cancel
Save