经过layer.style动态来设置javascript
//你每执行一个弹层,都会返回一个索引 //从新给指定层设定width、top等 var index = layer.open(); layer.style(index, { width: '1000px', top: '10px' });
经过layer.style动态来设置javascript
//你每执行一个弹层,都会返回一个索引 //从新给指定层设定width、top等 var index = layer.open(); layer.style(index, { width: '1000px', top: '10px' });