login.min.js 836 B

1
  1. $(function(){layui.form.on("submit(userLogin)",function(o){return console.log(o.elem),console.log(o.form),console.log(o.field),$.ajax({url:"http://yun.eqbidding.com/web-back/login_back",type:"get",dataType:"json",data:o.field,success:function(o){console.log(o)}}),!1}),layui.form.on("submit(CALogin)",function(o){return console.log(o.elem),console.log(o.form),console.log(o.field),$.ajax({url:"http://yun.eqbidding.com/web-back//check_login_back_key",type:"get",dataType:"json",data:o.field,success:function(o){console.log(o)}}),!1}),$(".login-label a").on("click",function(o){$(this).addClass("that").siblings().removeClass("that"),"user"===$(this).attr("id")?$(".user-login").css({display:"block"}).siblings().css({display:"none"}):"CA"===$(this).attr("id")&&$(".CA-login").css({display:"block"}).siblings().css({display:"none"})})});