update color

This commit is contained in:
caishi 2024-05-27 08:39:36 +08:00
parent 27620f084d
commit ca9e0f9263
2 changed files with 11 additions and 11 deletions

View File

@ -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}

View File

@ -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>
}
</>
}