// 功能提示弹框
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');
	});

}

  

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2021-08-20
  • 2022-01-15
  • 2022-02-27
  • 2021-11-01
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-07-10
相关资源
相似解决方案