Layui-open 打开一个新页面的实例代码Layui-open 打开一个新页面的实例代码 edit: function () { var _this = this; var index = layui.layer.open({ skin:'', type : 2, maxmin: true, area: ['95%', '95%'],//弹出区域大小 content : "url",//跳转url success : function(layero, index){//成功时候回调 setTimeout(function(){ layui.lay
edit: function () {
var _this = this;
var index = layui.layer.open({
skin:'',
type : 2,
maxmin: true,
area: ['95%', '95%'],//弹出区域大小
content : "url",//跳转url
success : function(layero, index){//成功时候回调
setTimeout(function(){
layui.layer.tips('点击此处返回列表', '.layui-layer-setwin .layui-layer-close', {
tips: 3
});
},500)
},
end:function(){//关闭或者结束弹框回调
//通常刷新列表
}
})
},
织梦狗教程
本文标题为:Layui-open 打开一个新页面的实例代码


基础教程推荐
猜你喜欢
- Bootstrap简明表格 1970-01-01
- Bootstrap内联表单 1970-01-01
- Bootstrap下拉列表选项卡 1970-01-01
- Bootstrap将下拉菜单添加到按钮 1970-01-01
- Bootstrap .btn-group-*类的用法 1970-01-01
- Bootstrap Clearfix 1970-01-01
- D3.js SVG线示例 1970-01-01
- Bootstrap默认导航栏 1970-01-01
- Bootstrap .img-rounded类 1970-01-01
- Bootstrap成功Contextual类 1970-01-01