Browse Source

Merge pull request #74 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '58839a6105d48e0c45bd987cd40d0086db68e1e3':
  边框
master
windy 8 years ago
parent
commit
2c6ecd1097
  1. 4
      src/base/single/editor/editor.code.js
  2. 2
      src/widget/date/combo.date.js
  3. 2
      src/widget/date/trigger.date.js

4
src/base/single/editor/editor.code.js

@ -138,6 +138,10 @@ BI.CodeEditor = BI.inherit(BI.Single, {
}) })
}, },
focus: function () {
this.editor.focus();
},
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);

2
src/widget/date/combo.date.js

@ -8,7 +8,7 @@
BI.DateCombo = BI.inherit(BI.Widget, { BI.DateCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-combo", baseCls: "bi-date-combo bi-border",
height: 30 height: 30
}); });
}, },

2
src/widget/date/trigger.date.js

@ -9,7 +9,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.DateTrigger.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.DateTrigger.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-date-trigger bi-border", extraCls: "bi-date-trigger",
min: '1900-01-01', //最小日期 min: '1900-01-01', //最小日期
max: '2099-12-31', //最大日期 max: '2099-12-31', //最大日期
height: 25 height: 25

Loading…
Cancel
Save