企业微信&钉钉扫描登录

企业微信&钉钉扫描登录
This commit is contained in:
MaxKey
2021-08-07 17:15:01 +08:00
parent 30546a3d9e
commit c8244038b9
13 changed files with 101 additions and 28 deletions

View File

@@ -329,8 +329,8 @@ body{
vertical-align: top;
}
#normalLogin,#tfaLogin,#mobileLogin{
width :49%;
#normalLogin,#tfaLogin,#mobileLogin,#qrcodelogin{
width :33.3%;
}
#div_tfaLogin , #div_mobileLogin{

View File

@@ -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){