diff --git a/src/widget/time/time.combo.js b/src/widget/time/time.combo.js index 2a671adb2..14bdce095 100644 --- a/src/widget/time/time.combo.js +++ b/src/widget/time/time.combo.js @@ -14,8 +14,8 @@ }, props: { baseCls: "bi-time-combo bi-border bi-border-radius bi-focus-shadow", - width: 78, - height: 22, + // width: 78, + // height: 22, format: "", allowEdit: false }, diff --git a/src/widget/timeinterval/timeperiods.js b/src/widget/timeinterval/timeperiods.js index bc4acd12d..dbc73333e 100644 --- a/src/widget/timeinterval/timeperiods.js +++ b/src/widget/timeinterval/timeperiods.js @@ -9,8 +9,8 @@ constants: { height: 24, width: 24, - lgap: 15, - offset: 0 + hgap: 15, + offset: -15 }, props: { extraCls: "bi-time-interval", @@ -43,6 +43,7 @@ el: { type: "bi.center", height: this.constants.height, + hgap: this.constants.hgap, items: [{ type: "bi.absolute", items: [{ @@ -52,9 +53,9 @@ } }, this._createCombo(o.value.start)), left: this.constants.offset, - right: this.constants.width / 2, + right: 0, top: 0, - bottom: 0 + bottom: 0, }] }, { type: "bi.absolute", @@ -64,10 +65,10 @@ self.right = _ref; } }, this._createCombo(o.value.end)), - left: this.constants.width / 2, + left: 0, right: this.constants.offset, top: 0, - bottom: 0 + bottom: 0, }] }] },