|
|
@ -36257,7 +36257,9 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
warningTitle: null, |
|
|
|
warningTitle: null, |
|
|
|
tipType: null, // success或warning
|
|
|
|
tipType: null, // success或warning
|
|
|
|
value: null, |
|
|
|
value: null, |
|
|
|
belowMouse: false // title是否跟随鼠标,
|
|
|
|
belowMouse: false, // title是否跟随鼠标,
|
|
|
|
|
|
|
|
// 之所以默认为body,是因为transform的效果影响
|
|
|
|
|
|
|
|
container: "body" |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -36291,7 +36293,8 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
if (BI.isKey(o.title) || BI.isKey(o.warningTitle) |
|
|
|
if (BI.isKey(o.title) || BI.isKey(o.warningTitle) |
|
|
|
|| BI.isFunction(o.title) || BI.isFunction(o.warningTitle)) { |
|
|
|
|| BI.isFunction(o.title) || BI.isFunction(o.warningTitle)) { |
|
|
|
this.enableHover({ |
|
|
|
this.enableHover({ |
|
|
|
belowMouse: o.belowMouse |
|
|
|
belowMouse: o.belowMouse, |
|
|
|
|
|
|
|
container: o.container |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -38935,10 +38938,7 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
trigger: "click", |
|
|
|
trigger: "click", |
|
|
|
toggle: true, |
|
|
|
toggle: true, |
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
direction: "bottom", // top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
|
|
|
// 之所以默认为body,是因为
|
|
|
|
container: null, // popupview放置的容器,默认为this.element
|
|
|
|
// 1、页面上如果有transform,那么fixed的表现行为就是absolute
|
|
|
|
|
|
|
|
// 2、另外在IE下,也会有位置偏移的问题
|
|
|
|
|
|
|
|
container: "body", // popupview放置的容器,默认为body
|
|
|
|
|
|
|
|
isDefaultInit: false, |
|
|
|
isDefaultInit: false, |
|
|
|
destroyWhenHide: false, |
|
|
|
destroyWhenHide: false, |
|
|
|
isNeedAdjustHeight: true, // 是否需要高度调整
|
|
|
|
isNeedAdjustHeight: true, // 是否需要高度调整
|
|
|
@ -90232,7 +90232,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, { |
|
|
|
adjustLength: 0, |
|
|
|
adjustLength: 0, |
|
|
|
direction: "bottom", |
|
|
|
direction: "bottom", |
|
|
|
trigger: "click", |
|
|
|
trigger: "click", |
|
|
|
container: null, |
|
|
|
container: "body", |
|
|
|
stopPropagation: false, |
|
|
|
stopPropagation: false, |
|
|
|
el: {} |
|
|
|
el: {} |
|
|
|
}); |
|
|
|
}); |
|
|
|