layer icon indicating copy to clipboard operation
layer copied to clipboard

丰富多样的 Web 弹出层组件,可轻松实现 Alert/Confirm/Prompt/ 普通提示/页面区块/iframe/tips等等几乎所有的弹出交互。目前已成为最多人使用的弹层解决方案

Results 17 layer issues
Sort by recently updated
recently updated
newest added

- 弹出层点击关闭使用`layer.close`函数,弹出层点击关闭后清除页面中所有弹出层元素。 - `layer.js`中第936行`$('#layui-layer-moves, #layui-layer-shade' + index).remove();`,弹出层元素中`#layui-layer-moves` 不存在,修改为 `.layui-layer-move`

iPad Pro 中使用 `layer.open()` 打开页面最小宽度大于 1024px 的页面时弹窗位置任然相对 于 1024px 定位

第一版 提交的 有很多 bug 这个版本 基本都修复了。

修正方案:btnHeight的赋值末尾加上 ||0 防止出现undefined Signed-off-by: Yuri2

提示消息中的标题在没有 reset.css 重置下,会导致标题样式被 margin 打乱,所以可以加上`margin: 0`来解决这个问题

注释已经添加,不知道元芳怎么看

```javascript layer.photos({ photos: '#layer-photos-demo' ,anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数) ,successCallback: function () { console.log("----successCallback----"); } ,endCallback: function () { console.log("----endCallback----"); } }); ```