layer.open({
type: 1,
title: '变化详情', //设置标题,false为无标题
closeBtn: 0, //关闭图标隐藏
btn: ['确认提交', '取消'], //自定义按钮
shadeClose: true,//点击空白处关闭
shade: 0.8,
skin: 'layer_bg', //layer_bg是自定义的css样式
area: ['1000px', '600px'], //设置宽高
content: html, //html是之前写好的弹出层html代码的字符串
});
layer属性
最新推荐文章于 2022-08-12 20:12:51 发布