增加第三方登录logo-默认logo

This commit is contained in:
caishi 2025-12-24 11:49:12 +08:00
parent 69b8ec25d0
commit ed75921809
4 changed files with 11 additions and 4 deletions

View File

@ -36,7 +36,7 @@
margin-left:10px; margin-left:10px;
margin-right:10px; margin-right:10px;
} }
#DialogID div { #DialogID>div {
overflow-y:visible !important; overflow-y:visible !important;
box-shadow:none !important; box-shadow:none !important;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

View File

@ -231,16 +231,22 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
img{
border-radius: 50%;
}
} }
.thirdPanel{ .thirdPanel{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
min-width: 120px; min-width: 160px;
max-width:230px; max-width:230px;
a{ a{
margin:5px 12px; margin:5px 12px;
img{
border-radius: 50%;
}
} }
} }
.moreIcon,.theTop{ .moreIcon,.theTop{

View File

@ -7,6 +7,7 @@ import giteelogo from '../../login/gitee.png';
import githublogo from '../../login/github.png'; import githublogo from '../../login/github.png';
import CCFlogo from '../../login/CCF.png'; import CCFlogo from '../../login/CCF.png';
import OpenI from '../../login/OpenI.svg'; import OpenI from '../../login/OpenI.svg';
import defaultlog from '../../login/default.png';
import "../LoginRegisterPage.scss" import "../LoginRegisterPage.scss"
function OtherLogin(){ function OtherLogin(){
@ -35,7 +36,7 @@ function OtherLogin(){
case 'openi': case 'openi':
return OpenI; return OpenI;
default: default:
return; return defaultlog;
} }
} }
return( return(
@ -67,7 +68,7 @@ function OtherLogin(){
</a> </a>
}) })
} }
</div>} trigger="hover" overlayClassName='theTop'> </div>} trigger="hover" overlayClassName='theTop' getPopupContainer={trigger=>trigger.parentNode}>
<i className='iconfont icon-kongbai font-40 ml12 mr12' style={{color:"#8daec6"}}/> <i className='iconfont icon-kongbai font-40 ml12 mr12' style={{color:"#8daec6"}}/>
</Popover> </Popover>
} }