【layer】关于layer打开就是最大化的使用

时间:2023-03-09 02:41:19
【layer】关于layer打开就是最大化的使用

使用layer时候 想在弹出层 在打开的时候默认就是最大值

  perContent = layer.open({
type:2,
title: userName+nowDate+"的"+perType,
content: 'perContentUpdate.htmls',
area: ['700px', '250px'],
maxmin: true, //最大化按钮
anim:3, //动画
shade: [0.8, '#393D49'],//遮罩层
end: function(){ }
});
layer.full(perContent);