feat:过滤行的失去焦点事件还原
This commit is contained in:
parent
ed58d29fcc
commit
fa0daef431
|
@ -83,40 +83,35 @@ var FilterDropDown = function (_Component) {
|
||||||
onSelect: this.onSelectDropdown,
|
onSelect: this.onSelectDropdown,
|
||||||
selectedKeys: this.state.selectValue
|
selectedKeys: this.state.selectValue
|
||||||
},
|
},
|
||||||
_react2["default"].createElement(
|
|
||||||
Item,
|
|
||||||
{ key: '1' },
|
|
||||||
'\u7B49\u4E8E'
|
|
||||||
),
|
|
||||||
_react2["default"].createElement(
|
_react2["default"].createElement(
|
||||||
Item,
|
Item,
|
||||||
{ key: '2' },
|
{ key: '2' },
|
||||||
'\u5305\u542B'
|
'\u5305\u542B'
|
||||||
),
|
),
|
||||||
_react2["default"].createElement(
|
|
||||||
Item,
|
|
||||||
{ key: '3' },
|
|
||||||
'\u4EE5\u7ED3\u5C3E'
|
|
||||||
),
|
|
||||||
_react2["default"].createElement(
|
|
||||||
Item,
|
|
||||||
{ key: '4' },
|
|
||||||
'\u7A7A'
|
|
||||||
),
|
|
||||||
_react2["default"].createElement(
|
|
||||||
Item,
|
|
||||||
{ key: '5' },
|
|
||||||
'\u4E0D\u7B49\u4E8E'
|
|
||||||
),
|
|
||||||
_react2["default"].createElement(
|
_react2["default"].createElement(
|
||||||
Item,
|
Item,
|
||||||
{ key: '6' },
|
{ key: '6' },
|
||||||
'\u4E0D\u5305\u542B'
|
'\u4E0D\u5305\u542B'
|
||||||
),
|
),
|
||||||
|
_react2["default"].createElement(
|
||||||
|
Item,
|
||||||
|
{ key: '1' },
|
||||||
|
'\u7B49\u4E8E'
|
||||||
|
),
|
||||||
|
_react2["default"].createElement(
|
||||||
|
Item,
|
||||||
|
{ key: '5' },
|
||||||
|
'\u4E0D\u7B49\u4E8E'
|
||||||
|
),
|
||||||
_react2["default"].createElement(
|
_react2["default"].createElement(
|
||||||
Item,
|
Item,
|
||||||
{ key: '7' },
|
{ key: '7' },
|
||||||
'\u4EE5\u5F00\u59CB'
|
'\u4EE5\u5F00\u59CB'
|
||||||
|
),
|
||||||
|
_react2["default"].createElement(
|
||||||
|
Item,
|
||||||
|
{ key: '3' },
|
||||||
|
'\u4EE5\u7ED3\u5C3E'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return _react2["default"].createElement(
|
return _react2["default"].createElement(
|
||||||
|
|
|
@ -140,8 +140,8 @@ var FilterType = function (_Component) {
|
||||||
value: _this.state.text,
|
value: _this.state.text,
|
||||||
className: className,
|
className: className,
|
||||||
onChange: _this.changeText,
|
onChange: _this.changeText,
|
||||||
onKeyDown: _this.changeTextCall
|
onKeyDown: _this.changeTextCall,
|
||||||
//onBlur={this.changeTextCallBlur}
|
onBlur: _this.changeTextCallBlur
|
||||||
}),
|
}),
|
||||||
_react2["default"].createElement(_FilterDropDown2["default"], {
|
_react2["default"].createElement(_FilterDropDown2["default"], {
|
||||||
onSelectDropdown: onSelectDropdown,
|
onSelectDropdown: onSelectDropdown,
|
||||||
|
|
|
@ -6765,15 +6765,7 @@ input.u-button[type="submit"] {
|
||||||
float: left; }
|
float: left; }
|
||||||
.u-pagination .data_per_select {
|
.u-pagination .data_per_select {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
float: left;
|
float: left; }
|
||||||
min-width: 120px; }
|
|
||||||
.u-pagination .data_per_select .u-select {
|
|
||||||
width: 50px;
|
|
||||||
margin: 0 6px; }
|
|
||||||
.u-pagination .data_per_select .u-select .u-select-selection {
|
|
||||||
height: 36px; }
|
|
||||||
.u-pagination .data_per_select .u-select .u-select-selection .u-select-selection-rendered {
|
|
||||||
line-height: 36px; }
|
|
||||||
.u-pagination .data_select {
|
.u-pagination .data_select {
|
||||||
outline: none;
|
outline: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
@ -9239,8 +9231,7 @@ ul {
|
||||||
box-shadow: 0 1px 5px #ccc;
|
box-shadow: 0 1px 5px #ccc;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
line-height: 1.5;
|
line-height: 1.5; }
|
||||||
z-index: 1800; }
|
|
||||||
|
|
||||||
.rc-calendar-date-panel,
|
.rc-calendar-date-panel,
|
||||||
.rc-calendar-panel {
|
.rc-calendar-panel {
|
||||||
|
@ -9690,9 +9681,6 @@ ul {
|
||||||
background: #3fc7fa;
|
background: #3fc7fa;
|
||||||
color: #fff; }
|
color: #fff; }
|
||||||
|
|
||||||
.rc-calendar > .rc-calendar-year-panel {
|
|
||||||
position: relative; }
|
|
||||||
|
|
||||||
.rc-calendar-year-panel {
|
.rc-calendar-year-panel {
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -9981,8 +9969,7 @@ ul {
|
||||||
left: 36px; }
|
left: 36px; }
|
||||||
|
|
||||||
.rc-calendar-range .rc-calendar-year-panel,
|
.rc-calendar-range .rc-calendar-year-panel,
|
||||||
.rc-calendar-range .rc-calendar-month-panel,
|
.rc-calendar-range .rc-calendar-month-panel {
|
||||||
.rc-calendar-range .rc-calendar-decade-panel {
|
|
||||||
top: 35px; }
|
top: 35px; }
|
||||||
|
|
||||||
.rc-calendar-range .rc-calendar-month-panel .rc-calendar-year-panel {
|
.rc-calendar-range .rc-calendar-month-panel .rc-calendar-year-panel {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -91,4 +91,4 @@
|
||||||
"react-addons-test-utils": "^15.5.0",
|
"react-addons-test-utils": "^15.5.0",
|
||||||
"react-dom": "^15.5.0"
|
"react-dom": "^15.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ class FilterType extends Component {
|
||||||
className={className}
|
className={className}
|
||||||
onChange={this.changeText}
|
onChange={this.changeText}
|
||||||
onKeyDown={this.changeTextCall}
|
onKeyDown={this.changeTextCall}
|
||||||
//onBlur={this.changeTextCallBlur}
|
onBlur={this.changeTextCallBlur}
|
||||||
/>
|
/>
|
||||||
<FilterDropDown
|
<FilterDropDown
|
||||||
onSelectDropdown={onSelectDropdown}
|
onSelectDropdown={onSelectDropdown}
|
||||||
|
|
Loading…
Reference in New Issue