Layer 关闭弹窗

var index = parent.layer.getFrameIndex(window.name); //获取窗口索引

parent.layer.close(index);

layer.open({

                            type : 2,

                            skin : 'layui-layer-rim', //加上边框

                            maxmin : true,

                            title : '修改评论',

                            shadeClose : true, //点击遮罩关闭层

                            area : [ '420px', '240px' ], //宽高

                            content : '${ctx}/admin/goods/editCommentUI/'+id,

                            end:function(){

                                $("#table_list_2").trigger("reloadGrid");

                            }

                        });

评论

暂无评论