去掉禁用行的 tr>td 的disabled 的css
This commit is contained in:
parent
1952df8cec
commit
87379c8205
4 changed files with 2 additions and 12 deletions
|
@ -19,7 +19,7 @@
|
||||||
naturalIndex: Number, // index of rebuildData
|
naturalIndex: Number, // index of rebuildData
|
||||||
index: Number, // _index of data
|
index: Number, // _index of data
|
||||||
checked: Boolean,
|
checked: Boolean,
|
||||||
disabled:Boolean,
|
disabled: Boolean,
|
||||||
fixed: {
|
fixed: {
|
||||||
type: [Boolean, String],
|
type: [Boolean, String],
|
||||||
default: false
|
default: false
|
||||||
|
|
|
@ -53,8 +53,7 @@
|
||||||
this.rowClsName(_index),
|
this.rowClsName(_index),
|
||||||
{
|
{
|
||||||
[`${this.prefixCls}-row-highlight`]: this.objData[_index] && this.objData[_index]._isHighlight,
|
[`${this.prefixCls}-row-highlight`]: this.objData[_index] && this.objData[_index]._isHighlight,
|
||||||
[`${this.prefixCls}-row-hover`]: this.objData[_index] && this.objData[_index]._isHover,
|
[`${this.prefixCls}-row-hover`]: this.objData[_index] && this.objData[_index]._isHover
|
||||||
[`${this.prefixCls}-row-disabled`]: this.objData[_index] && this.objData[_index]._isDisabled
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
|
@ -209,14 +209,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-row-disabled,
|
|
||||||
tr&-row-disabled,
|
|
||||||
{
|
|
||||||
td{
|
|
||||||
background-color: @table-td-disabled-ng;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&-fixed, &-fixed-right{
|
&-fixed, &-fixed-right{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
@table-td-stripe-bg : #f5f7f9;
|
@table-td-stripe-bg : #f5f7f9;
|
||||||
@table-td-hover-bg : #ebf7ff;
|
@table-td-hover-bg : #ebf7ff;
|
||||||
@table-td-highlight-bg : #ebf7ff;
|
@table-td-highlight-bg : #ebf7ff;
|
||||||
@table-td-disabled-ng : #c3cbd6;
|
|
||||||
@menu-dark-active-bg : #313540;
|
@menu-dark-active-bg : #313540;
|
||||||
@date-picker-cell-hover-bg : #e1f0fe;
|
@date-picker-cell-hover-bg : #e1f0fe;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue