## 表格示例(slot)

```html
<cf-table
  maxHeight="30vh"
  columns="{{columns}}"
  useTheadSlot="1"
  useTbodySlot="1"
  data="{{data}}"
>
  <view slot="thead" class="table">
    <view class="tr" style="box-sizing: border-box;">
      <view class="th" style="width:100px;box-sizing: border-box;">th</view>
      <view class="th" style="width:200px;box-sizing: border-box;">th</view>
      <view class="th" style="width:300px;box-sizing: border-box;">th</view>
    </view>
  </view>
  <view slot="tbody" class="table">
    <view class="tr" style="box-sizing: border-box;">
      <view class="td" style="width:100px;box-sizing: border-box;">td</view>
      <view class="td" style="width:200px;box-sizing: border-box;">td</view>
      <view class="td" style="width:300px;box-sizing: border-box;">td</view>
    </view>
  </view>
</cf-table>
```
