jack 3 weeks ago
parent
commit
4f52a4dc0f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/Desktop/DeskTop.js

+ 2 - 2
js/Desktop/DeskTop.js

@@ -5150,7 +5150,7 @@ U.MD.D.iconPostion = function (childs, top, left) {
     //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
     for (i = 0; i < childs.length; i++) {
         //如果竖排top超过了范围处理
-        if (top + 110 > US.height - 10) {
+        if (top + 95 > US.height - 10) {
             //left超过了页面范围处理,则向上重叠打印处理
             if ((left + 180) > US.width) {
                 top -= 110;
@@ -5166,7 +5166,7 @@ U.MD.D.iconPostion = function (childs, top, left) {
         U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
         if (i < childs.length - 1) {
             //页面图标每次向下加95
-            top += 110;
+            top += 95;
         }
     }
     //返回最后调用的图标的位置