|
@@ -428,15 +428,15 @@ U.MD.D.iconPostion = function(childs, top, left) {
|
|
|
//循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
|
|
|
for (i = 0; i < childs.length; i++) {
|
|
|
//如果竖排top超过了范围处理
|
|
|
- if (top + 95 > US.height - 10) {
|
|
|
+ if (top + 150 > US.height - 10) {
|
|
|
//left超过了页面范围处理,则向上重叠打印处理
|
|
|
if ((left + 180) > US.width) {
|
|
|
- top -= 110;
|
|
|
- left -= 90;
|
|
|
+ top -= 150;
|
|
|
+ left -= 150;
|
|
|
}
|
|
|
//没有超过范围,那么left+90添加到下一个竖排打印
|
|
|
else {
|
|
|
- left += 90;
|
|
|
+ left += 150;
|
|
|
top = 15;
|
|
|
};
|
|
|
}
|
|
@@ -444,7 +444,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 += 95;
|
|
|
+ top += 150;
|
|
|
}
|
|
|
}
|
|
|
//返回最后调用的图标的位置
|