<code>$('.am-g.trends').on('click','.ex-main-img', function () { layer.open({ type: 1, title: false, closeBtn: 0, area: '500px', skin: 'layui-layer-nobg', //没有背景色 shadeClose: true, content: $(this) }); }); </code>
I used the layer plug-in, clicked on the picture, and a magnified picture of itself popped up, but it disappeared. I wonder if anyone has a similar experience