实现的源码:
js函数:
addtype: function () {
var that = this;
that._data.operatetype = 0;
that._data.saveobj.floorId = [];
that._data.layerindex.index_2 = layer.open({
type: 1,
offset: 'auto',
shadeClose: true,
shade: 0.1,
title:[" ","height:0px;"],
content: $("#view_23"), //view_23是弹出层内容部分的id。
area: ["1200px", "600px"],
maxmin: true, //实现全屏弹出。
closeBtn : 1
});
layer.full(that._data.layerindex.index_2); //实现全屏弹出。
},