- 新增 components.d.json 文件,包含所有组件的属性配置 - 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss) - 在 app.json 中添加新的生产流程管理页面路径 - 添加多个SVG图标文件用于菜单项 - 重构 popup-plugin 组件样式和关闭逻辑 - 更新 tab-bar-plugin 的激活状态逻辑 - 优化 search-popup 使用全局样式类 - 在首页添加菜单配置和页面跳转功能 - 调整组件样式细节和间距
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
<view style="display: contents" bindtap="click">
|
|
<slot/>
|
|
|
|
</view>
|
|
|
|
<popup-plugin visible="{{visible}}" bind:close="close" title="{{title}}">
|
|
|
|
<view style="padding: 12px 0;">
|
|
<t-radio-group
|
|
wx:if="{{mode == 'single'}}"
|
|
bind:change="radioChange"
|
|
allow-uncheck
|
|
value="{{val}}"
|
|
borderless
|
|
>
|
|
<t-radio
|
|
wx:for="{{options}}"
|
|
wx:key="index"
|
|
value="{{item.value}}"
|
|
style="padding-bottom: 6px;padding-top: 6px;"
|
|
>{{item.label}}
|
|
</t-radio>
|
|
</t-radio-group>
|
|
<t-checkbox-group
|
|
wx:else
|
|
value="{{val}}"
|
|
bind:change="checkboxChange"
|
|
borderless
|
|
>
|
|
<t-checkbox
|
|
style="padding-bottom: 6px;padding-top: 6px;"
|
|
wx:for="{{options}}"
|
|
icon="rectangle"
|
|
wx:key="index"
|
|
value="{{item.value}}"
|
|
>{{item.label}}
|
|
</t-checkbox>
|
|
</t-checkbox-group>
|
|
</view>
|
|
<view class="footer" wx:if="{{ mode == 'multiple' }}">
|
|
<t-button size="small" theme="primary" bindtap="ok">确定</t-button>
|
|
</view>
|
|
</popup-plugin>
|
|
|