add: loading(初步完成)
parent
54f1967a6f
commit
0210104347
|
|
@ -338,15 +338,15 @@ layui.define(["element", "jquery", "okLoading"], function (exports) {
|
|||
element.tabChange(tabFilter, tabId);
|
||||
|
||||
/**页面加载动画*/
|
||||
var iframeObj = $("iframe[lay-id=" + tabId + "]");
|
||||
/*var iframeObj = $("iframe[lay-id=" + tabId + "]");
|
||||
iframeObj[0].onload = function() {
|
||||
var ibody = $("iframe[lay-id=" + tabId + "]").contents().find("body");
|
||||
okLoading("", "", ibody[0]);
|
||||
};
|
||||
// setTimeout(function () {
|
||||
//
|
||||
//
|
||||
// },30);
|
||||
};*/
|
||||
setTimeout(function () {
|
||||
var ibody = $("iframe[lay-id=" + tabId + "]").contents().find("body");
|
||||
okLoading("", "", ibody[0]);
|
||||
},20);
|
||||
|
||||
this.navMove("rightmax");
|
||||
/**保存展开的tab**/
|
||||
|
|
|
|||
Loading…
Reference in New Issue