Commit 193cc01f authored by agping's avatar agping

修改

parent 0b45a3da
...@@ -307,13 +307,13 @@ function dealPunctuation(str) { ...@@ -307,13 +307,13 @@ function dealPunctuation(str) {
* 自定义提示框修改 * 自定义提示框修改
* *
*/ */
function alert(str) { //function alert(str) {
var div = '<div class="mark"></div>'; // var div = '<div class="mark"></div>';
$('body').append(div) // $('body').append(div)
$('.mark').html(str); // $('.mark').html(str);
$('.mark').show(); // $('.mark').show();
setTimeout(function() { // setTimeout(function() {
$('.mark').hide(); // $('.mark').hide();
$('.mark').remove(); // $('.mark').remove();
}, 2000) // }, 2000)
} //}
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment