正在显示
2 个修改的文件
包含
3 行增加
和
10 行删除
@@ -102,32 +102,26 @@ | @@ -102,32 +102,26 @@ | ||
102 | 102 | ||
103 | //软件盘 | 103 | //软件盘 |
104 | var flag = false; | 104 | var flag = false; |
105 | - | ||
106 | $("input").focus(function(){ | 105 | $("input").focus(function(){ |
107 | 106 | ||
108 | flag = true; | 107 | flag = true; |
109 | console.log(flag) | 108 | console.log(flag) |
110 | 109 | ||
111 | }); | 110 | }); |
112 | - | ||
113 | window.onresize = function(){ | 111 | window.onresize = function(){ |
114 | 112 | ||
115 | if(flag){ | 113 | if(flag){ |
116 | 114 | ||
117 | $(".bottom_icon position_a").css({"position":"initial"}); | 115 | $(".bottom_icon position_a").css({"position":"initial"}); |
118 | flag = false; | 116 | flag = false; |
119 | - | ||
120 | }else { | 117 | }else { |
121 | 118 | ||
122 | $(".bottom_icon position_a").css({"position":"fixed"}); | 119 | $(".bottom_icon position_a").css({"position":"fixed"}); |
123 | 120 | ||
124 | if(document.activeElement.id == "user_login"||document.activeElement.id=="user_pass"){ | 121 | if(document.activeElement.id == "user_login"||document.activeElement.id=="user_pass"){ |
125 | flag = true; | 122 | flag = true; |
126 | - | ||
127 | }; | 123 | }; |
128 | 124 | ||
129 | - | ||
130 | - | ||
131 | }; | 125 | }; |
132 | 126 | ||
133 | }; | 127 | }; |
@@ -2,8 +2,7 @@ body{ | @@ -2,8 +2,7 @@ body{ | ||
2 | background-color: #FFFFFF; | 2 | background-color: #FFFFFF; |
3 | } | 3 | } |
4 | .position_a{ | 4 | .position_a{ |
5 | - position: fixed; | ||
6 | - bottom:0.2rem; | 5 | + position: absolute; |
7 | } | 6 | } |
8 | .pic_wrap{ | 7 | .pic_wrap{ |
9 | width: 2.3rem; | 8 | width: 2.3rem; |
@@ -15,8 +14,8 @@ body{ | @@ -15,8 +14,8 @@ body{ | ||
15 | display: flex; | 14 | display: flex; |
16 | width: 6.1rem; | 15 | width: 6.1rem; |
17 | height: 1rem; | 16 | height: 1rem; |
18 | - align-items: center; | ||
19 | background-color: #F8F8F8; | 17 | background-color: #F8F8F8; |
18 | + align-items: center; | ||
20 | border-radius: 0.2rem; | 19 | border-radius: 0.2rem; |
21 | background-color: #F8F8F8; | 20 | background-color: #F8F8F8; |
22 | position: relative; | 21 | position: relative; |
@@ -36,8 +35,8 @@ body{ | @@ -36,8 +35,8 @@ body{ | ||
36 | 35 | ||
37 | .baby_input { | 36 | .baby_input { |
38 | background-color: #F8F8F8; | 37 | background-color: #F8F8F8; |
39 | - outline: none; | ||
40 | border: none; | 38 | border: none; |
39 | + outline: none; | ||
41 | height: 90%; | 40 | height: 90%; |
42 | width: 3.5rem; | 41 | width: 3.5rem; |
43 | font-size: .3rem; | 42 | font-size: .3rem; |
-
请 注册 或 登录 后发表评论