方法一:
$.messager.confirm("确认对话框","该客户已经存在!确定:查看该客户 ", function(r){ if(r){ alert("好") } }).panel("options").top = $(document).scrollTop() + 80;
方法二:
$.messager.confirm('消息','确定要撤机吗?',function(r){ if (r){ } }).panel('move',{ left:220, top:280});