zhengw b1ecd88641 feat: 添加组件配置文件并优化页面结构
- 新增 components.d.json 文件,包含所有组件的属性配置
- 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss)
- 在 app.json 中添加新的生产流程管理页面路径
- 添加多个SVG图标文件用于菜单项
- 重构 popup-plugin 组件样式和关闭逻辑
- 更新 tab-bar-plugin 的激活状态逻辑
- 优化 search-popup 使用全局样式类
- 在首页添加菜单配置和页面跳转功能
- 调整组件样式细节和间距
2026-01-14 16:54:47 +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%