diff --git a/components/table/index.md b/components/table/index.md index 6b70ce7618..2a6292dbf5 100644 --- a/components/table/index.md +++ b/components/table/index.md @@ -70,6 +70,9 @@ const columns = [{ | indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | Number | | 15 | | onRowClick | 处理行点击事件 | Function(record, index) | | 无 | | useFixedHeader | 是否固定表头 | Boolean | | false | +| bordered | 是否展示外边框和列边框 | Boolean | | false | +| showHeader | 是否显示表头 | Boolean | | true | +| footer | 表格底部自定义渲染函数 | Function(currentPageData) | | | ### Column diff --git a/style/components/table.less b/style/components/table.less index 17821ccf69..2b8a5d947f 100644 --- a/style/components/table.less +++ b/style/components/table.less @@ -58,6 +58,19 @@ background: none; } + tfoot tr { + background: @table-head-background-color; + position: relative; + top: -1px; + &:hover { + background: @table-head-background-color; + } + td { + border-radius: 0 0 @border-radius-base @border-radius-base; + border: 0; + } + } + tr.@{table-prefix-cls}-row-selected { background: #fafafa; }