layer.photos({
photos: {"data": [{"src": img_yt}]}
, tab: function (pic, layero) {
let photoheight = $("#layui-layer-photos").parent().height();
$("#layui-layer-photos").height(photoheight);
}
});
解决layui弹出相册层,按钮会遮挡图片
最新推荐文章于 2023-06-19 00:38:44 发布