固定列表表格样式修改
This commit is contained in:
parent
314ffff8ec
commit
a51e8f32da
|
|
@ -1,6 +1,13 @@
|
|||
/*
|
||||
* Author: 黎永顺
|
||||
* Description:
|
||||
* Date: 2022-06-21 14:27:29
|
||||
* LastEditTime: 2022-06-21 15:05:12
|
||||
*/
|
||||
import React from "react";
|
||||
import { WeaTable } from "ecCom";
|
||||
import { Spin, Table } from "antd";
|
||||
import "./index.less";
|
||||
|
||||
export default class CustomTable extends React.Component {
|
||||
render() {
|
||||
|
|
@ -13,7 +20,12 @@ export default class CustomTable extends React.Component {
|
|||
</div>
|
||||
: isWeaTable
|
||||
? <WeaTable {...this.props} />
|
||||
: <Table {...this.props} size="middle" className="wea-new-table" />}
|
||||
: <Table
|
||||
{...this.props}
|
||||
size="middle"
|
||||
className="wea-new-table antd-wrap"
|
||||
bordered
|
||||
/>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
.antd-wrap {
|
||||
.ant-table-tbody {
|
||||
tr {
|
||||
td {
|
||||
white-space: nowrap;
|
||||
height: 41px !important;
|
||||
border-bottom: 1px solid #e2e2e2 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue