mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
企业微信&钉钉扫描登录
企业微信&钉钉扫描登录
This commit is contained in:
@@ -329,8 +329,8 @@ body{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#normalLogin,#tfaLogin,#mobileLogin{
|
||||
width :49%;
|
||||
#normalLogin,#tfaLogin,#mobileLogin,#qrcodelogin{
|
||||
width :33.3%;
|
||||
}
|
||||
|
||||
#div_tfaLogin , #div_mobileLogin{
|
||||
|
||||
@@ -38,22 +38,22 @@ $(function(){
|
||||
}
|
||||
});
|
||||
/** switch_tab*/
|
||||
$(".switch_tab_class").on("click",function(){
|
||||
if($(".switch_tab_current").attr("id")==(this.id)){
|
||||
return;
|
||||
}
|
||||
|
||||
$(".switch_tab .switch_tab_class").removeClass("switch_tab_current");
|
||||
$(this).addClass("switch_tab_current");
|
||||
$(".switch_tab li").each(function(){
|
||||
$("#"+$(this).attr("value")).hide();
|
||||
});
|
||||
|
||||
$("#"+$(this).attr("value")).show();
|
||||
if (typeof(switchTab) == "function"){
|
||||
switchTab($(this).attr("value"));//user define after switch Tab
|
||||
}
|
||||
});
|
||||
$(".switch_tab_class").on("click",function(){
|
||||
if($(".switch_tab_current").attr("id")==(this.id)){
|
||||
return;
|
||||
}
|
||||
|
||||
$(".switch_tab .switch_tab_class").removeClass("switch_tab_current");
|
||||
$(this).addClass("switch_tab_current");
|
||||
$(".switch_tab li").each(function(){
|
||||
$("#div_"+$(this).attr("id")).hide();
|
||||
});
|
||||
|
||||
$("#div_"+$(this).attr("id")).show();
|
||||
if (typeof(switchTab) == "function"){
|
||||
switchTab($(this).attr("id"));//user define after switch Tab
|
||||
}
|
||||
});
|
||||
|
||||
//document forward
|
||||
$.forward=function(config){
|
||||
|
||||
Reference in New Issue
Block a user