$.messager.show({ title: '我的消息', msg: '消息将在5秒后关闭。', timeout: 1000, showType: 'slide', style: {} //添加style属性,并不赋值,弹出窗显示在屏幕中央,不添加style属性,弹出窗默认显示在右下角 });