wnm168 commited on
Commit
abcaed5
·
verified ·
1 Parent(s): 9e3a358

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -1
index.html CHANGED
@@ -33,6 +33,11 @@
33
  <script src="https://cdnjs.cloudflare.com/ajax/libs/localforage/1.10.0/localforage.min.js"></script>
34
 
35
  <style>
 
 
 
 
 
36
  .bi {
37
  display: inline-block;
38
  width: 1rem;
@@ -897,7 +902,7 @@
897
  formType: 0,
898
  value: row.name,
899
  success: function (layero, index) {
900
- $(".layui-layer").eq(0).css("top","0px");
901
  $("div[aria-modal]").eq(0).removeAttr("tabindex");//解决弹出窗的input无法获取焦点的问题
902
  },
903
  end: function (layero, index) {
 
33
  <script src="https://cdnjs.cloudflare.com/ajax/libs/localforage/1.10.0/localforage.min.js"></script>
34
 
35
  <style>
36
+ /*修复layer在某些页面上的Bug*/
37
+ .layui-layer {
38
+ top: 0px;
39
+ }
40
+
41
  .bi {
42
  display: inline-block;
43
  width: 1rem;
 
902
  formType: 0,
903
  value: row.name,
904
  success: function (layero, index) {
905
+
906
  $("div[aria-modal]").eq(0).removeAttr("tabindex");//解决弹出窗的input无法获取焦点的问题
907
  },
908
  end: function (layero, index) {