...
|
...
|
@@ -102,32 +102,26 @@ |
|
|
|
|
|
//软件盘
|
|
|
var flag = false;
|
|
|
|
|
|
$("input").focus(function(){
|
|
|
|
|
|
flag = true;
|
|
|
console.log(flag)
|
|
|
|
|
|
});
|
|
|
|
|
|
window.onresize = function(){
|
|
|
|
|
|
if(flag){
|
|
|
|
|
|
$(".bottom_icon position_a").css({"position":"initial"});
|
|
|
flag = false;
|
|
|
|
|
|
}else {
|
|
|
|
|
|
$(".bottom_icon position_a").css({"position":"fixed"});
|
|
|
|
|
|
if(document.activeElement.id == "user_login"||document.activeElement.id=="user_pass"){
|
|
|
flag = true;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
};
|
...
|
...
|
|