Browse Source

Pull request #3207: REPORT-83562 feat: 日期控件非本月的日期可选

Merge in VISUAL/fineui from ~TREECAT/fineui:master to master

* commit '7d5a7dd4146ba0ba35513a331e22bb12780db837':
  REPORT-83562 feat: 日期控件非本月的日期可选
es6
treecat-罗群 2 years ago
parent
commit
6c3522d18e
  1. 3
      src/case/calendar/calendar.js
  2. 5
      src/less/case/calendar/calendar.less

3
src/case/calendar/calendar.js

@ -161,7 +161,8 @@ BI.Calendar = BI.inherit(BI.Widget, {
once: false,
forceSelected: true,
value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled,
disabled: td.disabled,
cls: td.lastMonth || td.nextMonth ? "not-current-month-day": "",
lgap: 2,
rgap: 2,
tgap: 4,

5
src/less/case/calendar/calendar.less

@ -0,0 +1,5 @@
@import "../../index.less";
.bi-calendar-date-item.not-current-month-day {
color: @color-bi-text-disabled-button !important;
}
Loading…
Cancel
Save