页面遮罩

js实现数据加载,页面遮罩效果

强颜欢笑 提交于 2019-12-20 20:36:07
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 实现数就加载前显示遮罩层,数据加载完隐藏遮罩层,此功能适用于数据加载,数据导入,数据导出使用场景 对应的js文件内容 : !(function() { var __modules__ = {}; function require(id) { var mod = __modules__[id]; var exports = 'exports'; if (typeof mod === 'object') { return mod; } if (!mod[exports]) { mod[exports] = {}; mod[exports] = mod.call(mod[exports], require, mod[exports], mod) || mod[exports]; } return mod[exports]; } function define(path, fn) { __modules__[path] = fn; } define("jquery", function() { return jQuery; }); /* * ! PopupJS Date: 2014-11-09 https://github.com/aui/popupjs (c) 2009-2014 * TangBin, http:/