/*
* Date: 2016-12-13
*/
function tipsPanel (tips, btn1, btn2) {
var timer = null;
var ele = '
';
ele += '
' + tips + '
';
if (btn2) {
ele += '
';
$('body').append(ele);
} else {
ele += '';
$('body').append(ele);
}
}
$('body').on('click', '#tips_panel *', function (event) {
event.stopPropagation();
});
$('body').on('click', '#tips_panel, #tips_close', function (event) {
event.stopPropagation();
$(this).closest('#tips_panel').remove();
});