摘要:1、居中弹出,默认宽高 $k.win({ title:'百度', content:'url:https://www.baidu.com' }); 查看效果 2、居中弹出,自定义宽高 $k.win({ title:'百度', content:'url:https://www.baidu.com', s
阅读全文
摘要:1、Loading样式一。 var loading=$k.loading(); //3秒后关闭加loading提示框 window.setTimeout(function(){ loading.close(); },3000); 查看效果 2、Loading样式二。 var loading=$k.l
阅读全文
摘要:1、单行输入 $k.prompt({ content:'<span>请输入姓名:</span><input type="text" class="kui-window-input" style="width:200px;height:32px;" /> ', onClosed:function(ar
阅读全文
摘要:1、居中弹出 $k.msg({content:'居中弹出'}); 查看效果 2、左上角弹出 $k.msg({ content:'左上角弹出', style:{left:0,top:0} }); 查看效果 3、右下角弹出 $k.msg({ content:'右上角弹出', style:{left:'r
阅读全文
摘要:1、居中弹出 $k.confirm({ content:'居中弹出', onClosed:function(args){ if (args.closeTrigger == 'btn-0') { $k.alert({content:'您点了"确定"按钮'}); } else{ $k.alert({co
阅读全文
摘要:1、居中弹出 $k.alert({content:'居中弹出'}); 查看效果 2、左上角弹出 $k.alert({ content:'左上角弹出', style:{left:0,top:0} }); 查看效果 3、右下角弹出 $k.alert({ content:'右上角弹出', style:{l
阅读全文