1. <tfoot id='9oTcJ'></tfoot>

      <small id='9oTcJ'></small><noframes id='9oTcJ'>

      <legend id='9oTcJ'><style id='9oTcJ'><dir id='9oTcJ'><q id='9oTcJ'></q></dir></style></legend>

      <i id='9oTcJ'><tr id='9oTcJ'><dt id='9oTcJ'><q id='9oTcJ'><span id='9oTcJ'><b id='9oTcJ'><form id='9oTcJ'><ins id='9oTcJ'></ins><ul id='9oTcJ'></ul><sub id='9oTcJ'></sub></form><legend id='9oTcJ'></legend><bdo id='9oTcJ'><pre id='9oTcJ'><center id='9oTcJ'></center></pre></bdo></b><th id='9oTcJ'></th></span></q></dt></tr></i><div id='9oTcJ'><tfoot id='9oTcJ'></tfoot><dl id='9oTcJ'><fieldset id='9oTcJ'></fieldset></dl></div>

          <bdo id='9oTcJ'></bdo><ul id='9oTcJ'></ul>

        layer弹出层嵌套调用问题

        layer弹出层嵌套调用问题的实例代码 //首次调用layer.open({ type: 2, title: '打印', content: '/Account/AddPrintInfo?cardId=' + data.Base_CardId, area: ['90%', '30%'], success: function (layero, index) { }, end: function () { }, btn: ['确定','
        <legend id='3JYKI'><style id='3JYKI'><dir id='3JYKI'><q id='3JYKI'></q></dir></style></legend>

              <bdo id='3JYKI'></bdo><ul id='3JYKI'></ul>

                <tbody id='3JYKI'></tbody>

                <tfoot id='3JYKI'></tfoot>

                • <i id='3JYKI'><tr id='3JYKI'><dt id='3JYKI'><q id='3JYKI'><span id='3JYKI'><b id='3JYKI'><form id='3JYKI'><ins id='3JYKI'></ins><ul id='3JYKI'></ul><sub id='3JYKI'></sub></form><legend id='3JYKI'></legend><bdo id='3JYKI'><pre id='3JYKI'><center id='3JYKI'></center></pre></bdo></b><th id='3JYKI'></th></span></q></dt></tr></i><div id='3JYKI'><tfoot id='3JYKI'></tfoot><dl id='3JYKI'><fieldset id='3JYKI'></fieldset></dl></div>
                • <small id='3JYKI'></small><noframes id='3JYKI'>

                  layer弹出层嵌套调用问题的实例代码
                  //首次调用
                  layer.open({
                                          type: 2,
                                          title: '打印',
                                          content: '/Account/AddPrintInfo?cardId=' + data.Base_CardId,
                                          area: ['90%', '30%'],
                                          success: function (layero, index) {
                                          },
                                          end: function () {
                                          },
                                          btn: ['确定','关闭']
                                          , yes: function (index, layero) {
                                              var thisIndex = index;
                                              layer.confirm('确定保存么', { icon: 3, title: '提示' }, function (index) {
                                                  var body = layer.getChildFrame('body', index);
                      
                                                  var iframeWin = window[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();]
                                                  if (iframeWin.AddPrintInfoAction()) {
                                                      //关闭confirm
                                                      layer.close(index);
                                                      setTimeout(function () {
                                                          //关闭layer
                                                          layer.close(thisIndex);
                                                          //当弹出的第一个页面完成操作后判断结果,如果结果为真则关闭之前弹出的内容,弹出新的内容页(第二次调用)
                                                          layer.open({
                                                              type: 2,
                                                              title: '打印',
                                                              content: '/Account/AddPrintInfoPage?cardId=' + data.Base_CardId,
                                                              area: ['98%', '98%'],
                                                              success: function (layero, index) {
                                                              },
                                                              end: function () {
                                                              },
                                                              btn: ['打印']
                                                              , btn1: function (index, layero) {
                                                                  
                                                                  var body = layer.getChildFrame('body', index);
                                                                  console.log("layero", layero);
                                                                  
                                                                  //此处在回调中获得的layero,为当前弹出层的内容,通过该内容获取iframe标签信息,与单层弹出相同    
                                                                  var iframeWin = window[layero.find('iframe')[0]['name']];
                                                                  console.log("iframeWin", iframeWin);
                                                                  iframeWin.printPage();
                                                              }
                                                          });
                                                      }, 2 * 1100);
                   
                                                  }
                                                  else {
                                                      layer.close(index);
                                                      return false;
                                                  }
                                              });
                                          }
                                          
                                      });
                   
                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  list页面配置 // 行事件绑定 table.on('tool(test)', function (obj) { var data = obj.data; if (obj.event === "edit") { //eg2 layer.open({ title: '修改分类' , type: 2 , btn: ['提交'] , content: 'edit.html' , area: ['720px', '680px'] , shadeClos
                  layer.open让弹窗的按钮居中的示例代码 layer.open({ title:"提示", type:1, area:['500px','500px'], btn:"提交", btnAlign:"c",//btnAlign:c属性按钮居中,l居左边,r居右边,属性必须小写,大写是无效的! content:`` });
                  最近使用layui做了个简单的项目,遇到了个问题,在layui.table渲染页面做修改的时候,使用的是弹出层,要把值赋给radio的时候总是渲染不上去。现在解决了这个问题,记录一下。 js代码块代码: function updateUser(data) { layer.open({ type : 2, title : '
                  html点击按钮弹出页面获取值的实例代码 代码一: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml"headtitle/titlescript type="text/j

                  <small id='tVEQ8'></small><noframes id='tVEQ8'>

                    <tfoot id='tVEQ8'></tfoot>

                      • <bdo id='tVEQ8'></bdo><ul id='tVEQ8'></ul>

                            <i id='tVEQ8'><tr id='tVEQ8'><dt id='tVEQ8'><q id='tVEQ8'><span id='tVEQ8'><b id='tVEQ8'><form id='tVEQ8'><ins id='tVEQ8'></ins><ul id='tVEQ8'></ul><sub id='tVEQ8'></sub></form><legend id='tVEQ8'></legend><bdo id='tVEQ8'><pre id='tVEQ8'><center id='tVEQ8'></center></pre></bdo></b><th id='tVEQ8'></th></span></q></dt></tr></i><div id='tVEQ8'><tfoot id='tVEQ8'></tfoot><dl id='tVEQ8'><fieldset id='tVEQ8'></fieldset></dl></div>
                            <legend id='tVEQ8'><style id='tVEQ8'><dir id='tVEQ8'><q id='tVEQ8'></q></dir></style></legend>
                              <tbody id='tVEQ8'></tbody>