2026-02-05 16:02:34 +08:00
2026-01-21 17:05:30 +08:00
2026-02-04 17:07:30 +08:00
2026-01-28 17:14:38 +08:00
2026-01-28 17:14:38 +08:00
2026-01-21 17:05:30 +08:00

表格示例(slot)

<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>
Description
小程序
Readme 1.8 MiB
Languages
TypeScript 84.9%
JavaScript 15.1%