$('#tousu').on('click', function(){ layer.open({ type: 1,	title :'投诉举报', area: ['600px', '300px'], shadeClose: true, //点击遮罩关闭 content: $('#tousutip') }); });