- 注册时间
- 2021-7-20
- 最后登录
- 2021-8-10
- 阅读权限
- 10
- 积分
- 16
- 精华
- 0
- 帖子
- 3
|
happylover1278 发表于 2021-7-19 16:52
想做类似popup那种 点击显示 失焦后隐藏的iframe。很像表格内的popup弹窗,只不过被放在了一个非表格中 ... - this.popup = new mini.Popup();
- this.popup.set({
- width: 600,
- minHeight: 200,
- maxHeight: 400,
- })
- this.popup.setPopupEl(this.el); // 定位对象
- this.popup.setPopupCls("mini-button-popup");
- this.popup.setShowAction("leftclick");
- this.popup.setHideAction("outerclick");
- this.popup.setXAlign("left");
- this.popup.setYAlign("below");
- this.popup.setBody('111');
- that.popup.showAtEl(that.el); // 显示
复制代码 |
|