用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
[TOC] ## code ``` function body_loading(msg='LOADING ...') { var dom = $('<div style="font-size: 30px;z-index: 9999;height: 100%;width: 100%;background-color: rgba(255,255,255,0.6);position: fixed;display: table;">' + '<p style="font-size: 30px;line-height: 100%;vertical-align: middle;display: table-cell;text-align:center;">'+msg+'</p>' + '</div>') $("body").prepend(dom); return dom; } ``` 使用 ``` var dom = body_loading() $.get("url",function(){ dom.remove(); //code ... }) ```