fix: 个人中心添加hover视觉反馈

This commit is contained in:
zwjamnsss 2017-10-11 11:04:21 +08:00
parent 9dbfdcbaa9
commit 4deb6f3bd4

View File

@ -15,11 +15,11 @@ import GuideBtns from '../GuideBtns/GuideBtns.js';
const MenuUser = (props) => (
<Menu theme="dark" className="user-menu" >
<Menu.Item style={{"background":"#32363a",color:"white"}} key="0">
<Link style={{color:"white"}} to={`/user/profile/${props.uid}`} onClick={props.relieveLink}><Icon type="user"/>个人中心</Link>
<Menu.Item key="0">
<Link to={`/user/profile/${props.uid}`} onClick={props.relieveLink}><Icon type="user"/>个人中心</Link>
</Menu.Item>
<Menu.Item key="1">
<a style={{color:"white"}} onClick={props.logout}><Icon type="logout" />退出</a>
<a onClick={props.logout}><Icon type="logout" />退出</a>
</Menu.Item>
</Menu>
);