// 功能提示弹框
function tipsBox ( option ) {
var html = '';
if ( option.type == 'success' ) {
html += '<div class="message-box-body" data-type="success">'+ option.message +'</div>';
}
else if ( option.type == 'error' ) {
html += '<div class="message-box-body" data-type="error">';
html += '<span>' + option.message + '</span>';
html += '</div>';
}
$(".common-dialog-box").empty().append(html);
$(".common-dialog-box").addClass('show');
// 延迟取消
setTimeout(function () {
$(".common-dialog-box").removeClass('show');
});
}