$('body').loading({ loadingWidth:240, title:'请稍等!', name:'test', discription:'描述描述描述描述', direction:'column', type:'origin', originDivWidth:40, originDivHeight:40, originWidth:6, originHeight:6, smallLoading:false, loadingMaskBg:'rgba(0,0,0,0.2)' });
首先引入 css和js
然后再触发一个事件或者直接运行上面的代码就行了