Browse Source

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

Merge in DEC/fineui from ~KITETOP/fineui:release/11.0 to release/11.0

* commit 'f02eedd0b9abb9e2b846eb8fe63b7121a090a221':
  REPORT-77246 fix: 根据review建议修改代码
  REPORT-77246 fix: 修复bi.time_combo组件内容和图标重叠的问题
master
Kitetop 2 years ago
parent
commit
e5359148ad
  1. 19
      src/widget/time/time.combo.js

19
src/widget/time/time.combo.js

@ -60,13 +60,14 @@
}
};
return {
type: "bi.htape",
items: [{
type: "bi.absolute",
type: "bi.horizontal_fill",
cls: "bi-border bi-border-radius",
columnSize: ["fill", this.constants.iconWidth],
height: opts.height - 2,
width: opts.width - 2,
items: [{
el: {
type: "bi.combo",
cls: "bi-border bi-border-radius",
container: opts.container,
toggle: false,
isNeedAdjustHeight: opts.isNeedAdjustHeight,
@ -170,16 +171,11 @@
self.combo = _ref;
}
},
top: 0,
left: 0,
right: 0,
bottom: 0
}, {
el: {
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,
height: opts.height,
listeners: [{
eventName: BI.IconButton.EVENT_CHANGE,
action: function () {
@ -194,9 +190,6 @@
self.triggerBtn = _ref;
}
},
top: 0,
right: 0
}]
}]
};
},

Loading…
Cancel
Save