update Table

This commit is contained in:
Aresn 2017-05-27 16:32:51 +08:00
parent af6e81cd64
commit 367a4196a4
3 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<template>
<Table :columns="columns7" :data="data6" @on-expand="expand"></Table>
<Table border :columns="columns7" :data="data6" @on-expand="expand"></Table>
</template>
<script>
import etable from '../components/table.vue';

View file

@ -27,7 +27,7 @@
</td>
</tr>
<tr v-if="rowExpanded(row._index)">
<td :colspan="columns.length">
<td :colspan="columns.length" :class="prefixCls + '-expanded-cell'">
<Expand :row="row" :render="expandRender" :index="row._index"></Expand>
</td>
</tr>

View file

@ -174,6 +174,11 @@
vertical-align: middle;
}
td&-expanded-cell{
padding: 20px 50px;
background: @table-thead-bg;
}
&-stripe &-body,
&-stripe &-fixed-body
{