标签:fir 回调 layer pre div load loading 加载 alert
layer.msg(提示信息, {time:1000, icon:5, shift:6}, 回调方法);
layer.alert(提示信息, function(index){ // 回调方法 layer.close(index); }); 询问: layer.confirm("询问信息", {icon: 3, title:‘提示‘}, function(cindex){ layer.close(cindex); }, function(cindex){ layer.close(cindex); }); 加载 var loadingIndex = layer.msg(‘处理中‘, {icon: 16}); ... layer.close(loadingIndex); var index = layer.load(2, {time: 10*1000}); layer.close(index);
标签:fir 回调 layer pre div load loading 加载 alert
原文地址:https://www.cnblogs.com/mracale/p/9903325.html