|
@@ -54,3 +54,26 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+alert_s = function(value = '类容'){
|
|
|
|
+ $('body').append(`
|
|
|
|
+<div id="alert" style="background:transparent;
|
|
|
|
+left:0px;
|
|
|
|
+right:0px;
|
|
|
|
+top:0px;
|
|
|
|
+bottom:0px;
|
|
|
|
+margin:auto;
|
|
|
|
+text-align: center;
|
|
|
|
+position:fixed;
|
|
|
|
+z-index:999999;">
|
|
|
|
+
|
|
|
|
+<div style="text-align: center;position:absolute;
|
|
|
|
+ left:0px;right:0px;top:0px;bottom:0px;margin:auto;
|
|
|
|
+ width:150px;height:35px;border-radius:5px;background: rgba(0,0,0,0.3)">
|
|
|
|
+ <span style="height:35px;line-height:35px;color: #ffffff;font-size: 13px">${value}</span>
|
|
|
|
+ </div>
|
|
|
|
+</div>`);
|
|
|
|
+
|
|
|
|
+ setTimeout(function () {
|
|
|
|
+ $('#alert').remove();
|
|
|
|
+ },500)
|
|
|
|
+}
|