|
@ -128,7 +128,7 @@ const Header = () => { |
|
|
<Popover trigger="click" content={popoverAvatar} placement="bottomRight" > |
|
|
<Popover trigger="click" content={popoverAvatar} placement="bottomRight" > |
|
|
<Button style={{ height: 40, backgroundColor: 'rgba(0,0,0,.25)', borderRadius: 20, justifyContent: 'flex-start' }}> |
|
|
<Button style={{ height: 40, backgroundColor: 'rgba(0,0,0,.25)', borderRadius: 20, justifyContent: 'flex-start' }}> |
|
|
<div className="row-items" style={{ overflow: 'hidden' }}> |
|
|
<div className="row-items" style={{ overflow: 'hidden' }}> |
|
|
<img src="https://cfile.uworkcrm.com/static/images/avtar.jpg" alt="" className="avatar" /> |
|
|
|
|
|
|
|
|
<img src={require('../../assets/avatar.jpg')} alt="" className="avatar" /> |
|
|
<div style={{ marginLeft: 5, marginRight: 5, maxWidth: 100 }} className="tx-over">{userInfo.name || ''}</div> |
|
|
<div style={{ marginLeft: 5, marginRight: 5, maxWidth: 100 }} className="tx-over">{userInfo.name || ''}</div> |
|
|
</div> |
|
|
</div> |
|
|
</Button> |
|
|
</Button> |
|
@ -145,7 +145,7 @@ const Header = () => { |
|
|
<div className="text-white tp fz-24" onClick={() => setOpenMenu(true)}><AiOutlineMenuUnfold /></div> |
|
|
<div className="text-white tp fz-24" onClick={() => setOpenMenu(true)}><AiOutlineMenuUnfold /></div> |
|
|
<div className="row-items"> |
|
|
<div className="row-items"> |
|
|
<Popover content={popoverAvatar} placement="bottomRight" trigger="click"> |
|
|
<Popover content={popoverAvatar} placement="bottomRight" trigger="click"> |
|
|
<img src="https://cfile.uworkcrm.com/static/images/avtar.jpg" alt="" className="avatar tp" /> |
|
|
|
|
|
|
|
|
<img src={require('../../assets/avatar.jpg')} alt="" className="avatar tp" /> |
|
|
</Popover> |
|
|
</Popover> |
|
|
<div className="row-items"> |
|
|
<div className="row-items"> |
|
|
<div className="text-white ml-1 fz-24 tp" onClick={showDrawer}><AiOutlineMenuFold /></div> |
|
|
<div className="text-white ml-1 fz-24 tp" onClick={showDrawer}><AiOutlineMenuFold /></div> |
|
|