固定列表表格样式修改

This commit is contained in:
liyongshun 2022-06-21 15:54:39 +08:00
parent 314ffff8ec
commit a51e8f32da
2 changed files with 24 additions and 1 deletions

View File

@ -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>
);
}

View File

@ -0,0 +1,11 @@
.antd-wrap {
.ant-table-tbody {
tr {
td {
white-space: nowrap;
height: 41px !important;
border-bottom: 1px solid #e2e2e2 !important;
}
}
}
}