loading
function initLoading(){
var clas="A"+Math.round(Math.random()*10000);
var mask="<div class="+clas+" style='position: fixed;width:100%;height:100%;left:0;top:0;background: black;opacity: 0.5;'></div>"
var picture='data:image/gif;base64,R0lGODlhZABkAIABAEpJRwAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QTI5MDY4N0Q1QTNDMTFFNzhCQjQ4MTMwQTdFMEFGODMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTI5MDY4N0U1QTNDMTFFNzhCQjQ4MTMwQTdFMEFGODMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBMjkwNjg3QjVBM0MxMUU3OEJCNDgxMzBBN0UwQU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KT+/s25/j0Mvvf/vnbdtAacVFJiulrtrAFf58+GqXz59BmEV0xXxmkRG/xujpajIByOrjgvwHTMmMtjHWSR7oUzJsiU4mS7RmMy48hdDjvDcebw5MydAgkAnOikJ86TFdgqTjpTGL+E+olFpPm1jtKrVmku1Fp0W1OtOnlgfij141dTZrTgnZV1b1iBSuPXSWqRqJ+w3pXfN+tJJLibavCqPDquLF1dhwz/RvtVml/FjxHoh870k2HJkzJkDb050GBk2zqElj1b2+etlYqtVpxZDVurpOA3ZlmY92zVX3Lltt4WNyWdvZ4b8gFRcHGJtzcl1Awb+Q/biK1WM3yb+xPpz6lsmj53LuzvCpKDFJ5Zn/iL69J1fsZ8O7f3rv/Jj064fnDv+Op73Zwd36F+A+BUAADs='
var img='<img class='+clas+' src='+picture+' style="position: fixed;width:30px;height:30px;left:50%;top:50%;margin-top: -15px;margin-left: -15px">'
$.showLoading=function(){
$("body").append(mask+img);
}
$.hideLoading=function(){
$("."+clas).remove()
}
}
请爱好前端技术的朋友,联系我,有问题大家一起讨论