This commit is contained in:
afc163 2017-02-25 00:17:44 +08:00
parent 139d95022c
commit 5076b6045c
2 changed files with 403 additions and 403 deletions

View File

@ -2720,72 +2720,6 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
class="ant-table ant-table-large ant-table-scroll-position-left">
<div
class="ant-table-content">
<div
class="ant-table-fixed-left">
<div
class="ant-table-body-outer">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class="">
<span>
Full Name
</span>
</th>
<th
class="">
<span>
Age
</span>
</th>
</tr>
</thead>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Jim Green
</td>
<td
class="">
40
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-scroll">
<div
@ -2993,6 +2927,72 @@ exports[`test renders ./components/table/demo/fixed-columns.md correctly 1`] = `
</table>
</div>
</div>
<div
class="ant-table-fixed-left">
<div
class="ant-table-body-outer">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class="">
<span>
Full Name
</span>
</th>
<th
class="">
<span>
Age
</span>
</th>
</tr>
</thead>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Jim Green
</td>
<td
class="">
40
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-fixed-right">
<div
@ -3082,197 +3082,6 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
class="ant-table ant-table-large ant-table-fixed-header ant-table-scroll-position-left">
<div
class="ant-table-content">
<div
class="ant-table-fixed-left">
<div
class="ant-table-header">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class="">
<span>
Full Name
</span>
</th>
<th
class="">
<span>
Age
</span>
</th>
</tr>
</thead>
</table>
</div>
<div
class="ant-table-body-outer"
style="height:300px;">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 0
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 1
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 2
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 3
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 4
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 5
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 6
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 7
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 8
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 9
</td>
<td
class="">
32
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-scroll">
<div
@ -3941,6 +3750,197 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</table>
</div>
</div>
<div
class="ant-table-fixed-left">
<div
class="ant-table-header">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class="">
<span>
Full Name
</span>
</th>
<th
class="">
<span>
Age
</span>
</th>
</tr>
</thead>
</table>
</div>
<div
class="ant-table-body-outer"
style="height:300px;">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
<col
style="width:100px;min-width:100px;" />
</colgroup>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 0
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 1
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 2
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 3
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 4
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 5
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 6
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 7
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 8
</td>
<td
class="">
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
Edrward 9
</td>
<td
class="">
32
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-fixed-right">
<div
@ -5163,151 +5163,6 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
class="ant-table ant-table-middle ant-table-bordered ant-table-fixed-header ant-table-scroll-position-left">
<div
class="ant-table-content">
<div
class="ant-table-fixed-left">
<div
class="ant-table-header">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class=""
rowspan="4">
<span>
Name
<i
class="anticon anticon-filter ant-dropdown-trigger"
title="筛选" />
</span>
</th>
</tr>
</thead>
</table>
</div>
<div
class="ant-table-body-outer"
style="height:240px;">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
</colgroup>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-scroll">
<div
@ -5856,6 +5711,151 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</table>
</div>
</div>
<div
class="ant-table-fixed-left">
<div
class="ant-table-header">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
</colgroup>
<thead
class="ant-table-thead">
<tr>
<th
class=""
rowspan="4">
<span>
Name
<i
class="anticon anticon-filter ant-dropdown-trigger"
title="筛选" />
</span>
</th>
</tr>
</thead>
</table>
</div>
<div
class="ant-table-body-outer"
style="height:240px;">
<div
class="ant-table-body-inner">
<table
class="ant-table-fixed">
<colgroup>
<col
style="width:100px;min-width:100px;" />
</colgroup>
<tbody
class="ant-table-tbody">
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0">
<td
class="">
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px;" />
John Brown
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div
class="ant-table-fixed-right">
<div

View File

@ -60,7 +60,7 @@
"rc-slider": "~6.1.0",
"rc-steps": "~2.3.0",
"rc-switch": "~1.4.2",
"rc-table": "~5.2.12",
"rc-table": "~5.2.13",
"rc-tabs": "~7.1.0",
"rc-time-picker": "~2.2.1",
"rc-tooltip": "~3.4.2",