隐藏登陆后显示的退出登录及修改密码和您好提示

master
孙亮 8 months ago
parent d115e68420
commit 7c4b1fac11

@ -168,6 +168,7 @@ const RightInfo = () => {
<div className={styles.luna_right_info} onMouseEnter={() => {
setShowFuncs(true)
}}>
<div style={{marginLeft: 8, whiteSpace: "nowrap"}}><span id='MSGNUM' style={{fontSize:'16PX',color:'rgb(225 70 70)'}}>{`您有${msgnum}条待办`}</span></div>
{/* <Popover open={showFuncs} placement={"bottomRight"} content={
<div style={{width: "114px"}} onMouseLeave={() => {
@ -222,7 +223,7 @@ const RightInfo = () => {
<span style={{color: "#333", marginLeft: 8}}>退</span>
</a>
</div>
}> */}
}>
<Dropdown overlay={
<Menu items={[
{key: "changePassword", icon: <KeyOutlined style={{color: "var(--daye-primary-color)"}} />, label: <span style={{color: "var(--daye-primary-color)"}}></span>, onClick: () => {
@ -267,23 +268,24 @@ const RightInfo = () => {
}},
]}></Menu>
}>
{/* <div className={styles.info_content} onClick={() => {
<div className={styles.info_content} onClick={() => {
}}>
<img src="/statics/home/ustb-logo.jpg" width={128} height={32} className="ibk-menu-img" style={{marginTop: 4, borderLeft: "2px solid #ccc", paddingLeft: 4}} />
</div> */}
</div>
<div className={styles.info_content} style={{}}>
<span><UserOutlined /></span>
<div style={{marginLeft: 8, whiteSpace: "nowrap"}}>{!nickname ? "-" : `${nickname},您好!`}<span id='MSGNUM' style={{fontSize:'16PX',color:'rgb(225 70 70)'}}>{`您有${msgnum}条待办`}</span></div>
</div>
</Dropdown>
{/* </Popover> */}
</Popover>
<UserEditor visible={showEditor} userData={userInfo} callback={(ret: any) => {
setShowEditor(false)
setShowFuncs(false)
}} />
}} /> */}
</div>
)
}

Loading…
Cancel
Save