Browse Source

REPORT-77246 fix: 修复bi.time_combo组件内容和图标重叠的问题

research/test
Kitetop 2 years ago
parent
commit
45b13253b0
  1. 15
      src/widget/time/time.combo.js

15
src/widget/time/time.combo.js

@ -62,11 +62,12 @@
return { return {
type: "bi.htape", type: "bi.htape",
items: [{ items: [{
type: "bi.absolute", type: "bi.horizontal_fill",
cls: "bi-border bi-border-radius",
columnSize: ["fill", this.constants.iconWidth],
items: [{ items: [{
el: { el: {
type: "bi.combo", type: "bi.combo",
cls: "bi-border bi-border-radius",
container: opts.container, container: opts.container,
toggle: false, toggle: false,
isNeedAdjustHeight: opts.isNeedAdjustHeight, isNeedAdjustHeight: opts.isNeedAdjustHeight,
@ -170,16 +171,12 @@
self.combo = _ref; self.combo = _ref;
} }
}, },
top: 0,
left: 0,
right: 0,
bottom: 0
}, { }, {
el: { el: {
type: "bi.icon_button", type: "bi.icon_button",
cls: "bi-trigger-icon-button time-font icon-size-16", cls: "bi-trigger-icon-button time-font",
width: this.constants.iconWidth, width: this.constants.iconWidth,
height: opts.height, height: opts.height - 2,
listeners: [{ listeners: [{
eventName: BI.IconButton.EVENT_CHANGE, eventName: BI.IconButton.EVENT_CHANGE,
action: function () { action: function () {
@ -194,8 +191,6 @@
self.triggerBtn = _ref; self.triggerBtn = _ref;
} }
}, },
top: 0,
right: 0
}] }]
}] }]
}; };

Loading…
Cancel
Save