    layer.close(loading);
                                            }
                                        });
                                    });
                                    submit.trigger('click');
                                },
                                btn2: function (index, layero) {
                                    var iframeWindow = window['layui-layer-iframe' + index],
                                        submitID = 'LAY-front-submit',
                               