update color
This commit is contained in:
parent
27620f084d
commit
ca9e0f9263
|
|
@ -196,7 +196,7 @@ const Join: FC<PageProps> = ({
|
|||
return (
|
||||
<section>
|
||||
<Dropdown overlay={()=>JoinOverlay(globalSetting?.setting?.add) } placement="bottomRight">
|
||||
<span style={{ lineHeight: 'inherit' }} className="iconfont icon-tianjiafangda c-white font18 current ml15 mr15"></span>
|
||||
<span style={{ lineHeight: 'inherit' }} className="iconfont icon-tianjiafangda c-black-333 font18 current ml15 mr15"></span>
|
||||
</Dropdown>
|
||||
<JoinClassroomModal
|
||||
visible={visibleJoinClassroom}
|
||||
|
|
|
|||
|
|
@ -236,15 +236,15 @@ const HeaderComponents: FC<PageProps> = ({
|
|||
}
|
||||
}
|
||||
|
||||
const handleCert = async (e: React.MouseEvent) => {
|
||||
e.preventDefault();
|
||||
const res = await getEngineerUrl();
|
||||
if (res?.data?.engineer_url) {
|
||||
document.location.href = res?.data?.engineer_url
|
||||
} else if (res?.status != 401) {
|
||||
setQQVisible(true)
|
||||
}
|
||||
}
|
||||
// const handleCert = async (e: React.MouseEvent) => {
|
||||
// e.preventDefault();
|
||||
// const res = await getEngineerUrl();
|
||||
// if (res?.data?.engineer_url) {
|
||||
// document.location.href = res?.data?.engineer_url
|
||||
// } else if (res?.status != 401) {
|
||||
// setQQVisible(true)
|
||||
// }
|
||||
// }
|
||||
|
||||
if (globalSetting.showHeader && globalSetting.showHeaderFooter) {
|
||||
return (
|
||||
|
|
@ -352,7 +352,7 @@ const HeaderComponents: FC<PageProps> = ({
|
|||
{!isLogin && !!user?.userInfo?.login && <Join />}
|
||||
{
|
||||
!!user?.userInfo?.login &&
|
||||
<a className="iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative" href ={`${ENV.FORGE_SERVER}/settings/notice`}>{user?.userInfo?.message_unread_total > 0 ? <span className={styles.newslight}></span>:""}</a>
|
||||
<a className="iconfont icon-xiaoxilingdang c-black-333 ml15 mr15 font18 relative" href ={`${ENV.FORGE_SERVER}/settings/notice`}>{user?.userInfo?.message_unread_total > 0 ? <span className={styles.newslight}></span>:""}</a>
|
||||
}
|
||||
</>
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue