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

使用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

 

posted @ 2017-02-20 10:59  Angel挤一挤  阅读(14097)  评论(0编辑  收藏  举报