var iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='yes' framedorder='0'>");// 对话框内 iframe 参数的命名,默认宽高占比是 100%,可向下滚动iframe.attr("src", cc + "?reportlet=李文/客服历史记录1.cpt&cardId=" + cardId + " ");// 给 iframe 添加 src 属性var o = { width: 1200, //对话框宽度 height: 800 //对话框高度};FR.showDialog("缴费明细", o.width, o.height, iframe, o); //弹出对话框