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

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

View Code

 

版权声明:本文为sxdcgaq8080原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/sxdcgaq8080/p/6418597.html