feat: 添加组件配置文件并优化页面结构

- 新增 components.d.json 文件,包含所有组件的属性配置
- 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss)
- 在 app.json 中添加新的生产流程管理页面路径
- 添加多个SVG图标文件用于菜单项
- 重构 popup-plugin 组件样式和关闭逻辑
- 更新 tab-bar-plugin 的激活状态逻辑
- 优化 search-popup 使用全局样式类
- 在首页添加菜单配置和页面跳转功能
- 调整组件样式细节和间距
This commit is contained in:
zhengw
2026-01-14 16:54:47 +08:00
parent 0d58fc80f4
commit b1ecd88641
58 changed files with 971 additions and 386 deletions

View File

@@ -27,6 +27,7 @@ Component({
*/
data: {
showMore: false,
showMoreBar: false,
},
/**
* 组件的方法列表

View File

@@ -1,4 +1,4 @@
<view class="card_plugin {{className}}" style="border: 1rpx solid #ddd;margin-bottom: 12px;border-radius: 4px;{{style}};{{customStyle}}" bind:tap="click">
<view class="card_plugin {{className}}" style="border: 1rpx solid #ddd;margin-bottom: 12px;border-radius: 4px;{{customStyle}}" bind:tap="click">
<view class="header" style="border-bottom: 1rpx solid #ddd;padding: 8px 12px;font-weight: bold;{{headerStyle || ''}}">
<slot name="header" />
</view>

View File

@@ -9,14 +9,14 @@
display: none;
}
.footer > view {
.footer>view {
border-top: 1rpx solid #ddd;
padding: 8px 0 0 12px;
padding: 16rpx 0 0 24rpx;
display: flex;
width: 100%;
}
.footer > view:empty {
.footer>view:empty {
display: none;
}
@@ -25,8 +25,8 @@
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
height: 26px;
font-size: 0.875em;
height: 52rpx;
}
.show-more:active {