var layerIndex;
success:function(layero,index){
layerIndex=index;
}
resizing:function(layero){
var layerInitWidth=$("#layui-layer"+layerIndex).width();
var layerInitHeight=$("#layui-layer"+layerIndex).height();
if(layerInitWidth<600){
layer.style(layerIndex,{
top:0,
width:600,//设置最小宽度
height:500,//设置最小高度
});
}
}